Fix ldbl-96, ldbl-128ibm atanhl inaccuracy (bug 18046, bug 18047).
[glibc.git] / ChangeLog
blob8e6b5f16f005cef11bb66c81183adf515c29652e
1 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #18046]
4         [BZ #18047]
5         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6         0x1p-56L as threshold for just returning the argument.
7         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8         0x1p-32L as threshold for just returning the argument.
9         * math/auto-libm-test-in: Add more tests of atanh.
10         * math/auto-libm-test-out: Regenerated.
11         * sysdeps/i386/fpu/libm-test-ulps: Update.
12         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16         * string/bcopy.c (bcopy): Call memmove for performance.
18 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20         * string/bzero.c (__bzero): Call memset for performance.
22 2015-02-27  John David Anglin  <dave.anglin@bell.net>
24         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
25         to 00100000.
27 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
29         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
31 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
34         (__kernel_standard): Use CSTR macro when setting exc.name.
35         * sysdeps/ieee754/Makefile [$(subdir) = math]
36         (CFLAGS-k_standard.c): Remove variable.
38         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39         setting p and q from "else if" to "else".
40         (qzero): Likewise.
41         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
42         (qone): Likewise.
43         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
44         (qzerof): Likewise.
45         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
46         (qonef): Likewise.
47         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
48         (qzero): Likewise.
49         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
50         (qone): Likewise.
52         [BZ #18038]
53         [BZ #18039]
54         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
55         return pi/2 for arguments below 0x1p-113L.
56         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
57         return pi/2 for arguments below 0x1p-106L.
58         * math/auto-libm-test-in: Add more tests of acos.
59         * math/auto-libm-test-out: Regenerated.
61         [BZ #16351]
62         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
63         (MO): New macro.
64         (__ieee754_asin): Force underflow exception for results with small
65         absolute value.
66         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
67         (MO): New macro.
68         (__ieee754_asinf): Force underflow exception for results with
69         small absolute value.
70         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
71         (__ieee754_asin): Force underflow exception for results with small
72         absolute value.
73         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
74         (__ieee754_asinf): Force underflow exception for results with
75         small absolute value.
76         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
77         (__ieee754_asinl): Force underflow exception for results with
78         small absolute value.
79         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
80         (__ieee754_asinl): Force underflow exception for results with
81         small absolute value.
82         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
83         (__ieee754_asinl): Force underflow exception for results with
84         small absolute value.
85         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
86         Include <math.h>.
87         * math/auto-libm-test-in: Do not mark underflow exceptions as
88         possibly missing for bug 16351.
89         * math/auto-libm-test-out: Regenerated.
91         [BZ #18030]
92         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
93         of power of 2 down when low part has opposite sign.
94         * math/libm-test.inc (logb_test_data): Add more tests.
96 2015-02-26  Andreas Schwab  <schwab@suse.de>
98         [BZ #18032]
99         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
100         over collating symbol inside a bracket expression.  Minor cleanup.
101         * posix/tst-fnmatch3.c (do_test): Add test case.
103 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
105         [BZ #18029]
106         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
107         Adjust exponent of power of 2 down when low part has opposite
108         sign.
109         * math/libm-test.inc (ilogb_test_data): Add more tests.
111 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
113         [BZ #15969]
114         * locale/findlocale.c (_nl_find_locale): Fix constness error in
115         the previous change.
117         [BZ #15969]
118         * locale/findlocale.c (_nl_find_locale): Retry archive search
119         after alias expansion.
121 2015-02-25  Roland McGrath  <roland@hack.frob.com>
123         * iconv/tst-iconv3.c (main): Converted to ...
124         (do_test): ... this.
125         (TEST_FUNCTION): New macro.
126         Include test-skeleton.c.
128         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
129         (convert): Make function static.
130         (test_unalign): Likewise.  Add const to argument pointee types.
131         (main): Replace with static function do_test.
132         Print "Succeeded." only if RET is zero.
133         (TEST_FUNCTION): New macro.
134         Include test-skeleton.c.
136         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
137         returns a null pointer.
139 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
141         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
142         to __memcpy_ppc only for static builds.
144 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
146         [BZ #18020]
147         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
148         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
149         * math/auto-libm-test-in: Add more tests of asinh.
150         * math/auto-libm-test-out: Regenerated.
151         * sysdeps/i386/fpu/libm-test-ulps: Update.
152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
154 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
156         [BZ #15850]
157         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
158         and ip6_mtuinfo definitions here.
159         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
160         in this define too.  Update comment.
162 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
164         * elf/sprof.c (load_shobj): Tweak error message to match others.
166 2015-02-24  Kevin Easton  <kevin@guarana.org>
168         [BZ #16145] (partial fix)
169         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
170         to reduce lock contention.
172 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
174         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
175         (struct timex): Update time comment.
176         (ADJ_SETOFFSET): Define.
178 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
180         [BZ #18019]
181         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
182         2**56 not 2**28 as threshold for log (2x) formula.
183         * math/auto-libm-test-in: Add more tests of acosh.
184         * math/auto-libm-test-out: Regenerated.
185         * sysdeps/i386/fpu/libm-test-ulps: Update.
186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
188 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
190         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
191         parenthesis around the buf assignment.
192         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
194 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
196         [BZ #16783]
197         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
198         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
199         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
200         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
201         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
202         * math/libm-test.inc (scalb_test_data): Add more tests.
204 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
206         [BZ #17916]
207         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
208         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
210 2015-02-24  Eric Rannaud  <e@nanocritical.com>
212         [BZ #17523]
213         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
214         * io/bits/fcntl2.h (open): Use it.
215         (openat): Likewise.
216         * io/open.c (__libc_open): Likewise.
217         * io/open64.c (__libc_open64): Likewise.
218         * io/open64_2.c (__open64_2): Likewise.
219         * io/open_2.c (__open_2): Likewise.
220         * io/openat.c (__openat): Likewise.
221         * io/openat64.c (__openat64): Likewise.
222         * io/openat64_2.c (__openat64_2): Likewise.
223         * io/openat_2.c (__openat_2): Likewise.
224         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
225         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
226         * sysdeps/posix/open64.c (__libc_open64): Likewise.
227         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
228         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
229         (__open_nocancel): Likewise.
230         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
231         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
232         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
234 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
236         [BZ #14841]
237         * resolv/gethnamaddr.c (getanswer): Skip logging if
238         RES_USE_DNSSEC is set.
239         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
241 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
243         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
245 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
247         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
248         201304L, for Unicode 7.
250 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
252         [BZ #17836]
253         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
254         shared library.  Add gmon-start.os otherwise.
255         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
256         $(objpfx)gmon-start.os if builing shared library.
257         ($(objpfx)g$(static-start-installed-name)): Likewise.
259 2015-02-23  Andreas Schwab  <schwab@suse.de>
261         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
263 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
265         [BZ #17269]
266         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
267         (enlarge_userbuf): Likewise.
269 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
271         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
272         * math/atest-exp.c (TIMEOUT): Adjust to 200.
273         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
274         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
276 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
278         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
279         expression inside statement expression.
281 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
283         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
284         <sysdeps/nptl/lowlevellock.h> and remove macros and
285         functions that are now defined there.
286         (SYS_futex): Remove.
287         (lll_compare_and_swap): Remove.
288         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
290 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
292         [BZ #17999]
293         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
294         instead of scandirat.
295         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
296         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
297         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
298         __scandirat.
299         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
300         (__scandirat): Declare.  Use libc_hidden_proto.
301         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
302         Remove variable.
303         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
305 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
307         [BZ #15319]
308         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
309         (MO): New macro.
310         (__ieee754_atan2): For results with small absolute value, force
311         underflow exception and remove excess range and precision from
312         return value.
313         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
314         (MO): New macro.
315         (__ieee754_atan2f): For results with small absolute value, force
316         underflow exception and remove excess range and precision from
317         return value.
318         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
319         (MO): New macro.
320         (__atan): For results with small absolute value, force underflow
321         exception and remove excess range and precision from return value.
322         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
323         (MO): New macro.
324         (__atanf): For results with small absolute value, force underflow
325         exception and remove excess range and precision from return value.
326         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
327         <math.h>.
328         (__ieee754_atan2): Force underflow exception for results with
329         small absolute value.
330         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
331         <math_private.h>.
332         (atan): Force underflow exception for results with small absolute
333         value.
334         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
335         (__atanf): Force underflow exception for results with small
336         absolute value.
337         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
338         <math.h>.
339         (__atanl): Force underflow exception for results with small
340         absolute value.
341         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
342         (__atanl): Force underflow exception for results with small
343         absolute value.
344         * sysdeps/x86/fpu/bits/mathinline.h
345         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
346         (__ieee754_atan2): Only define inline for long double.
347         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
348         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
349         * math/auto-libm-test-in: Do not mark underflow exceptions as
350         possibly missing for bug 15319.  Add more tests of atan2.
351         * math/auto-libm-test-out: Regenerated.
352         * math/libm-test.inc (casin_test_data): Do not mark underflow
353         exceptions as possibly missing for bug 15319.
354         (casinh_test_data): Likewise.
355         * sysdeps/i386/fpu/libm-test-ulps: Update.
357 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
359         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
360         * sysdeps/mips/bits/endian.h: Fix comments.
362 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
364         [BZ #17996]
365         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
366         (hdestroy_r): Likewise.
367         (hsearch_r): Likewise.
368         (__hcreate_r): Declare and use libc_hidden_proto.
369         (__hdestroy_r): Likewise.
370         (__hsearch_r): Likewise.
371         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
372         (hcreate): Call __hcreate_r instead of hcreate_r.
373         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
374         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
375         as weak alias of __hcreate_r.
376         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
377         __hdestroy_r.
378         (hsearch_r): Rename to __hsearch_r and define as weak alias of
379         __hsearch_r.
380         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
381         Remove variable.
382         (test-xfail-XPG4/search.h/linknamespace): Likewise.
383         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
384         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
385         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
387 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
389         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
390         arena_lock into a single arena_get.
392 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
394         * dl-reloc.c: Inlucde libc-internal.h.
395         (_dl_try_allocate_static_tls): Call ALIGN_UP.
396         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
397         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
398         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
399         (grow_heap): Likewise.
400         * malloc/malloc.c: Include libc-internal.h.
401         (do_check_malloc): Call powerof2.
402         (sysmalloc): Use pagesize. Call ALIGN_UP.
403         (systrim): Use pagesize.
404         (mremap_chunk): Use pagesize. Call ALIGN_UP.
405         (__libc_valloc): Use pagesize.
406         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
408 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
410         [BZ #17991]
411         * include/sys/resource.h (__getrlimit64): Declare.  Use
412         libc_hidden_proto.
413         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
414         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
415         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
416         getrlimit64.
417         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
418         __getrlimit64.
419         [!getrlimit64] (getrlimit64): Define as weak alias of
420         __getrlimit64.  Use libc_hidden_weak.
421         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
422         using __getrlimit64 not __new_getrlimit64.
423         (__GI_getrlimit64): Likewise.
424         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
425         Likewise.
426         (__GI_getrlimit64): Likewise.
427         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
429         (getrlimit): Add __getrlimit64 alias.
430         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
431         Likewise.
432         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
433         Remove variable.
434         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
435         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
437 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
439         * libio/fileops.c: Add missing sys/mman.h
440         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
442 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
444         * manual/math.texi (Errors in Math Functions): Clarify goals
445         regarding inexact and underflow exceptions.
447 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
449         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
450         * sysdeps/mips/memset.S: Ditto.
452 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
454         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
456 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
458         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
459         (__v1longjmp): Remove versioned symbol.
460         (__v1siglongjmp): Remove alias and versioned symbol.
461         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
462         (__v2siglongjmp): Likewise.
464 2015-02-16  Torvald Riegel  <triegel@redhat.com>
466         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
468 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
470         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
472 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
474         [BZ #17987]
475         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
476         zero result does not depend on the sign resulting from
477         subtraction.
478         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
479         Likewise.
480         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
481         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
482         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
483         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
484         * math/libm-test.inc (remquo_test_data): Add more tests.
486 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
488         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
489         Problem reported by J William Piggott.
491 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
493         [BZ #17978]
494         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
495         products 4 * y and 2 * y where those would overflow.
496         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
497         Likewise.
498         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
499         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
500         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
501         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
502         * math/libm-test.inc (remquo_test_data): Add more tests.
504         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
506         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
507         [defined _COMPILING_NEWLIB].
508         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
509         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
511         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
512         [!defined __mips_isa_rev || __mips_isa_rev < 6].
514 2015-02-16  Torvald Riegel  <triegel@redhat.com>
516         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
517         acquired.
519 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
521         [BZ #17792]
522         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
523         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
524         HOST_STACK_END_ADDR): Likewise.
526 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
528         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
529         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
530         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
532 2015-02-13  Roland McGrath  <roland@hack.frob.com>
534         * sysdeps/generic/c++-types.data: New file.
535         * sysdeps/generic/ld.abilist: New file.
536         * sysdeps/generic/libBrokenLocale.abilist: New file.
537         * sysdeps/generic/libanl.abilist: New file.
538         * sysdeps/generic/libc.abilist: New file.
539         * sysdeps/generic/libcrypt.abilist: New file.
540         * sysdeps/generic/libdl.abilist: New file.
541         * sysdeps/generic/libm.abilist: New file.
542         * sysdeps/generic/libpthread.abilist: New file.
543         * sysdeps/generic/libresolv.abilist: New file.
544         * sysdeps/generic/librt.abilist: New file.
546 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
548         [BZ #17569]
549         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
550         Compute absolute value of x as modified by fmod, not original
551         value of x.
552         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
553         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
554         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
555         RUN_TEST_ffI_f1_mod8.
556         (remquo_test_data): Add more tests.
558 2015-02-13  Roland McGrath  <roland@hack.frob.com>
560         * sysdeps/init_array/pt-crti.S: New file.
562 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
564         [BZ #17967]
565         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
566         __builtin_fmaf instead of relying on contraction of a * b + c.
568 2015-02-12  J William Piggott  <elseifthen@gmx.com>
570         [BZ #17969]
571         * manual/time.texi: correct the zoneinfo path in the TZ Variable
572         node.
574 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
576         [BZ #17964]
577         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
578         __builtin_fma instead of relying on contraction of a * b + c.
580 2015-02-12  Roland McGrath  <roland@hack.frob.com>
582         * Makeconfig (ASFLAGS): Add -Werror=undef.
583         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
584         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
585         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
587         * Makeconfig (after-link): New variable.
588         (+link-pie, +link-pie-tests): Use it.
589         (+link-static, +link-static-tests): Likewise.
590         (+link, +link-tests): Likewise.
591         * Makerules (build-module, build-module-asneeded): Likewise.
592         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
593         Likewise.
594         * elf/Makefile ($(objpfx)ld.so): Likewise.
596 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
598         [BZ #17965]
599         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
600         both struct timeval and struct timespec.
602 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
604         [BZ #16560]
605         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
606         and redefine.
607         (__ieee754_exp2l): Do not multiply small fractional parts by
608         M_LN2l.
609         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
610         small argument.
611         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
612         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
613         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
614         * math/auto-libm-test-in: Add more tests of exp2.
615         * math/auto-libm-test-out: Regenerated.
617 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
619         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
620         unaligned path.
622 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
624         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
625         little endian.
627 2015-02-12  Andreas Schwab  <schwab@suse.de>
629         [BZ #15790]
630         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
631         Filter out elision flags from value returned in kind.
632         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
633         * nptl/tst-pthread-mutexattr.c: New file.
635 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
637         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
638         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
639         into gnu-gnu, and update comment to refer to abi-tags.
641 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
643         [BZ #15467]
644         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
645         (__sincos): Set errno to EDOM for infinite argument.
646         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
647         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
648         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
649         (__sincosl): Set errno to EDOM for infinite argument.
650         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
651         (__sincosl): Set errno to EDOM for infinite argument.
652         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
653         (__sincosl): Set errno to EDOM for infinite argument.
654         * math/libm-test.inc (sincos_test_data): Test errno setting.
656 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
658         * string/strxfrm_l.c: Remove #define STRCMP.
659         * string/strcoll_l.c: Remove #define STRLEN.
660         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
661         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
663 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
665         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
666         * sysdeps/mips/mips32/sfp-machine.h: ... here.
667         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
668         * sysdeps/mips/mips64/Makefile: ... here.
669         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
670         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
671         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
672         * sysdeps/mips/mips64/sfp-machine.h: ... here.
673         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
674         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
675         * sysdeps/mips/mips64/n64/Implies: Likewise.
677 2015-02-10  Roland McGrath  <roland@hack.frob.com>
679         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
680         <sys/time.h>, <string.h>, and <errno.h>.
681         (dest_offset, dest_address, value, zero): Remove unused variables.
682         (ldouble): Remove typedef.
683         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
684         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
685         1).  Fix code style.
686         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
687         (check): Function removed.
688         (CHECK): New macro.
689         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
690         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
691         Don't call set_sigaction_FP and remove_sigaction_FP here.
692         (ldouble_test): Just use 'long double' as macro argument, no need for
693         the 'ldouble' typedef.
694         (do_test): Set up SIGFPE handler at start, using plain signal rather
695         than sigaction.  Fix code style.
697 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
699         [BZ #17949]
700         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
701         jump label.
703 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
705         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
706         * sysdeps/powerpc/powerpc32/configure: Regenerated.
708         * sysdeps/powerpc/configure.ac: Remove file.
709         * sysdeps/powerpc/configure: Likewise.
711         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
712         [sysdep_routines]: Remove wordcopy-power6 object.
713         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
714         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
715         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
716         (__memmove_ppc32): Likewise.
717         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
718         file.
719         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
720         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
721         Remove preprocessor.
723         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
724         [sysdep_routines]: Remove wide chars objects.
725         [wcsmbs]: New rule for wide char objects.
727         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
728         Remove wordcopy-power6 obejct.
729         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
730         Use local call for wordcopy and memcpy symbols.
731         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
732         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
733         implementation for loader.
734         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
736         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
737         Remove wordcopy-power7 object.
738         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
739         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
740         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
741         (_wordcopy_fwd_dest_aligned): Likewise.
742         (_wordcopy_bwd_aligned): Likewise.
743         (_wordcopy_bwd_dest_aligned): Likewise.
745         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
746         Rewrite to call __memmove_ppc instead of include default
747         implementation.
749         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
750         Remove wide chars objects.
751         [wcsmbs]: New rule for wide char objects.
753 2015-02-09  Andreas Schwab  <schwab@suse.de>
755         [BZ #17912]
756         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
757         in terms of __O_DIRECTORY.
759 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
761         * time/getdate.c: Include <stdbool.h>.
762         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
763         call PTR_MANGLE.
764         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
765         PTR_DEMANGLE.
767 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
769         Add ersatz _Static_assert on older C hosts
770         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
771         pre-C11 C platform that is not known to support _Static_assert.
773 2015-02-07  Richard Braun  <rbraun@sceen.net>
775         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
776         sigstate.
777         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
779 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
781         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
782         priority against unexistent AIO_PRIO_DELTA_MAX.
783         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
784         instead of int.
785         * misc/fchflags.c (fchflags): Likewise.
786         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
787         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
788         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
789         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
790         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
791         Declare macros.
792         [__USE_MISC] (chflags, fchflags): Declare functions.
793         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
794         EINVAL when nfds is greater than FD_SETSIZE.
795         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
796         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
797         45.
798         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
799         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
800         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
801         MACH_RCV_TIMED_OUT.
802         * hurd/hurd/signal.h (_hurd_self_sigstate,
803         _hurd_critical_section_lock, _hurd_critical_section_unlock):
804         Explicit casts from void *.
805         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
806         * abi-tags: Rename gnu-gnu os into gnu.
808         [BZ #4719]
809         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
810         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
811         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
812         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
813         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
814         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
816         [BZ #17944]
817         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
818         duplicates ADDR->sun_path with sockaddr LEN limitation.
819         * sysdeps/mach/hurd/connect.c: Include <string.h>
820         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
821         * sysdeps/mach/hurd/sendmsg.c: Likewise.
822         * sysdeps/mach/hurd/sendto.c: Likewise.
823         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
824         implementing it by hand.
826 2015-02-06  Roland McGrath  <roland@hack.frob.com>
828         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
829         Use sfi_breg on ldr.
830         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
831         Likewise.
833         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
834         it's defined.
835         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
836         Test SIGSETXID only if it's defined.
838         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
840         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
841         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
843         * nptl/tst-align2.c: Moved ...
844         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
845         * nptl/Makefile (tests): Remove tst-align2.
846         * sysdeps/unix/sysv/linux/Makefile
847         [$(subdir) = nptl] (tests): Add tst-align-clone.
848         * nptl/tst-getpid1.c: Moved ...
849         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
850         * nptl/tst-getpid2.c: Moved ...
851         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
852         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
853         * sysdeps/unix/sysv/linux/Makefile
854         [$(subdir) = nptl] (tests): ... here.
855         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
856         * sysdeps/unix/sysv/linux/Makefile
857         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
859         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
860         Drop trailing \n from perror argument.  Use return rather than exit.
862         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
863         on [SA_SIGINFO].
864         * nptl/tst-cancel21.c (do_test): Likewise.
865         * debug/tst-backtrace6.c: Include <signal.h> first thing.
866         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
867         [!SA_SIGINFO]: Make it a stub test.
869         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
870         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
872         * posix/tst-getlogin.c: Move to ...
873         * login/tst-getlogin.c: ... here.
874         * posix/Makefile (tests): Move tst-getlogin to ...
875         * login/Makefile (tests): ... here.
877         * libio/tst-atime.c (do_test): Move local variables SV and E
878         inside [ST_NOATIME] conditional.
880         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
882         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
884         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
885         (wait_code): New function replaces macro.
886         Call nanosleep rather than syscall.
888         * nptl/pt-system.c: Rewritten.  Put everything under
889         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
890         Use IFUNC to redirect when possible.
892         * nptl/pt-longjmp.c: Rewritten.  Put everything under
893         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
894         Use IFUNC to redirect when possible.
896         * nptl/pt-fork.c: Rewritten.  Put everything under
897         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
898         Use IFUNC to redirect when possible.
899         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
901         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
902         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
903         unconditionally nowadays.  This included the only reference to
904         __vdso_clock_gettime that appears outside libc proper.
905         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
906         Remove version set (containing only __vdso_clock_gettime).
907         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
908         Add attribute_hidden.
909         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
910         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
911         libc_hidden_data_def.
912         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
913         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
915         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
916         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
917         setrpcent, and getrpcport to ...
918         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
919         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
920         getrpcbynumber_r, and getrpcent_r to ...
921         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
922         * inet/getrpcbyname.c: Moved ...
923         * sunrpc/getrpcbyname.c: ... here.
924         * inet/getrpcbyname_r.c: Moved ...
925         * sunrpc/getrpcbyname_r.c: ... here.
926         * inet/getrpcbynumber.c: Moved ...
927         * sunrpc/getrpcbynumber.c: ... here.
928         * inet/getrpcbynumber_r.c: Moved ...
929         * sunrpc/getrpcbynumber_r.c: ... here.
930         * inet/getrpcent.c: Moved ...
931         * sunrpc/getrpcent.c: ... here.
932         * inet/getrpcent_r.c: Moved ...
933         * sunrpc/getrpcent_r.c: ... here.
934         * inet/Makefile (routines): Move those to ...
935         * sunrpc/Makefile (routines): ... here.
936         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
937         the $(subdirs) list.
938         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
939         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
940         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
941         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
943         * elf/Makefile (routines): Include $(all-dl-routines), not just
944         $(dl-routines).
945         (rtld-routines): Likewise.  Use = rather than :=.
946         * sysdeps/aarch64/Makefile [$(subdir) = elf]
947         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
948         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
949         * sysdeps/arm/Makefile: Likewise.
950         * sysdeps/i386/Makefile: Likewise.
951         * sysdeps/x86_64/Makefile: Likewise.
952         * sysdeps/hppa/Makefile [$(subdir) = elf]
953         (sysdep_routines, sysdep-rtld-routines): Don't add
954         $(sysdep-dl-routines) to these.
955         * sysdeps/ia64/Makefile: Likewise.
956         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
957         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
958         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
959         Don't add dl-static to these; sysdep-dl-routines alone is enough.
960         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
961         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
962         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
963         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
964         * sysdeps/powerpc/Makefile [$(subdir) = elf]
965         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
966         these; sysdep-dl-routines alone is enough.
968 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
970         [BZ #17932]
971         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
972         where multiplication results in zero and third argument is finite
973         and nonzero.
974         * math/auto-libm-test-in: Add more tests of fma.
975         * math/auto-libm-test-out: Regenerated.
977         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
978         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
979         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
980         (_FP_CMP_EQ): Likewise.
981         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
983         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
984         extra argument CHECK_NAN.  Redefine as wrapper around
985         _FP_EXTEND_CNAN.
987 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
989         * version.h (RELEASE): Set to "stable".
990         (VERSION): Set to "2.21"
991         * include/features.h (__GLIBC_MINOR__): Set to 21.
993         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
995 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
996             Paul Eggert  <eggert@cs.ucla.edu>
998         [BZ #16618]
999         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1000         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1001         size in bytes. Store needed elements in wpmax. Use needed size
1002         in bytes for extend_alloca.
1004 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
1006         * manual/install.texi: Latest tested versions are GCC 4.9.2,
1007         binutls 2.25, and texinfo 5.2.
1008         * INSTALL: Regenerate.
1009         * sysdeps/nios2/configure: Regenerate.
1010         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1011         * manual/contrib.texi: Update.
1012         * po/be.po: Update.
1013         * po/bg.po: Update.
1014         * po/ca.po: Update.
1015         * po/cs.po: Update.
1016         * po/da.po: Update.
1017         * po/de.po: Update.
1018         * po/el.po: Update.
1019         * po/eo.po: Update.
1020         * po/es.po: Update.
1021         * po/fi.po: Update.
1022         * po/fr.po: Update.
1023         * po/gl.po: Update.
1024         * po/hr.po: Update.
1025         * po/hu.po: Update.
1026         * po/ia.po: Update.
1027         * po/id.po: Update.
1028         * po/it.po: Update.
1029         * po/ja.po: Update.
1030         * po/ko.po: Update.
1031         * po/lt.po: Update.
1032         * po/nb.po: Update.
1033         * po/nl.po: Update.
1034         * po/pl.po: Update.
1035         * po/pt_BR.po: Update.
1036         * po/ru.po: Update.
1037         * po/rw.po: Update.
1038         * po/sk.po: Update.
1039         * po/sl.po: Update.
1040         * po/sv.po: Update.
1041         * po/tr.po: Update.
1042         * po/uk.po: Update.
1043         * po/vi.po: Update.
1044         * po/zh_CN.po: Update.
1045         * po/zh_TW.po: Update.
1047         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1048         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1049         * sysdeps/hppa/dl-irel.h: Remove #warning.
1050         * sysdeps/hppa/entry.h: Provide prototype for
1051         __canonicalize_funcptr_for_compare and cast argument.
1052         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1053         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1054         * sysdeps/hppa/sotruss-lib.c: New file.
1055         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1056         (atomic_compare_and_exchange_val_acq): Use __typeof__.
1057         (atomic_compare_and_exchange_bool_acq): Likewise.
1058         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1059         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1061         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1062         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1063         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1065 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1067         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1068         called function in non-PIC case.
1070 2015-01-31  David S. Miller  <davem@davemloft.net>
1072         * sysdeps/sparc/sparc32/bits/atomic.h
1073         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1074         unlock not after it.
1075         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1076         volatile register usage warnings from the compiler.
1078         * sysdeps/sparc/nptl/sem_init.c: Delete.
1079         * sysdeps/sparc/nptl/sem_post.c: Delete.
1080         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1081         * sysdeps/sparc/nptl/sem_wait.c: Delete.
1082         * sysdeps/sparc/sparc32/sem_init.c: New file.
1083         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1084         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1085         padding explicitly initialized.
1086         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1087         padding for in-semaphore spinlock.
1088         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1089         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1090         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1091         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1092         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1093         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1094         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1095         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1096         version.
1097         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1098         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1100 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1102         [BZ #17801]
1103         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1104         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1105         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1106         New.
1107         (index_AVX_Fast_Unaligned_Load): Likewise.
1108         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1109         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1110         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1111         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1112         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1113         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1114         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1115         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1116         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1118 2015-01-29  Andreas Schwab  <schwab@suse.de>
1120         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1122 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
1124         [BZ #17892]
1125         * nscd/nscd_stat.c (send_stats): Initialize DATA.
1127 2015-01-28  Martin Sebor  <msebor@redhat.com>
1129         * math/README.libm-test: Clarify. Add "How to read the test output."
1131 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
1133         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1134         Define to 0.
1136 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
1138         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1139         (__HAVE_64B_ATOMICS): Define to 0.
1141 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1143         [BZ #17885]
1144         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1145         value to set as new flag.
1147         [BZ #16576]
1148         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1149         and use _ARCH_PPCSQ instead.
1150         (__ieee754_sqrt): Likewise.
1151         (__ieee754_sqrtf): Likewise.
1152         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1153         _ARCH_PPCSQ is defined.
1154         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1155         fsqrt instruction.
1156         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1157         _ARCH_PPCSQ is defined.
1158         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1159         fsqrts instruction.
1160         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1162 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1164         * iconv/loop.c: Suppress array out of bound warning caused by GCC
1165         bug (GCC BZ #64739).
1167 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
1169         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1170         Mark _retval as used.
1171         (lll_futex_wake_unlock): Likewise.
1172         (lll_futex_timed_wait_requeue_pi): Likewise.
1174         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1175         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1176         register variables.
1178         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1179         libm_hidden_def.
1181         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1182         (__bswap_64): Mark as __always_inline.
1184 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
1186         [BZ #15378]
1187         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1188         when none of the search directories exist.
1190 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1192         [BZ #17869]
1193         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1194         power8 in .machine directive.
1196         [BZ #17868]
1197         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1198         set dependency from opd value.
1200 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1203         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1204         architecture.
1206 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1208         [BZ #17870]
1209         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1210         with uint64_t.
1211         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1212         (uint64_t) 1.
1213         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1214         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1215         Replace 1UL with (uint64_t) 1.
1216         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1217         int with uint64_t.
1219 2015-01-23  Roland McGrath  <roland@hack.frob.com>
1221         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1222         (if_freenameindex): Likewise.
1224         * resource/getrlimit64.c: Add missing libc_hidden_def.
1226 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
1228         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1229         __label__.
1230         (_FP_FMA): Likewise.
1231         (_FP_TO_INT_ROUND): Likewise.
1232         (_FP_FROM_INT): Likewise.
1234 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1236         [BZ #16418]
1237         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1238         Make code racy and cancel safe.
1240 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
1242         * sysdeps/arm/unwind-resume.h: Fix copyright year.
1243         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1244         attribution.
1246         * pwd/tst-getpw.c: Rewrite.
1248         [BZ #17702]
1249         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1250         (modules-names): Add moddummy1 and moddummy2.
1251         ($(objpfx)tst-rec-dlopen): Define.
1252         * dlfcn/moddummy1.c: New file.
1253         * dlfcn/moddummy2.c: New file.
1254         * dlfcn/tst-rec-dlopen.c: New file.
1255         * elf/dl-cache.c (_dl_load_cache_lookup):
1256         Return char*. Copy result with alloca/strcpy/strdup.
1257         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1258         returns char*. Free cached. If not saving realname
1259         free cached.
1260         * elf/dl-open.c (dl_open_worker): Do not assert that
1261         _r_debug->r_state is RT_CONSISTENT.
1262         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1263         returns char*.
1265 2015-01-21  Torvald Riegel  <triegel@redhat.com>
1266             Carlos O'Donell  <carlos@redhat.com>
1268         [BZ #12674]
1269         * nptl/sem_waitcommon.c: New file.
1270         * nptl/sem_wait.c: Include sem_waitcommon.c.
1271         (__sem_wait_cleanup, do_futex_wait): Remove.
1272         (__new_sem_wait): Adapt.
1273         (__new_sem_trywait): New function.
1274         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1275         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1276         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1277         (sem_timedwait): Adapt.
1278         * nptl/sem_post.c (__new_sem_post): Adapt.
1279         (futex_wake): New function.
1280         (__old_sem_post): Add release MO fence.
1281         * nptl/sem_open.c (sem_open): Adapt.
1282         * nptl/sem_init.c (__new_sem_init): Adapt.
1283         (futex_private_if_supported): New function.
1284         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1285         (__old_sem_getvalue): Add using previous code.
1286         * sysdeps/nptl/internaltypes.h: Adapt.
1287         * nptl/tst-sem13.c (do_test): Adapt.
1288         * nptl/tst-sem11.c (main): Adapt.
1289         * nptl/sem_trywait.c: Remove.
1290         * nptl/DESIGN-sem.txt: Remove.
1291         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1292         (gen-as-const-headers): Remove structsem.sym.
1293         * nptl/structsem.sym: Remove.
1294         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1295         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1296         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1297         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1298         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1299         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1300         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1301         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1302         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1303         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1304         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1305         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1306         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1307         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1308         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1309         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1310         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1311         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1312         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1313         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1314         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1315         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1317 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
1319         * INSTALL: Regenerated.
1321         * po/libc.pot: Regenerated.
1323 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
1324             Sandra Loosemore  <sandra@codesourcery.com>
1325             Andrew Jenner  <andrew@codesourcery.com>
1326             Joseph Myers  <joseph@codesourcery.com>
1327             Nathan Sidwell  <nathan@codesourcery.com>
1329         * NEWS: Mention new Nios II port.
1330         * sysdeps/nios2/Implies: New file.
1331         * sysdeps/nios2/Makefile: New file.
1332         * sysdeps/nios2/Subdirs: New file.
1333         * sysdeps/nios2/Versions: New file.
1334         * sysdeps/nios2/__longjmp.S: New file.
1335         * sysdeps/nios2/abort-instr.h: New file.
1336         * sysdeps/nios2/backtrace.c: New file.
1337         * sysdeps/nios2/bits/endian.h: New file.
1338         * sysdeps/nios2/bits/fenv.h: New file.
1339         * sysdeps/nios2/bits/link.h: New file.
1340         * sysdeps/nios2/bits/setjmp.h: New file.
1341         * sysdeps/nios2/bsd-_setjmp.S: New file.
1342         * sysdeps/nios2/bsd-setjmp.S: New file.
1343         * sysdeps/nios2/configure: New generated file.
1344         * sysdeps/nios2/configure.ac: New file.
1345         * sysdeps/nios2/crti.S: New file.
1346         * sysdeps/nios2/crtn.S: New file.
1347         * sysdeps/nios2/dl-init.c: New file.
1348         * sysdeps/nios2/dl-machine.h: New file.
1349         * sysdeps/nios2/dl-sysdep.h: New file.
1350         * sysdeps/nios2/dl-tls.h: New file.
1351         * sysdeps/nios2/dl-trampoline.S: New file.
1352         * sysdeps/nios2/gccframe.h: New file.
1353         * sysdeps/nios2/gmp-mparam.h: New file.
1354         * sysdeps/nios2/jmpbuf-offsets.h: New file.
1355         * sysdeps/nios2/jmpbuf-unwind.h: New file.
1356         * sysdeps/nios2/ldsodefs.h: New file.
1357         * sysdeps/nios2/libc-tls.c: New file.
1358         * sysdeps/nios2/libm-test-ulps: New file.
1359         * sysdeps/nios2/machine-gmon.h: New file.
1360         * sysdeps/nios2/math-tests.h: New file.
1361         * sysdeps/nios2/math_private.h: New file.
1362         * sysdeps/nios2/memusage.h: New file.
1363         * sysdeps/nios2/nptl/Makefile: New file.
1364         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1365         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1366         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1367         * sysdeps/nios2/nptl/pthreaddef.h: New file.
1368         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1369         * sysdeps/nios2/nptl/tls.h: New file.
1370         * sysdeps/nios2/preconfigure: New file.
1371         * sysdeps/nios2/s_fma.c: New file.
1372         * sysdeps/nios2/s_fmaf.c: New file.
1373         * sysdeps/nios2/setjmp.S: New file.
1374         * sysdeps/nios2/sfp-machine.h: New file.
1375         * sysdeps/nios2/sotruss-lib.c: New file.
1376         * sysdeps/nios2/stackguard-macros.h: New file.
1377         * sysdeps/nios2/stackinfo.h: New file.
1378         * sysdeps/nios2/start.S: New file.
1379         * sysdeps/nios2/sysdep.h: New file.
1380         * sysdeps/nios2/tls-macros.h: New file.
1381         * sysdeps/nios2/tst-audit.h: New file.
1382         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1383         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1384         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1385         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1386         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1387         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1388         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1389         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1390         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1391         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1392         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1393         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1394         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1395         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1396         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1397         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1398         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1399         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1400         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1401         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1402         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1403         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1404         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1405         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1406         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1407         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1408         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1409         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1410         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1411         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1412         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1413         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1414         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1415         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1416         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1417         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1418         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1419         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1420         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1421         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1422         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1423         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1424         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1425         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1427 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1429         [BZ #17844]
1430         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1431         (getutent): Use weak_alias in non SHARED case
1432         and default_symbol_version in SHARED case.
1433         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1434         (getutent_r, pututline): Likewise.
1435         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1436         (getutid): Likewise.
1437         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1438         (getutid_r): Likewise.
1439         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1440         (getutline): Likewise.
1441         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1442         (getutline_r): Likewise.
1443         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1444         (updwtmp): Likewise.
1446 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1448         [BZ #17848]
1449         * sysdeps/s390/s390-32/memcmp.S
1450         (memcmp_g5): Rename to __memcmp_g5.
1451         * sysdeps/s390/s390-32/memcpy.S
1452         (memcpy_g5): Rename to __memcpy_g5.
1453         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1454         (memcpy_mvcle) Rename to __memcpy_mvcle.
1455         * sysdeps/s390/s390-32/memset.S
1456         (memset_g5): Rename to __memset_g5.
1457         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1458         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1459         and use prefixed functions.
1460         * sysdeps/s390/s390-32/multiarch/memcmp.S
1461         (memcmp_z196): Rename to __memcmp_z196.
1462         (memcmp_z10): Rename to __memcmp_z10.
1463         (memcmp): Set alias to __memcmp_g5.
1464         (bcmp): Set alias to __memcmp_g5.
1465         * sysdeps/s390/s390-32/multiarch/memcpy.S
1466         (memcpy_z196): Rename to __memcpy_z196.
1467         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1468         (memcpy_z10): Rename to __memcpy_z10.
1469         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1470         (memcpy): Set alias to __memcpy_g5.
1471         * sysdeps/s390/s390-32/multiarch/memset.S
1472         (memset_z196): Rename to __memset_z196.
1473         Jump to __memset_mvcle instead of memset_mvcle.
1474         (memset_z10): Rename to __memset_z10.
1475         Jump to __memset_mvcle instead of memset_mvcle.
1476         (memset_mvcle) Rename to __memset_mvcle.
1477         (memset): Set alias to __memset_g5.
1478         * sysdeps/s390/s390-64/memcmp.S
1479         (memcmp_z900): Rename to __memcmp_z900.
1480         * sysdeps/s390/s390-64/memcpy.S
1481         (memcpy_z900): Rename to __memcpy_z900.
1482         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1483         (memcpy_mvcle) Rename to __memcpy_mvcle.
1484         * sysdeps/s390/s390-64/memset.S
1485         (memset_z900): Rename to __memset_z900.
1486         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1487         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1488         and use prefixed functions.
1489         * sysdeps/s390/s390-64/multiarch/memcmp.S
1490         (memcmp_z196): Rename to __memcmp_z196.
1491         (memcmp_z10): Rename to __memcmp_z10.
1492         (memcmp): Set alias to __memcmp_z900.
1493         (bcmp): Set alias to __memcmp_z900.
1494         * sysdeps/s390/s390-64/multiarch/memcpy.S
1495         (memcpy_z196): Rename to __memcpy_z196.
1496         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1497         (memcpy_z10): Rename to __memcpy_z10.
1498         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1499         (memcpy): Set alias to __memcpy_z900.
1500         * sysdeps/s390/s390-64/multiarch/memset.S
1501         (memset_z196): Rename to __memset_z196.
1502         Jump to __memset_mvcle instead of memset_mvcle.
1503         (memset_z10): Rename to __memset_z10.
1504         Jump to __memset_mvcle instead of memset_mvcle.
1505         (memset_mvcle) Rename to __memset_mvcle.
1506         (memset): Set alias to __memset_z900.
1508 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
1510         [BZ #17748]
1511         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1512         __fesetenv instead of fesetenv.
1514 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1516         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1517         macro.
1519 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1521         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1522         regression on LE.
1524         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1525         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1526         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1527         strncmp-power8 object.
1528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1529         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1530         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1531         * NEWS: Update.
1533 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1534             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1536         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1537         trailing byte check.
1539 2015-01-13  David S. Miller  <davem@davemloft.net>
1541         * include/signal.h (__sigreturn): Guard with __USE_MISC.
1543 2015-01-13  Roland McGrath  <roland@hack.frob.com>
1545         * login/logout.c (logout): Use memset rather than bzero.
1546         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1547         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1548         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1549         (_gethtbyaddr): Likewise.
1550         * locale/programs/simple-hash.c (bcopy): Macro removed.
1552 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1554         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1555         Add strcmp-power8 object.
1556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1557         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1558         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1559         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1560         __strcmp_power8 implementation.
1561         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1562         * NEWS: Update.
1564         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1565         Add strncpy-power8 and stpncpy-power8 objects.
1566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1567         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1568         implementations.
1569         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1570         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1571         __stpncpy_power8 implementation.
1572         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1573         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1574         __strncpy_power8 implementation.
1575         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1576         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1577         * NEWS: Update.
1579         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1580         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1581         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1583         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1584         strncat-power8 object.
1585         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1586         __strcat_power8 implementation.
1587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1588         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1589         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1590         optimized strcat for power8.
1592         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1593         strcpy-power8 and stpcpy-power8 objects.
1594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1595         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1596         implementations.
1597         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1598         multiarch stpcpy implementation for POWER8.
1599         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1600         multiarch strcpy implementation for POWER8.
1601         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1602         __strcpy_power8 function.
1603         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1604         stpcpy for POWER8.
1605         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1606         strcpy for POWER8.
1607         * NEWS: Update.
1609 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
1611         [BZ #16009]
1612         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1613         weights and rules. Use do_xfrm_cached if data fits in cache,
1614         do_xfrm otherwise.  Moved former main loop to...
1615         * (do_xfrm_cached): New function.
1616         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1617         find_idx, find_position and stack_push.
1618         * (find_idx): New function.
1619         * (find_position): Likewise.
1620         * localedata/sort-test.sh: Added test run for do_xfrm.
1621         * localedata/xfrm-test.c (main): Added command line option
1622         -nocache to run the test with strings that are too large for
1623         the STRXFRM cache.
1625 2015-01-13  Torvald Riegel  <triegel@redhat.com>
1627         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1628         variable to lll_futex_wake call, not the value itself.
1630 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
1632         [BZ #17803]
1633         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1634         twom64.  Adjust value to 0x1p-64L.
1635         (__scalblnl): Only return standard underflowing result for K <=
1636         -64 not K <= -63; adjust exponent for underflowing result by 64
1637         not 63.
1638         * math/libm-test.inc (scalbn_test_data): Add more tests.
1639         (scalbln_test_data): Likewise.
1641         [BZ #17834]
1642         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1643         0x1p63L.
1644         (__scalblnl): Get new exponent of adjusted subnormal value from ES
1645         not HX.
1646         * math/libm-test.inc (scalbn_test_data): Add more tests.
1647         (scalbln_test_data): Likewise.
1649 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1650             Stefani Seibold  <stefani@seibold.net>
1652         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1653         (sysdep_routines): Add dl-vdso here, ...
1654         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1655         (sysdep_routines): ... not here.
1656         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1657         fallback when vDSO is not presented.
1658         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1659         Define with libc_hidden_proto/libc_hidden_data_def definitions.
1660         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1661         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1662         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1663         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1664         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1665         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1666         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1667         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1668         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
1669         fallback configurable symbol when vDSO is not available.
1670         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1671         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
1672         be able to redefine fallback symbol when vDSO is not available.
1673         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1674         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1676 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1678         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1679         (TLS_INIT_TP): Add tm_capable initialization.
1680         (TLS_DEFINE_INIT_TP): Likewise.
1681         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1682         TCB.
1683         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1684         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1685         calculation.
1686         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1687         transactoion is lock elision is built and TCB tm_capable is set.
1688         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1690         (INTERNAL_SYSCALL_NCS): Likewise.
1691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1692         (INTERNAL_SYSCALL_NCS): Likewise.
1693         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1695         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1696         for powerpc.
1697         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1698         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1699         and remove it for 32 bits case.
1700         [pthread_rwlock_t] (__rwelision): New field for lock elision.
1701         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1702         initialization.
1703         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1704         Disable lock elision with rdlocks if elision is not available.
1706         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1707         (sysdep_routines): Add lock elision objects.
1708         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1709         [pthread_mutex_t] (__spins): Rework to add lock elision field.
1710         [pthread_mutex_t] (__elision): Add field.
1711         [__PTHREAD_SPINS]: Adjust to init lock elision field.
1712         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1713         elision definitions for powerpc.
1714         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1715         implementation of lock elision for powerpc.
1716         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1717         implementation of timed lock elision for powerpc.
1718         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1719         implementation of trylock with lock elision for powerpc.
1720         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1721         implementaion of unlock for lock elision for powerpc.
1722         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1723         automatic enable lock elision for mutexes.
1724         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1725         transaction execution definitions for powerpc.
1726         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1727         definitions.
1728         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1729         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1730         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1731         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1732         * NEWS: Update.
1734 2015-01-09  Roland McGrath  <roland@hack.frob.com>
1736         * sysdeps/posix/shm-directory.c: Use <> rather than ""
1737         for #include of <shm-directory.h>.
1739 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
1741         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1742         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1744 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
1746         [BZ #17791]
1747         * NEWS: Mention bug fix.
1748         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1749         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1750         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1752 2015-01-09  Torvald Riegel <triegel@redhat.com>
1754         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1756 2015-01-09  Torvald Riegel <triegel@redhat.com>
1758         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1760 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1762         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1763         pointer and cast to uintptr_t.
1765 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1767         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1768         removed.
1769         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1771 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1773         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1774         of 0.
1776 2015-01-08  Roland McGrath  <roland@hack.frob.com>
1778         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1779         <nptl/pthreadP.h> instead.
1780         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1782         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1783         already defined.
1784         [__SIGRTMIN] (init): Function removed.
1785         [__SIGRTMIN] (initialized): Variable removed.
1786         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1787         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1788         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1789         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1790         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1791         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1792         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1793         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1794         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1795         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1796         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1797         * sysdeps/nptl/allocrtsig.c: New file.
1798         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1799         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1800         * sysdeps/generic/testrtsig.h: File removed.
1802         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1803         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1805         * nptl/nptl-init.c (pthread_functions): Conditionalize
1806         .ptr__nptl_setxid initialization on [SIGSETXID].
1808         * sysdeps/nptl/sys/procfs.h: New file.
1809         * nptl_db/Makefile (headers): Add it.
1810         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1812         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1813         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1814         * nptl/pthread_attr_setaffinity.c: Include it.
1815         * nptl/pthread_setattr_default_np.c: Likewise.
1816         * nptl/check-cpuset.h: New file.
1818 2015-01-08  Richard Henderson  <rth@redhat.com>
1820         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1821         (CFLAGS-tst-execstack-prog.c): Likewise.
1822         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1824 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
1825             Sandra Loosemore  <sandra@codesourcery.com>
1826             Andrew Jenner  <andrew@codesourcery.com>
1827             Joseph Myers  <joseph@codesourcery.com>
1828             Nathan Sidwell  <nathan@codesourcery.com>
1830         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1831         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1832         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1833         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1834         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1835         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1836         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1837         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1838         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1839         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1840         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1841         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1842         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1843         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1844         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1845         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1846         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1848 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1850         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1851         timespec struct member in syscall macro.
1852         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1853         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1854         first timeval struct member in syscall macro.
1855         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1857 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
1859         [BZ #17748]
1860         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1861         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1862         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1863         __feupdateenv and define as weak alias of __feupdateenv.  Use
1864         libm_hidden_weak.
1865         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1866         libm_hidden_def.
1867         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1868         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
1869         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1870         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1871         libm_hidden_def.
1872         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1873         __feupdateenv and define as weak alias of __feupdateenv.  Use
1874         libm_hidden_weak.
1875         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1876         libm_hidden_def.
1877         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1878         __feupdateenv and define as weak alias of __feupdateenv.  Use
1879         libm_hidden_weak.
1880         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1881         libm_hidden_def.
1882         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1883         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1884         (__feupdateenv): Likewise.
1885         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1886         __feupdateenv and define as weak alias of __feupdateenv.  Use
1887         libm_hidden_weak.
1888         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1889         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1890         libm_hidden_def.
1891         * sysdeps/tile/math_private.h (__feupdateenv): New inline
1892         function.
1893         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1894         libm_hidden_def.
1895         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1896         __feupdateenv instead of feupdateenv.
1897         (default_libc_feupdateenv_test): Likewise.
1898         (libc_feresetround_ctx): Likewise.
1900 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1902         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1903         prototype.
1905 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
1907         * posix/regcomp.c (parse_bracket_exp): Initialize type to
1908         COLL_SYM in a couple of places to avoid uninitialized variable
1909         wanings on tilegx gcc 4.8.2.
1911 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1913         * sysdeps/aarch64/strcpy.S: New file.
1914         * sysdeps/aarch64/stpcpy.S: New file.
1915         * NEWS: Updated.
1917 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1919         * sysdeps/aarch64/strrchr.S: New file.
1920         * NEWS: Updated.
1922 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
1924         [BZ #17658]
1925         * stdlib/setenv.c: Fix memory leak when setting large,
1926         duplicate string.
1928 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
1930         [BZ #17273]
1931         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1932         and tabs from buffer before parsing fstab entry.
1933         * misc/tst-mntent.c (main): Add test for mount entry with
1934         trailing spaces and tabs.
1936 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
1938         [BZ #17748]
1939         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
1940         * math/fesetround.c (fesetround): Rename to __fesetround and
1941         define as weak alias of __fesetround.  Use libm_hidden_weak.
1942         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1943         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1944         * sysdeps/arm/fesetround.c (fesetround): Likewise.
1945         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1946         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1947         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1948         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1949         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1950         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1951         __fesetround_inline.
1952         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1953         __fesetround_inline instead of __fesetround.
1954         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1955         __fesetround and define as weak alias of __fesetround.  Use
1956         libm_hidden_weak.  Call __fesetround_inline instead of
1957         __fesetround.
1958         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1959         __fesetround and define as weak alias of __fesetround.  Use
1960         libm_hidden_weak.
1961         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1962         Likewise.
1963         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1964         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1965         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1966         * sysdeps/tile/math_private.h (__fesetround): New inline function.
1967         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1968         __fesetround and define as weak alias of __fesetround.  Use
1969         libm_hidden_weak.
1970         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1971         __fesetround instead of fesetround.
1972         (default_libc_feholdexcept_setround): Likewise.
1973         (libc_feholdsetround_ctx): Likewise.
1974         (libc_feholdsetround_noex_ctx): Likewise.
1976         [BZ #17748]
1977         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1978         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1979         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1980         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1981         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1982         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1983         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1984         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1985         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1986         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1987         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1988         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1989         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1990         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1991         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1992         libm_hidden_def.
1993         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1994         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1995         Likewise.
1996         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1997         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1998         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1999         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2000         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2001         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2002         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2003         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2004         __fesetenv instead of fesetenv.
2005         (libc_feresetround_noex_ctx): Likewise.
2006         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2007         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2008         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2009         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2010         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2011         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2012         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2013         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2014         (__feupdateenv): Likewise.
2015         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2016         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2017         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2018         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2020 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2022         [BZ #17806]
2023         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2024         addresses have been freed.
2026 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2028         * resolv/res_init.c (__res_vinit): Improve comments about nserv
2029         and nservall.
2031 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
2033         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2034         Clean up check_pf allocation pattern. addresses
2036 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2038         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2039         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2040         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2041         * nptl/pthread_exit.c (__pthread_exit): Likewise.
2042         * nptl/pthread_join.c (pthread_join): Likewise.
2043         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2044         * sysdeps/posix/waitid.c (__waitid): Likewise.
2045         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2046         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2047         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2048         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2049         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2050         Likewise.
2051         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2052         (__libc_pread64): Likewise.
2053         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2054         (__libc_pwrite): Likewise.
2055         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2056         (__libc_pwrite64): Likewsie.
2057         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2058         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2059         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2060         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2061         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2062         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2063         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2065         Likewise.
2066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2067         (__libc_pread64): Likewise.
2068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2069         Likewise.
2070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2071         (__libc_pwrite64): Likewise.
2072         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2073         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2074         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2075         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2076         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2077         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2078         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2079         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2080         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2081         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2082         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2083         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2084         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2085         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2086         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2087         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2088         Likewise.
2090 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2092         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2093         (CFLAGS-test-double.c): Likewise.
2094         (CFLAGS-test-ldouble.c): Likewise.
2095         (CPPFLAGS-test-ifloat.c): Likewise.
2096         (CPPFLAGS-test-idouble.c): Likewise.
2097         (CPPFLAGS-test-ildoubl.c): Likewise.
2098         (CFLAGS-test-test-fenv.c): Remove variable.
2099         (CFLAGS-test-misc.c): Likewise.
2101 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2103         [BZ #17797]
2104         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2105         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2106         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2107         CLOCKS_PER_SEC == 1000000.
2108         * time/clocktest.c (main): Replace %ld with %jd and cast to
2109         intmax_t.
2111 2015-01-05  Roland McGrath  <roland@hack.frob.com>
2113         * sysdeps/generic/unwind-resume.h: New file.
2114         * sysdeps/gnu/unwind-resume.c: Include it.
2115         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2116         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2117         argument list.
2118         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2119         global rather than static.
2120         (_Unwind_Resume): Update user.
2121         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2122         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
2123         rather than static.  Add __attribute__ ((cold)).
2124         (_Unwind_Resume, __gcc_personality_v0): Update callers.
2125         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2126         * sysdeps/arm/arm-unwind-resume.S: New file.
2127         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2128         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2129         * sysdeps/arm/Makefile [$(subdir) = csu]
2130         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2131         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2132         Add rt-arm-unwind-resume.
2133         [$(subdir) = nptl]
2134         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2135         Add pt-arm-unwind-resume.
2136         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2137         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2139 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2141         [BZ #17748]
2142         * include/fenv.h (__feholdexcept): Declare.  Use
2143         libm_hidden_proto.
2144         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2145         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
2146         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2147         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2148         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2149         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2150         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2151         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2152         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2153         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2154         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2155         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2156         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2157         (feholdexcept): Likewise.
2158         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2159         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2160         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2161         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2162         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2163         __feholdexcept instead of feholdexcept.
2164         (default_libc_feholdexcept_setround): Likewise.
2166 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2168         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2169         to avoid using stl/str to align destination.
2171 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2173         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2175 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2177         [BZ #17796]
2178         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2179         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2180         Define as weak alias not strong alias.
2182 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2184         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2185         bltzal with addiupc.
2186         (RTLD_START): Ditto.
2188 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
2190         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2191         for __vdso_* functions in declarations.
2192         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2193         definitions.
2194         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2195         INTERNAL_VSYSCALL): Use struct return types to check for error.
2197         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2198         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2199         function with cast from llround().
2200         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2201         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2202         Define.
2204 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2206         [BZ #17793]
2207         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2208         Define as weak alias not strong alias.
2210         [BZ #17635]
2211         * ctype/ctype-c99.c: New file.  isblank implementation moved from
2212         ...
2213         * ctype/ctype-extn.c: ... here.
2214         (__isblank_l): Move to ...
2215         * ctype/ctype-c99_l.c: ... here.  New file.
2216         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2217         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2218         Remove variable.
2219         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2220         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2221         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2222         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2223         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2225         [BZ #17777]
2226         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2227         (posix_fadvise64): Define as weak alias not strong alias.
2228         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2229         (posix_fallocate64): Likewise.
2230         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2231         Remove variable.
2232         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2233         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2234         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2235         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2236         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2238 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
2240         [BZ #16191]
2241         * NEWS: Mention bug fix.
2242         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2243         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2244         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2245         (HOST_STACK_END_ADDR): Likewise.
2247 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
2249         [BZ #17748]
2250         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
2251         * math/fegetround.c (fegetround): Rename to __fegetround and
2252         define as weak alias of __fegetround.  Use libm_hidden_weak.
2253         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2254         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2255         * sysdeps/arm/fegetround.c (fegetround): Likewise.
2256         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2257         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2258         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2259         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2260         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2261         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2262         Undefine after rather than before function definition; use
2263         parentheses around function name in definition.
2264         (__fegetround): Also undefine macro after function definition.
2265         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2266         __fegetround and define as weak alias of __fegetround.  Use
2267         libm_hidden_weak.  Do not undefine as macro.
2268         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2269         Likewise.
2270         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2271         __fegetround and define as weak alias of __fegetround.  Use
2272         libm_hidden_weak.
2273         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2274         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2275         * sysdeps/tile/math_private.h (__fegetround): New inline function.
2276         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2277         __fegetround and define as weak alias of __fegetround.  Use
2278         libm_hidden_weak.
2279         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2280         __fegetround instead of fegetround.
2282         [BZ #17782]
2283         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2284         Condition macro definition on [__USE_MISC].
2286         [BZ #17781]
2287         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2288         (struct sigaction): Change type of sa_flags field to int.
2290         [BZ #17780]
2291         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2292         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2293         __glibc_reserved0.
2295         * nptl/version.c (banner): Use single year in copyright notice.
2297         * NEWS: Update copyright dates.
2298         * catgets/gencat.c (print_version): Likewise.
2299         * csu/version.c (banner): Likewise.
2300         * debug/catchsegv.sh: Likewise.
2301         * debug/pcprofiledump.c (print_version): Likewise.
2302         * debug/xtrace.sh (do_version): Likewise.
2303         * elf/ldconfig.c (print_version): Likewise.
2304         * elf/ldd.bash.in: Likewise.
2305         * elf/pldd.c (print_version): Likewise.
2306         * elf/sotruss.sh: Likewise.
2307         * elf/sprof.c (print_version): Likewise.
2308         * iconv/iconv_prog.c (print_version): Likewise.
2309         * iconv/iconvconfig.c (print_version): Likewise.
2310         * locale/programs/locale.c (print_version): Likewise.
2311         * locale/programs/localedef.c (print_version): Likewise.
2312         * login/programs/pt_chown.c (print_version): Likewise.
2313         * malloc/memusage.sh (do_version): Likewise.
2314         * malloc/memusagestat.c (print_version): Likewise.
2315         * malloc/mtrace.pl: Likewise.
2316         * manual/libc.texinfo: Likewise.
2317         * nptl/version.c (banner): Likewise.
2318         * nscd/nscd.c (print_version): Likewise.
2319         * nss/getent.c (print_version): Likewise.
2320         * nss/makedb.c (print_version): Likewise.
2321         * posix/getconf.c (main): Likewise.
2322         * scripts/test-installation.pl: Likewise.
2323         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2325 2015-01-02  Will Newton  <will.newton@linaro.org>
2327         * sysdeps/arm/armv7/configure: Removed.
2328         * sysdeps/arm/armv7/configure.ac: Likewise.
2330 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
2332         * All files with FSF copyright notices: Update copyright dates
2333         using scripts/update-copyrights.
2334         * intl/plural.c: Regenerated.
2335         * locale/programs/charmap-kw.h: Likewise.
2336         * locale/programs/locfile-kw.h: Likewise.
2338 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2340         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2342 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
2344         [BZ #17748]
2345         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2346         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2347         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2348         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
2349         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2350         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2351         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2352         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2353         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2354         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2355         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2356         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2357         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2358         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2359         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2360         libm_hidden_def.
2361         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2362         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2363         Likewise.
2364         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2365         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2366         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2367         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2368         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2369         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2370         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
2371         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2372         __fegetenv instead of fegetenv.
2373         (libc_feholdsetround_noex_ctx): Likewise.
2375 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2377         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2378         (Elf_MIPS_ABIFlags_v0): New structure.
2379         (EF_MIPS_FP64): Define.
2380         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2381         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2382         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2383         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2384         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2385         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2386         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2387         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2388         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2389         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2390         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2391         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2392         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2393         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2394         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2395         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2396         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2397         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2398         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2399         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2400         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2401         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2402         field.
2403         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2404         EF_MIPS_FP64.
2405         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2406         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2407         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2408         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2409         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2410         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2411         * sysdeps/mips/tst-abi-interlink.c: Likewise.
2412         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2413         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2414         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2415         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2416         record the current FP ABI extension.
2417         (mips-mode-switch): Define to show if kernel headers support mode
2418         switching.
2419         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2420         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2421         supported SYSV ABI version to 3.
2422         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2423         feature.
2425 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2426             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2428         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2429         path.
2430         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2432 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
2434         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2435         __fegetround and redefine to call __fegetround.  Remove condition
2436         on [!__NO_MATH_INLINES].
2437         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2438         function.
2439         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2440         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2441         Remove macro.
2442         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2443         instead of <fenv_libc.h>.
2444         (__llrintl): Call fegetround instead of __fegetround.
2445         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2446         instead of <fenv_libc.h>.
2447         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2448         (__lrintl): Call fegetround instead of __fegetround.
2449         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2450         instead of <fenv_libc.h>.
2451         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2452         (__rintl): Call fegetround instead of __fegetround.
2454 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2456         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2457         arrays.
2459 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2461         [BZ #17775]
2462         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2463         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2464         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2466 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2468         * sysdeps/i386/tls-macros.h: Include <features.h>.
2469         (TLS_LE): Use non-PIC version for GCC >= 5.0.
2470         (TLS_IE): Likewise.
2471         (TLS_LD): Likewise.
2472         (TLS_GD): Likewise.
2473         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2474         define for GCC >= 5.0.
2476 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
2478         * math/test-fenv.c (test_single_exception, set_single_exc,
2479         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2480         feexcp_mask_test, feenable_test, fe_single_test): Add
2481         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2482         case where they are not used.
2483         * math/libm-test.inc: Likewise.
2484         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2485         unused in the absence of FP rounding/exception support.
2486         * stdio-common/tst-printf-round.c: Likewise.
2487         * stdlib/tst-strtod-round.c: Likewise.
2488         * stdlib/tst-strtod-underflow.c: Likewise.
2490 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
2492         [BZ #17723]
2493         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2494         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2495         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2496         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2497         libm_hidden_weak.
2498         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2499         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2500         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2501         libm_hidden_def.
2502         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2503         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2504         libm_hidden_weak.
2505         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2506         Likewise.
2507         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2508         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2509         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2510         libm_hidden_weak.
2511         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2512         libm_hidden_def.
2513         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2514         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2515         (__feraiseexcept): Likewise.
2516         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2517         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2518         libm_hidden_weak.
2519         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2520         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2521         libm_hidden_def.
2522         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2523         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2524         Use libm_hidden_def.
2525         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2526         libm_hidden_def.
2527         (feraiseexcept): Define as weak not strong alias.  Use
2528         libm_hidden_weak.
2529         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2530         New inline function.  Factored out of ...
2531         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
2532         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2533         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2534         feraiseexcept.
2535         * math/w_acos.c (__acos): Likewise.
2536         * math/w_asin.c (__asin): Likewise.
2537         * math/w_ilogb.c (__ilogb): Likewise.
2538         * math/w_j0.c (y0): Likewise.
2539         * math/w_j1.c (y1): Likewise.
2540         * math/w_jn.c (yn): Likewise.
2541         * math/w_log.c (__log): Likewise.
2542         * math/w_log10.c (__log10): Likewise.
2543         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2544         * sysdeps/aarch64/fpu/math_private.h
2545         (libc_feupdateenv_test_aarch64): Likewise.
2546         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2547         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2548         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2549         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2550         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2551         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2552         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2553         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2554         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2555         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2557 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2559         [BZ #17732]
2560         * io/test-utime.c (main): Replace %ld with %jd and cast to
2561         intmax_t.
2562         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2563         * nptl/tst-mutex5.c: Include <stdint.h>.
2564         (do_test): Replace %ld with %jd and cast to intmax_t.
2565         * posix/tst-regex.c (run_test): Likewise.
2566         (run_test_backwards): Likewise.
2567         * rt/tst-clock.c: Include <stdint.h>.
2568         (clock_test): Replace %ld with %jd and cast to intmax_t.
2569         * rt/tst-cpuclock1.c: Include <stdint.h>.
2570         (do_test): Replace %lu with %ju and cast to uintmax_t.
2571         * rt/tst-cpuclock2.c: Include <stdint.h>.
2572         (do_test): Replace %lu with %ju and cast to uintmax_t.
2573         * rt/tst-mqueue1.c: Include <stdint.h>.
2574         (check_attrs): Replace %ld with %jd and cast to intmax_t.
2575         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2576         intmax_t.
2577         * rt/tst-mqueue4.c (do_test): Likewise.
2578         * rt/tst-timer4.c: Include <stdint.h>.
2579         (check_ts): Replace %ld with %jd and cast to intmax_t.
2580         (do_test): Likewise.
2581         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2582         and cast to intmax_t.
2583         * sysdeps/pthread/tst-timer.c (main): Likewise.
2584         * time/clocktest.c (main): Likewise.
2585         * time/tst-posixtz.c (do_test): Likewise.
2586         * timezone/tst-timezone.c (main): Likewise.
2588 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2589             H.J. Lu  <hongjiu.lu@intel.com>
2591         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2592         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2593         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2594         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2595         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2596         version if bit_Fast_Unaligned_Load is set.
2597         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2598         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2599         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2600         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2601         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2602         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2603         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2604         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2605         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2606         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2607         to 4.
2608         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2609         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2610         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2611         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2613 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
2615         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2616         instead of #if to avoid a Wundef warning.
2617         * stdlib/tst-limits.c (do_test): Likewise.
2619         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2620         parallel other exception macros.
2621         (fegetenv): Convert from macro to extern inline so that it applies
2622         retroactively to inline functions already seen by the compiler.
2623         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2625         * posix/Makefile (before-compile): Use $(objpfx) for
2626         posix-conf-vars-def.h.
2628 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2630         * posix/getconf.c (main): Use size_t for type of I.
2631         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2632         NSPEC.
2634         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2635         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2636         * posix/posix-envs.def: Likewise.
2637         * sysdeps/posix/sysconf.c: Likewise.
2638         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2639         (specs): Remove array.
2640         * scripts/gen-posix-conf-vars.awk: Support generation of specs
2641         array.
2643         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2644         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2645         (__sysconf): Use CONF_IS_* macros.
2647         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2648         ($(objpfx)posix-conf-vars-def.h): New target.
2649         * posix/posix-conf-vars.list: New file.
2650         * posix/posix-conf-vars.h: New file.
2651         * posix/confstr.c: Include posix-conf-vars.h.
2652         (confstr): Use CONF_IS_* macros.
2653         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
2654         CONF_IS_* macros.
2655         * scripts/gen-posix-conf-vars.awk: New file.
2657 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
2659         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2660         fegetround): Add no-op macros to avoid linknamespace issues.
2662         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2663         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2665         * sysdeps/unix/sysv/linux/tile/sysdep.h
2666         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2667         assembly-specific section to avoid a redefinition warning.
2669         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2670         long before casting to pointer to avoid a cast warning.
2672 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
2674         * sysdeps/tile/tilegx/Implies: New file.
2676 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
2678         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2680 2014-12-23  Florian Weimer  <fweimer@redhat.com>
2682         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2684 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2686         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2687         not define.
2688         * sysdeps/unix/sysv/linux/utimes.c: Do not include
2689         <kernel-features.h>.
2690         (__utimes) [__NR_utimes]: Make code unconditional.
2691         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2692         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2693         (__ASSUME_UTIMES): Do not undefine.
2694         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2695         (__ASSUME_UTIMES): Likewise.
2696         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2697         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2698         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2699         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2701 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2703         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2705 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
2707         [BZ #17747]
2708         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2709         alias to weak alias for j0l, y0l.
2710         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2711         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2713         [BZ #17746]
2714         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2715         conversion.
2717 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2719         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2720         to zero if not already defined.
2722 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2724         [BZ #17724]
2725         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2726         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
2727         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
2728         (char *) casts added.
2729         * sysdeps/ieee754/k_standardf.c: New file.
2730         * sysdeps/ieee754/k_standardl.c: Likewise.
2731         * math/Makefile (libm-support): Remove k_standard.
2732         (libm-calls): Add k_standard.
2734 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2736         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2737         Optimize to avoid an unnecessary FPCR read.
2739 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2741         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2742         Optimize to reduce FPCR/FPSR accesses.
2744 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2746         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2747         Call libc_fetestexcept_aarch64.
2749 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2751         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2752         Call libc_fesetround_aarch64.
2754 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2756         [BZ #17733]
2757         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2758         (__bind): Do not define as weak alias.
2759         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2760         define.
2761         (__getsockname): Do not define as weak alias.
2763 2014-12-22  Will Newton  <will.newton@linaro.org>
2765         * manual/install.texi: Document that we require bison 2.7
2766         or above.
2767         * INSTALL: Regenerate.
2768         * configure.ac: Use AC_CHECK_PROG_VER instead of
2769         AC_PATH_PROG when checking for bison and check for
2770         version 2.7 or above.
2771         * configure: Regenerate.
2773 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
2775         [BZ #17745]
2776         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2777         * sysdeps/tile/ffsll.c (ffsll): To here.
2779         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2781 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2783         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2784         if not defined.
2785         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2786         definition.
2787         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2788         hidden ___tls_get_addr.
2789         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2790         hidden __tls_get_addr.
2791         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2792         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2793         Likewise.
2795 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
2797         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2798         _dl_init call.
2800 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2802         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2803         from "call _dl_init@PLT".
2804         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2806 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
2808         * manual/search.texi: (Array Sort Function): Clarify stable sorting
2809         guarantees.
2811 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
2813         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2815 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2817         [BZ #17744]
2818         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2819         strnlen.
2821 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2823         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2824         of multu on MIPSr6.
2825         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2826         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2827         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2828         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2829         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2831 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2833         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2834         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2835         (PTR_SUBU): Use subu for mips32r6/mips64r6.
2836         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2837         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2838         mips32r6/mips64r6.
2839         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2841 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
2843         * string/strncat.c (STRNCAT): Simplify implementation.
2845 2014-12-19  David S. Miller  <davem@davemloft.net>
2847         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2848         access the quad as both a long double and as a series of 4 words.
2850         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2851         link_map->l_info array access.
2853 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2855         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2857         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2858         * math/atest-exp2.c (TIMEOUT): Likewise.
2859         * math/atest-sincos.c (TIMEOUT): Likewise.
2861 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2863         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2864         -Wno-error with -fno-builtin-lround.
2866 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2868         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2869         Contains futex constants and functions moved over from ...
2870         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
2871         <lowlevellock-futex.h>.
2872         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2873         (lll_timedwait_tid): Add comments and parentheses around macro
2874         arguments.
2876 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2878         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2879         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
2880         (__lll_private_flag): Remove.
2881         (lll_futex_wait): Likewise.
2882         (lll_futex_timed_wait): Likewise.
2883         (lll_futex_wake): Likewise.
2884         (lll_futex_requeue): Likewise.
2885         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2886         (__lll_timedwait_tid): Spell out argument names.
2887         (lll_timedwait_tid): Add comments and parentheses around macro
2888         arguments.
2889         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2890         LLL_SHARED and LLL_PRIVATE usable from assembly code.
2892 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2894         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2895         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2896         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2897         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2898         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2899         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2900         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2901         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2902         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2903         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2904         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2905         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2906         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2907         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2908         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2909         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2910         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2911         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2912         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2914 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2916         * sysdeps/x86_64/x32/Makefile: New file.
2918 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2920         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2921         1L with (mp_limb_t) 1.
2923 2014-12-17  Roland McGrath  <roland@hack.frob.com>
2925         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2926         * nptl/libc_pthread_init.c: ... here.
2927         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2928         * nptl/register-atfork.c: ... here.
2930         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2931         Use pthread_sigmask rather than INTERNAL_SYSCALL.
2932         Use assert_perror to check its return value.
2933         (__gai_create_helper_thread): Likewise.
2935         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2937         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2939 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2941         [BZ #17725]
2942         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2943         __profil_counter.
2944         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2945         Likewise.
2946         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2947         Likewise.
2948         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2949         Likewise.
2950         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2951         (profil_counter): Likewise.
2952         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2953         (profil_counter): Likewise.
2954         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2955         Likewise.
2956         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2957         Likewise.
2958         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2959         (profil_counter): Likewise.
2960         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2961         Likewise.
2962         [!__profil_counter] (profil_counter): Define as weak alias of
2963         __profil_counter.
2964         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2965         (profil_counter): Rename to __profil_counter.
2966         [!__profil_counter] (profil_counter): Define as weak alias of
2967         __profil_counter.
2968         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2969         (profil_counter): Rename to __profil_counter.
2970         [!__profil_counter] (profil_counter): Define as weak alias of
2971         __profil_counter.
2972         * sysdeps/posix/profil.c: Update comment referring to
2973         profil_counter.
2974         (__profil): Use __profil_counter instead of profil_counter.
2975         * sysdeps/posix/sprofil.c (profil_counter): Rename to
2976         __profil_counter.  Use __profil_counter_ushort and
2977         __profil_counter_uint in definitions.
2978         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2979         instead of profil_counter_uint and profil_counter_ushort.
2981         [BZ #17722]
2982         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2983         define as weak alias of __inet_makeaddr.
2984         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2985         as weak alias of __inet_addr.
2986         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2987         as weak alias of __inet_pton.  Use libc_hidden_weak.
2988         * include/arpa/inet.h (__inet_pton): Declare.  Use
2989         libc_hidden_proto.
2990         (inet_makeaddr): Don't use libc_hidden_proto.
2991         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
2992         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2993         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
2994         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2995         Remove variable.
2996         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2997         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2999 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
3001         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3003 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3005         * stdio-common/bug-vfprintf-nargs.c (do_test):
3006         Cast value to intptr_t to avoid format warning
3007         for usage with PRIdPTR printing macro.
3009 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3011         * libio/tst-widetext.c (do_test):
3012         Use format type %td instead of %Zd for ptrdiff_t
3013         in order to avoid format warning.
3015 2014-12-17  Andreas Schwab  <schwab@suse.de>
3017         * nscd/mem.c (gc): Add size_t cast to match printf format.
3019 2014-12-16  Roland McGrath  <roland@hack.frob.com>
3021         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3022         (init): Apply PTR_MANGLE to pointers before storing them.
3023         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3024         before using them.
3026 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
3028         [BZ #17719]
3029         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3030         define as weak alias of __memrchr.
3031         (__memrchr): Do not define as strong alias of memrchr.
3032         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3033         Remove variable.
3034         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3035         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3036         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3038         [BZ #17717]
3039         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3040         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
3041         (if_indextoname): Rename to __if_indextoname and define as weak
3042         alias of __if_indextoname.  Use libc_hidden_weak.
3043         (if_freenameindex): Rename to __if_freenameindex and define as
3044         weak alias of __if_freenameindex.
3045         (if_nameindex): Rename to __if_nameindex and define as weak alias
3046         of __if_nameindex.
3047         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3048         __if_nametoindex and define as weak alias of __if_nametoindex.
3049         Use libc_hidden_weak.
3050         (if_freenameindex): Rename to __if_freenameindex and define as
3051         weak alias of __if_freenameindex.
3052         (if_nameindex): Rename to __if_nameindex and define as weak alias
3053         of __if_nameindex.
3054         (if_indextoname): Rename to __if_indextoname and define as weak
3055         alias of __if_indextoname.  Use libc_hidden_weak.
3056         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3057         __if_nametoindex and define as weak alias of __if_nametoindex.
3058         Use libc_hidden_weak.
3059         (if_freenameindex): Rename to __if_freenameindex and define as
3060         weak alias of __if_freenameindex.  Use libc_hidden_weak.
3061         (if_nameindex_netlink): Use __if_freenameindex instead of
3062         if_freenameindex.
3063         (if_nameindex): Rename to __if_nameindex and define as weak alias
3064         of __if_nameindex.  Use libc_hidden_weak.
3065         (if_indextoname): Rename to __if_indextoname and define as weak
3066         alias of __if_indextoname.  Use libc_hidden_weak.
3067         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3068         libc_hidden_proto.
3069         [!_ISOMAC] (__if_freenameindex): Likewise.
3070         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3071         if_nametoindex.
3072         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3073         variable.
3074         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3075         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3076         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3077         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3078         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3079         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3080         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3082         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3083         Remove variable.
3084         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3085         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3087 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3089         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3090         subscript above bounds'
3092         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3093         bounds.
3095 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
3097         * libio/tst-fopenloc.c: Use test-skeleton.c.
3099         * stdlib/tst-bsearch.c: Use test-skeleton.c.
3100         (entry): Rename to ITEM.
3101         (do_test, comp): Adjust.
3103         * stdio-common/tst-fseek.c: Use test-skeleton.c.
3105 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3107         * string/tester.c: Include <libc-internal.h>.
3108         (test_memset): Ignore -Wmemset-transposed-args.
3110 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3112         * misc/tst-mntent2.c (do_test): Fix warning.
3114 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3116         * elf/tst-unique4lib.cc(a): Mark as used.
3118 2014-12-16  Florian Weimer  <fweimer@redhat.com>
3120         [BZ #17630]
3121         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3122         names.
3124 2014-12-16  Allan McRae  <allan@archlinux.org>
3126         * stdio-common/Makefile (tests): Re-add bug26.
3128 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
3130         [BZ #17657]
3131         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3132         static array.
3134 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
3136         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3137         (__lll_lock_wait): Likewise.
3138         (__lll_timedlock_wait): Likewise.
3139         (__lll_timedwait_tid): Likewise.
3140         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3141         (__lll_robust_timedlock_wait): Likewise.
3142         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3143         (lll_cond_trylock): Likewise.
3144         (__lll_lock): Likewise.
3145         (__lll_robust_lock): Likewise.
3146         (__lll_cond_lock): Likewise.
3147         (lll_robust_cond_lock): Likewise.
3148         (__lll_timedlock): Likewise.
3149         (__lll_robust_timedlock): Likewise.
3150         (__lll_unlock): Likewise.
3151         (__lll_robust_unlock): Likewise.
3152         (lll_wait_tid): Likewise.
3153         (lll_timedwait_tid): Likewise.
3155 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3157         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3159 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3161         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3163 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3165         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3166         * stdio-common/tst-sprintf.c: Likewise.
3168 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3170         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3172 2014-12-15  Jeff Law  <law@redhat.com>
3174         [BZ #16617]
3175         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3176         on the heap.  (CVE-2012-3406)
3177         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3178         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
3179         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3181 2014-12-15  Will Newton  <will.newton@linaro.org>
3183         * manual/install.texi: Bump required version of texinfo
3184         to 4.7 from 4.5.
3185         * INSTALL: Regenerated.
3186         * configure.ac: Check for makeinfo version 4.7 and above.
3187         * configure: Regenerated.
3189 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3191         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3192         PREFIX, string constant to insert between directory and name.
3193         * sysdeps/posix/shm_open.c: Update caller.
3194         * sysdeps/posix/shm_unlink.c: Likewise.
3195         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3196         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3197         (SEM_SHM_PREFIX): New macro.
3198         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3199         [$(have-thread-library) = no].
3200         * nptl/Makefile (libpthread-routines): Add shm-directory.
3201         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3202         * sysdeps/nptl/shm-directory.h: New file.
3203         * sysdeps/posix/shm-directory.c
3204         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3205         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3206         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3207         INTERNAL_SYSCALL.
3208         (__where_is_shmfs): Function removed.
3209         (mountpoint, defaultmount, defaultdir, __namedsem_once):
3210         Variables removed.
3211         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3212         Use SHM_GET_NAME.
3213         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
3215         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3216         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3217         unconditional for use inside libpthread.
3218         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3220 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3222         * nptl/pthread_getaffinity.c: New file.
3223         * nptl/pthread_setaffinity.c: New file.
3224         * nptl/pthread_getname.c: New file.
3225         * nptl/pthread_setname.c: New file.
3227         * nptl/pthread_create.c (START_THREAD_DEFN)
3228         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3230 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3231             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3233         * resolv/res_send.c (send_vc): Disable warning resplen may
3234         be used uninitialized.
3236 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3238         * nptl/tst-mutex6.c
3239         (ATTR_NULL): New define checks ATTR against NULL.
3240         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3241         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3243 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
3245         [BZ #17581]
3246         * malloc/hooks.c
3247         (mem2mem_check): Revert my previous change.
3248         (malloc_check_get_size): Revert my previous change.
3249         (mem2chunk_check): Revert my previous change.
3251 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3253         * sysdeps/posix/shm-directory.c: New file.
3254         * sysdeps/posix/shm-directory.h: New file.
3255         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3256         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3257         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
3258         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3259         Transmute EPERM to EACCES.
3260         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3261         from ...
3262         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
3263         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3265 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3267         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3268         pointer and cast to uintptr_t.
3269         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3270         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3271         Add cast to avoid warning.
3272         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3274 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
3276         * nptl/semaphore.h: Move to ...
3277         * sysdeps/pthread/semaphore.h: ... here.
3278         * Makefile (installed-headers): Change nptl/semaphore.h to
3279         sysdeps/pthread/semaphore.h.
3281 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3283         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3284         generated error format strings.
3286         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3287         -Wformat-extra-args warnings for scanf formats.
3288         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3289         test of zero-length format (duh).
3290         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3291         corner-case scanf format test.
3292         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3293         generated fprintf format string.
3294         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3295         corner-case sprintf format tests.
3296         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3297         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3298         -Wformat-extra-args warnings throughout.
3299         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3300         (CFLAGS-scanf4.c): Likewise.
3301         (CFLAGS-scanf7.c): Likewise.
3302         (CFLAGS-tst-sprintf.c): Likewise.
3303         (CFLAGS-tst-printf.c): Likewise.
3304         (CFLAGS-tst-printfsz.c): Likewise.
3306 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
3308         * include/cpio.h: New file.
3309         * include/fmtmsg.h: Likewise.
3311         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
3312         corresponding format argument to size_t.
3313         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
3314         arguments.
3315         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
3316         corresponding format argument to size_t.
3317         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
3318         arguments.
3319         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
3320         corresponding format argument to size_t.
3321         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3322         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3323         (CFLAGS-tst-mbswcs2.c): Likewise.
3324         (CFLAGS-tst-mbswcs3.c): Likewise.
3325         (CFLAGS-tst-mbswcs4.c): Likewise.
3326         (CFLAGS-tst-mbswcs5.c): Likewise.
3327         (CFLAGS-tst-trans.c): Likewise
3329 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3331         * posix/regexbug1.c (main): Use "%s" format with regerror results,
3332         rather than assuming they won't contain any '%'s.
3334 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
3336         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3337         inhibit_loop_to_libcall to avoid recursive calls.
3338         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3339         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3341 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3343         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3344         prototype.
3346 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
3348         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3349         integer value instead of boolean.
3351 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
3353         * malloc/malloc.c: Fix powerof2 check.
3355 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3357         * locale/programs/locfile.h (maybe_swap_uint32):
3358         Remove inline and add unused attribute.
3360 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3362         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3363         Truncating assembler expression to a .long expression.
3365 2014-12-11  Andreas Schwab  <schwab@suse.de>
3367         * elf/rtld.c (struct map_args): Constify str member.
3368         (do_preload): Constify fname argument.
3370 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3372         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3373         constants definition.
3375 2014-12-11  Andreas Schwab  <schwab@suse.de>
3377         [BZ #16657]
3378         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3379         FORCE_ELISION instead of DO_ELISION.
3380         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3381         Remove.
3382         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3383         Likewise.
3385         * iconvdata/gconv-modules: Remove duplicate entry.
3387 2014-12-11  Will Newton  <will.newton@linaro.org>
3389         Merge gettext 0.19.3 into intl/.
3391         This involves a number of cosmetic changes to comments
3392         and ANSI function definitions and prototypes throughout
3393         all the files. The gettext copyright header is used but
3394         with the date ranges taken from the glibc copy.
3396         * NEWS: Add gettext merge to 2.21.
3397         * intl/bindtextdom.c: Switch to gettext copyright.
3398         Use ANSI definitions and prototypes.
3399         Use gl_* locking primitives rather than __libc_* ones.
3400         Use __builtin_expect rather than __glibc_likely/unlikely.
3401         * intl/dcgettext.c: Switch to gettext copyright.
3402         Use ANSI definitions and prototypes.
3403         * intl/dcigettext.c: Switch to gettext copyright.
3404         Use ANSI definitions and prototypes.
3405         (INTDIV0_RAISES_SIGFPE): New define.
3406         Use gl_* locking primitives rather than __libc_* ones.
3407         Include eval-plural.h instead of plural-eval.c.
3408         Use __builtin_expect rather than __glibc_likely/unlikely.
3409         * intl/dcngettext.c: Switch to gettext copyright.
3410         Use ANSI definitions and prototypes.
3411         * intl/dgettext.c: Likewise.
3412         * intl/dngettext.c: Likewise.
3413         * intl/plural-eval.c: Renamed to...
3414         * intl/eval-plural.h: ...this.
3415         * intl/explodename.c: Switch to gettext copyright.
3416         Use ANSI definitions and prototypes.
3417         (_nl_explode_name): Use strchr instead of __rawmemchr.
3418         * intl/finddomain.c: Switch to gettext copyright.
3419         Use ANSI definitions and prototypes.
3420         Use gl_* locking primitives rather than __libc_* ones.
3421         (_nl_find_domain): Use malloc rather than alloca for
3422         allocation of temporary locale name.
3423         * intl/gettext.c: Switch to gettext copyright.
3424         Use ANSI definitions and prototypes.
3425         * intl/gettextP.h: Switch to gettext copyright.
3426         Use ANSI definitions and prototypes.
3427         Use gl_* locking primitives rather than __libc_* ones.
3428         * intl/gmo.h: Switch to gettext copyright.
3429         (struct sysdep_string): Move struct segment_pair outside of
3430         struct definition.
3431         * intl/hash-string.c: Use ANSI definitions and prototypes.
3432         * intl/hash-string.h: Switch to gettext copyright.
3433         Use ANSI definitions and prototypes.
3434         * intl/l10nflist.c: Switch to gettext copyright.
3435         Use ANSI definitions and prototypes.
3436         (_nl_normalize_codeset): Avoid integer overflow.
3437         * intl/loadinfo.h: Switch to gettext copyright.
3438         Use ANSI definitions and prototypes.
3439         (LIBINTL_DLL_EXPORTED): New define.
3440         (PATH_SEPARATOR): New define.
3441         * intl/loadmsgcat.c: Switch to gettext copyright.
3442         * intl/localealias.c: Switch to gettext copyright.
3443         Use ANSI definitions and prototypes.
3444         (_nl_expand_alias): Use PATH_SEPARATOR.
3445         * intl/ngettext.c: Switch to gettext copyright.
3446         Use ANSI definitions and prototypes.
3447         * intl/plural-exp.c: Likewise.
3448         * intl/plural-exp.h: Switch to gettext copyright.
3449         Use ANSI definitions and prototypes.
3450         (struct expression): Move definition of enum operator outside
3451         of struct definition.
3452         * intl/plural.c: Regenerate.
3453         * intl/plural.y: Switch to gettext copyright.
3454         Use ANSI definitions and prototypes.
3455         Port to bison 3.0.
3456         * intl/textdomain.c: Switch to gettext copyright.
3457         Use ANSI definitions and prototypes.
3458         Use gl_* locking primitives rather than __libc_* ones.
3460 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
3462         * debug/warning-nop.c: Add used atrribute.
3464 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3466         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3468         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3469         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3470         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3472 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3473             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3475         [BZ #17634]
3476         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3477         Undefine after defining function.  Define as weak alias of
3478         __wcschr.  Use libc_hidden_weak.
3479         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
3480         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3481         (libc_hidden_def): Also define __GI___wcschr alias.
3482         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3483         __wcschr and define as weak alias of __wcschr.
3484         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3485         __wcschr.
3486         [!WCSCHR] (DEFAULT_WCSCHR): Define.
3487         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3488         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
3489         libc_hidden_weak.  Do not use libc_hidden_def.
3490         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3491         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3492         __GI___wcschr alias.
3493         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3494         [IS_IN (libc)] (wcschr): Define as macro expanding to
3495         __redirect_wcschr.
3496         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3497         [IS_IN (libc)] (__wcschr_power6): Likewise.
3498         [IS_IN (libc)] (__wcschr_power7): Likewise.
3499         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
3500         instead of wcschr.
3501         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3502         __libc_wcschr.
3503         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3504         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3505         __wcschr and define as weak alias of __wcschr.  Use
3506         libc_hidden_builtin_def.
3507         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3508         as weak alias of __wcschr.  Use libc_hidden_weak.
3509         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3510         wcschr.
3511         * time/era.c (_nl_init_era_entries): Likewise.
3512         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3513         variable.
3514         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3515         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3517 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3519         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3520         format for long int variable.
3522 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
3524         [BZ #10672]
3525         * manual/search.texi: (Array Sort Function): Remove claim how to make
3526         qsort stable.
3528 2014-12-10  Andreas Schwab  <schwab@suse.de>
3530         [BZ #12847]
3531         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3532         user-controlled locks.
3534 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
3536         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3537         register.
3539 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3541         * configure.ac (--disable-werror): New configure option.
3542         (enable_werror): New AC_SUBST.
3543         * configure: Regenerated.
3544         * config.make.in (enable-werror): New variable.
3545         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3546         -Wno-error=undef.
3547         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3548         * manual/install.texi (Configuring and compiling): Document
3549         --disable-werror.
3550         * INSTALL: Regenerated.
3551         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3552         (CFLAGS-tst-chk2.c): Likewise.
3553         (CFLAGS-tst-chk3.c): Likewise.
3554         (CFLAGS-tst-chk4.cc): Likewise.
3555         (CFLAGS-tst-chk5.cc): Likewise.
3556         (CFLAGS-tst-chk6.cc): Likewise.
3557         (CFLAGS-tst-lfschk1.c): Likewise.
3558         (CFLAGS-tst-lfschk2.c): Likewise.
3559         (CFLAGS-tst-lfschk3.c): Likewise.
3560         (CFLAGS-tst-lfschk4.cc): Likewise.
3561         (CFLAGS-tst-lfschk5.cc): Likewise.
3562         (CFLAGS-tst-lfschk6.cc): Likewise.
3564         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3565         (main): Disable -Wdeprecated-declarations around calls to
3566         register_printf_function.
3568         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3569         (do_test): Disable -Wdiv-by-zero around some calls to
3570         fwrite_unlocked and fread_unlocked.
3572         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3573         (DIAG_POP_NEEDS_COMMENT): Likewise.
3574         (_DIAG_STR1): Likewise.
3575         (_DIAG_STR): Likewise.
3576         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3577         * stdio-common/bug21.c: Include <libc-internal.h>.
3578         (do_test): Disable -Wformat around call to sscanf.
3579         * stdio-common/scanf14.c: Include <libc-internal.h>.
3580         (main): Disable -Wformat around some calls to scanf functions.
3582 2014-12-09  Torvald Riegel  <triegel@redhat.com>
3584         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3586 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3588         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3589         stack variable alignment.
3591 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
3593         [BZ #17682]
3594         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3595         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3596         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3597         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3598         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3599         __getrlimit instead of getrlimit.
3600         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3601         __gettimeofday instead of gettimeofday.
3602         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3603         Likewise.
3604         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3605         Likewise.
3606         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3607         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3608         Remove variable.
3609         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3610         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3612 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3614         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3615         for wide-character tests.
3617 2014-12-04  Roland McGrath  <roland@hack.frob.com>
3619         * io/openat64.c: #include <libc-internal.h>
3620         (__openat64): Prototypify.  Use ignore_value on MODE.
3621         * io/openat.c: Likewise.
3622         * misc/reboot.c: #include <libc-internal.h>
3623         (reboot): Prototypify.  Use ignore_value on HOWTO.
3624         * misc/ptrace.c: #include <libc-internal.h>
3625         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
3627 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
3629         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3630         XPG4, UNIX98 and XOPEN2K.
3631         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3632         Remove variable.
3633         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3635 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3637         * libio/fileops.c: Use ISO C style for function definitions.
3638         * libio/iofopen.c: Likewise.
3639         * libio/wfileops.c: Likewise.
3641         [BZ #17653]
3642         * libio/fileops.c (_IO_new_file_underflow): Unset cached
3643         offset on EOF.
3644         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3645         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3646         (fgets_func): Function pointer to fgets and fgetws.
3647         (do_ftell_test): Add test to verify ftell value after read
3648         EOF.
3649         (do_test): Set fgets_func.
3651         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3652         O_TRUNC flag for w and w+ modes.
3653         (do_rewind_test): Likewise.
3654         (do_ftell_test): Likewise.
3655         (do_write_test): Likewise.
3657         [BZ #17647]
3658         * libio/fileops.c (do_ftell): Seek only when there are
3659         unflushed writes.
3660         * libio/wfileops.c (do_ftell_wide): Likewise.
3661         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3662         test case.
3663         (do_one_test): Call it.
3665 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
3667         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3668         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3669         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3670         Remove variable.
3671         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3672         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3673         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3675 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3677         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3678         Remove variable.
3679         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3681         [BZ #17668]
3682         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3683         as weak alias of __getifaddrs.  Use libc_hidden_weak.
3684         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3685         __freeifaddrs.  Use libc_hidden_weak.
3686         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3687         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
3688         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3689         __freeifaddrs.  Use libc_hidden_weak.
3690         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3691         __getifaddrs and define as weak alias of __getifaddrs.  Use
3692         libc_hidden_weak.
3693         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3694         __freeifaddrs.  Use libc_hidden_weak.
3695         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3696         Remove variable.
3697         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3698         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3700 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3702         [BZ #17601]
3703         * sysdeps/mips/start.S (__start): Use indirect jump to call
3704         __libc_start_main.
3706 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3708         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3710         * nptl/tst-mutex1.c: Include <stdbool.h>.
3711         [!ATTR] (ATTR_NULL): New macro.
3712         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3713         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3714         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3716         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3717         to char *.
3719         [BZ #17665]
3720         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3721         Change conditional to [__USE_MISC].
3723         [BZ #17664]
3724         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3725         fgets_unlocked.
3726         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3727         __fgets_unlocked.
3728         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3729         fgets_unlocked.
3730         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3731         Remove variable.
3732         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3733         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3734         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3735         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3736         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3737         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3738         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3739         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3740         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3742         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3744 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3746         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3747         Remove strpbrk objects.
3748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3749         (__libc_ifunc_impl_list): Remove strpbrk implementation.
3750         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3751         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3752         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3753         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3755         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3756         Remove strcspn objects.
3757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3758         (__libc_ifunc_impl_list): Remove strcspn implementation.
3759         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3760         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3761         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3762         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3764         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3765         Remove strspn objetcs.
3766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3767         (__libc_ifunc_impl_list): Remove strspn implementation.
3768         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3769         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3770         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3771         * sysdeps/powerpc/powerpc64/strspn.S: New file.
3773 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
3775         [BZ #17581]
3776         * malloc/hooks.c
3777         (mem2mem_check): Add a terminator to the chain of checking blocks.
3778         (malloc_check_get_size): Use it here.
3779         (mem2chunk_check): Ditto.
3781 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3783         * sysdeps/powerpc/powerpc64/strtok.S: New file.
3784         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3786 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
3788         * bits/ioctl-types.h: Indent preprocessor directives correctly.
3790         * nptl/nptl-init.c: Include libc-internal.h.
3791         (__pthread_initialize_minimal_internal): Use ROUND_UP.
3793         * elf/ldconfig.c (search_dir): Expand comment.
3795 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
3797         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3798         variable.
3799         (linknamespace-symlist-stdlibs-tests): Likewise.
3800         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3801         instead of $(objpfx)symlist-stdlibs.
3802         (linknamespace-libs-isoc): New variable.
3803         (linknamespace-libs): Use $(linknamespace-libs-isoc).
3804         (linknamespace-libs-ISO): New variable.
3805         (linknamespace-libs-ISO99): Likewise.
3806         (linknamespace-libs-ISO11): Likewise.
3807         (linknamespace-libs-XPG3): Likewise.
3808         (linknamespace-libs-XPG4): Likewise.
3809         (linknamespace-libs-POSIX): Likewise.
3810         (linknamespace-libs-UNIX98): Likewise.
3811         (linknamespace-libs-XOPEN2K): Likewise.
3812         (linknamespace-libs-POSIX2008): Likewise.
3813         (linknamespace-libs-XOPEN2K8): Likewise.
3814         ($(objpfx)symlist-stdlibs): Replace by
3815         $(linknamespace-symlist-stdlibs-tests).  Use
3816         $(linknamespace-libs-$*) as set of libraries.
3817         ($(linknamespace-header-tests)): Update dependencies.  Use
3818         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3819         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3820         * conform/linknamespace.pl: Remove comment about considering
3821         definitions of symbols from irrelevant libraries.
3823 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3825         [BZ #13862]
3826         * elf/dl-tls.c: Include <atomic.h>.
3827         (oom): Remove #ifdef SHARED/#endif.
3828         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3829         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
3830         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3831         big enough.
3832         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3833         * nptl/Makefile (tests): Add tst-stack4.
3834         (modules-names): Add tst-stack4mod.
3835         ($(objpfx)tst-stack4): New.
3836         (tst-stack4mod.sos): Likewise.
3837         ($(objpfx)tst-stack4.out): Likewise.
3838         ($(tst-stack4mod.sos)): Likewise.
3839         (clean): Likewise.
3840         * nptl/tst-stack4.c: New file.
3841         * nptl/tst-stack4mod.c: Likewise.
3843 2014-11-27  J. Brown  <jb999@gmx.de>
3845         * sysdeps/x86/bits/string.h: Add recent CPUs.
3847 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3849         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3850         sigblock.
3852         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3853         feof.
3855         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3856         variable.
3858 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3860         * nscd/connections.c: Include libc-internal.h because of macro
3861         usage ignore_value.
3863 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3865         * string/bits/string3.h (__warn_memset_zero_len): Don't
3866         declare for gcc newer than 5.0.
3867         (memset): Don't test for zero-length __LEN for gcc newer than
3868         5.0.
3870 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3872         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3873         size_t for %zu format.
3875         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3876         difference, not %ju.
3878 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3880         * include/libc-internal.h (ignore_value): New macro.
3881         * nscd/connections.c (restart): Wrap calls to setuid and setgid
3882         with ignore_value.
3884         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3885         definition.
3887         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3888         pthread_cleanup_push to void *.
3890         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3891         Undefine.
3893         [BZ #16619]
3894         [BZ #16740]
3895         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3896         instead of 1L << 52.
3898         * libio/bug-rewind.c (do_test): Check fwscanf return values.
3899         * libio/bug-rewind2.c (do_test): Likewise.
3901         * debug/test-stpcpy_chk-ifunc.c: Remove file.
3902         * debug/test-strcpy_chk-ifunc.c: Likewise.
3903         * wcsmbs/test-wcschr-ifunc.c: Likewise.
3904         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3905         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3906         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3907         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3908         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3909         * Rules [$(multi-arch) = no] (tests): Do not filter out
3910         $(tests-ifunc).
3911         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3912         * debug/Makefile (tests-ifunc): Remove variable.
3913         (tests): Do not add $(tests-ifunc).
3914         * wcsmbs/Makefile (tests-ifunc): Remove variable.
3915         (tests): Do not add $(tests-ifunc).
3916         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3917         [TEST_IFUNC]: Remove conditionals.
3918         * string/test-string.h (TEST_IFUNC): Remove macro.
3919         [TEST_IFUNC]: Remove conditionals.
3921         * string/test-strchr.c [!WIDE] (L): New macro.
3922         [WIDE] (L): Likewise.
3923         (check1): Use CHAR instead of char.  Use L on string and character
3924         constants.
3926 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
3928         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3929         tests.
3930         * sysdeps/powerpc/bits/atomic.h
3931         (__arch_atomic_exchange_and_add_32_acq): Add definition.
3932         (__arch_atomic_exchange_and_add_32_rel): Likewise.
3933         (atomic_exchange_and_add_acq): Likewise.
3934         (atomic_exchange_and_add_rel): Likewise.
3935         * sysdeps/powerpc/powerpc32/bits/atomic.h
3936         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3937         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3938         * sysdeps/powerpc/powerpc64/bits/atomic.h
3939         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3940         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3942 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3944         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3945         Change synchronization of __sched_fifo_min_prio and
3946         __sched_fifo_max_prio.
3947         * nptl/pthread_mutexattr_getprioceiling.c
3948         (pthread_mutexattr_getprioceiling): Likewise.
3949         * nptl/pthread_mutexattr_setprioceiling.c
3950         (pthread_mutexattr_setprioceiling): Likewise.
3951         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3952         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3953         Likewise.
3955 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3957         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3958         void.
3960 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3962         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3963         third argument const.
3965 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3967         fnmatch: work around GCC compiler warning bug with uninit var
3968         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3969         This works around a bug with x86-64 GCC 4.9.2 and earlier
3970         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3971         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3972         used uninitialized in this function [-Wmaybe-uninitialized]".
3974 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3976         * posix/bug-regex31.c (main): Return RES not 0.
3978 2014-11-25  Anton Blanchard <anton@samba.org>
3980         * sysdeps/powerpc/bits/atomic.h
3981         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3983 2014-11-24  Sterling Augustine  <saugustine@google.com>
3985         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3987 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
3989         [BZ #17608]
3990         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3992 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3994         [BZ #17633]
3995         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3996         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3997         variable.
3998         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3999         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4001 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4003         * string/strncpy.c (strncpy): Improve performance by using memset.
4005 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4007         * string/strcpy.c (strcpy):
4008         Improve performance by using strlen and memcpy.
4010 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
4012         * string/strcoll_l.c (get_next_seq): __always_inline.
4013         * string/strcoll_l.c (do_compare): __always_inline.
4015 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4017         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4018         defined.
4019         * include/mqueue.h: Likewise.
4020         * include/stdlib.h: Likewise.
4022         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4023         (get_null_defines): Adjust.
4024         * sunrpc/Makefile: Adjust comment.
4025         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4026         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4027         (CFLAGS-interp.c): Likewise.
4028         (CFLAGS-ldconfig.c): Likewise.
4029         (CPPFLAGS-.os): Likewise.
4030         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4031         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4032         * extra-modules.mk (extra-modules.mk): Likewise.
4033         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4034         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4035         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4036         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4037         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4038         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4039         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4040         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4041         * iconvdata/Makefile (CPPFLAGS): Likewise.
4042         (cpp-srcs-left): Add libof for all iconvdata routines.
4043         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4044         * include/assert.h: Likewise.
4045         * include/ctype.h: Likewise.
4046         * include/errno.h: Likewise.
4047         * include/libc-symbols.h: Likewise.
4048         * include/math.h: Likewise.
4049         * include/netdb.h: Likewise.
4050         * include/resolv.h: Likewise.
4051         * include/stdio.h: Likewise.
4052         * include/stdlib.h: Likewise.
4053         * include/string.h: Likewise.
4054         * include/sys/stat.h: Likewise.
4055         * include/wctype.h: Likewise.
4056         * intl/l10nflist.c: Likewise.
4057         * libidn/idn-stub.c: Likewise.
4058         * libio/libioP.h: Likewise.
4059         * nptl/libc_multiple_threads.c: Likewise.
4060         * nptl/pthreadP.h: Likewise.
4061         * posix/regex_internal.h: Likewise.
4062         * resolv/res_hconf.c: Likewise.
4063         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4064         * sysdeps/arm/memmove.S: Likewise.
4065         * sysdeps/arm/sysdep.h: Likewise.
4066         * sysdeps/generic/_itoa.h: Likewise.
4067         * sysdeps/generic/symbol-hacks.h: Likewise.
4068         * sysdeps/gnu/errlist.awk: Likewise.
4069         * sysdeps/gnu/errlist.c: Likewise.
4070         * sysdeps/i386/i586/memcpy.S: Likewise.
4071         * sysdeps/i386/i586/memset.S: Likewise.
4072         * sysdeps/i386/i686/memcpy.S: Likewise.
4073         * sysdeps/i386/i686/memmove.S: Likewise.
4074         * sysdeps/i386/i686/mempcpy.S: Likewise.
4075         * sysdeps/i386/i686/memset.S: Likewise.
4076         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4077         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4078         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4079         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4080         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4081         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4082         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4083         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4084         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4085         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4086         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4087         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4088         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4089         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4090         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4091         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4092         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4093         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4094         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4095         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4096         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4097         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4098         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4099         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4100         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4101         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4102         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4103         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4104         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4105         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4106         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4107         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4108         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4109         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4110         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4111         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4112         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4113         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4114         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4115         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4116         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4117         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4118         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4119         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4120         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4121         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4122         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4123         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4124         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4125         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4126         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4127         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4128         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4129         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4130         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4131         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4132         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4133         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4134         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4135         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4136         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4137         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4138         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4139         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4140         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4141         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4142         * sysdeps/posix/closedir.c: Likewise.
4143         * sysdeps/posix/opendir.c: Likewise.
4144         * sysdeps/posix/readdir.c: Likewise.
4145         * sysdeps/posix/rewinddir.c: Likewise.
4146         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4147         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4148         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4149         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4150         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4151         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4152         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4153         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4154         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4155         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4156         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4157         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4158         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4159         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4160         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4161         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4162         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4163         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4164         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4165         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4166         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4167         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4168         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4169         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4170         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4171         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4172         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4173         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4174         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4175         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4176         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4177         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4178         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4179         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4180         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4181         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4182         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4183         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4184         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4185         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4186         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4187         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4188         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4189         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4190         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4191         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4192         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4193         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4194         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4195         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4196         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4197         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4198         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4199         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4200         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4201         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4202         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4203         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4204         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4205         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4206         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4207         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4208         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4209         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4210         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4211         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4212         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4213         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4214         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4215         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4216         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4217         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4218         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4219         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4220         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4221         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4222         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4223         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4224         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4225         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4226         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4227         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4228         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4229         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4230         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4231         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4232         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4233         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4234         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4235         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4236         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4237         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4238         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4239         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4240         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4241         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4242         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4243         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4244         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4245         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4246         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4247         * sysdeps/unix/alpha/sysdep.S: Likewise.
4248         * sysdeps/unix/alpha/sysdep.h: Likewise.
4249         * sysdeps/unix/make-syscalls.sh: Likewise.
4250         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4251         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4252         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4253         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4254         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4255         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4256         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4257         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4258         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4259         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4260         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4261         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4262         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4263         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4264         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4265         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4266         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4267         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4268         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4269         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4270         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4271         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4272         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4273         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4274         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4275         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4276         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4279         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4280         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4281         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4282         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4283         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4284         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4285         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4286         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4287         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4288         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4289         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4290         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4291         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4292         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4293         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4294         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4295         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4296         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4297         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4298         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4299         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4300         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4301         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4302         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4303         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4304         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4305         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4306         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4307         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4308         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4309         * sysdeps/x86_64/memcpy.S: Likewise.
4310         * sysdeps/x86_64/memmove.c: Likewise.
4311         * sysdeps/x86_64/memset.S: Likewise.
4312         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4313         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4314         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4315         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4316         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4317         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4318         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4319         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4320         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4321         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4322         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4323         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4324         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4325         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4326         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4327         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4328         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4329         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4330         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4331         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4332         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4333         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4334         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4335         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4336         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4337         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4338         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4339         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4340         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4341         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4342         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4343         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4344         * sysdeps/x86_64/strcmp.S: Likewise.
4346         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4348         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4349         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4350         * elf/rtld-Rules: Likewise.
4351         * elf/setup-vdso.h: Likewise.
4352         * include/assert.h: Likewise.
4353         * include/bits/stdlib-float.h: Likewise.
4354         * include/errno.h: Likewise.
4355         * include/sys/stat.h: Likewise.
4356         * include/unistd.h: Likewise.
4357         * sysdeps/aarch64/setjmp.S: Likewise.
4358         * sysdeps/alpha/setjmp.S: Likewise.
4359         * sysdeps/arm/__longjmp.S: Likewise.
4360         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4361         * sysdeps/arm/setjmp.S: Likewise.
4362         * sysdeps/arm/sysdep.h: Likewise.
4363         * sysdeps/generic/_itoa.h: Likewise.
4364         * sysdeps/generic/dl-sysdep.h: Likewise.
4365         * sysdeps/generic/ldsodefs.h: Likewise.
4366         * sysdeps/i386/dl-tls.h: Likewise.
4367         * sysdeps/i386/setjmp.S: Likewise.
4368         * sysdeps/m68k/setjmp.c: Likewise.
4369         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4370         * sysdeps/mach/hurd/opendir.c: Likewise.
4371         * sysdeps/posix/getcwd.c: Likewise.
4372         * sysdeps/posix/opendir.c: Likewise.
4373         * sysdeps/posix/profil.c: Likewise.
4374         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4375         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4376         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4377         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4378         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4379         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4380         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4381         * sysdeps/s390/dl-tls.h: Likewise.
4382         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4383         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4384         * sysdeps/sh/sh3/setjmp.S: Likewise.
4385         * sysdeps/sh/sh4/setjmp.S: Likewise.
4386         * sysdeps/unix/alpha/sysdep.h: Likewise.
4387         * sysdeps/unix/arm/sysdep.S: Likewise.
4388         * sysdeps/unix/i386/sysdep.S: Likewise.
4389         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4390         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4391         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4392         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4393         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4394         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4395         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4396         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4397         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4398         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4399         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4400         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4401         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4404         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4405         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4406         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4407         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4408         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4409         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4410         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4411         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4412         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4413         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4414         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4416         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4417         * sysdeps/x86_64/setjmp.S: Likewise.
4419         * include/math.h: Use IS_IN instead of IS_IN_libm.
4420         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4421         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4422         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4423         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4424         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4425         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4426         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4427         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4428         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4429         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4430         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4431         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4432         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4433         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4434         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4435         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4436         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4437         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4438         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4439         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4440         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4441         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4442         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4443         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4444         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4445         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4446         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4447         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4448         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4449         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4450         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4451         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4452         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4454         Likewise.
4455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4456         Likewise.
4457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4458         Likewise.
4459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4460         Likewise.
4461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4462         Likewise.
4463         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4464         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4465         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4466         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4467         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4468         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4474         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4475         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4476         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4477         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4478         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4479         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4480         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4481         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4482         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4483         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4484         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4485         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4486         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4487         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4489         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4491         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4492         * nptl/pthreadP.h: Likewise.
4493         * nptl_db/structs.def: Likewise.
4494         * sysdeps/arm/sysdep.h: Likewise.
4495         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4496         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4497         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4498         * sysdeps/unix/alpha/sysdep.h: Likewise.
4499         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4500         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4501         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4502         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4503         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4504         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4505         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4506         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4507         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4508         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4509         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4510         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4511         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4512         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4515         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4516         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4517         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4518         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4519         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4520         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4521         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4522         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4523         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4524         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4526         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4527         * nptl/pthreadP.h: Likewise.
4528         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4529         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4530         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4531         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4532         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4533         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4534         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4535         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4536         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4537         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4538         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4539         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4541         Likewise.
4542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4543         Likewise.
4544         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4545         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4546         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4547         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4548         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4549         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4550         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4551         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4553         * dlfcn/dladdr.c: Use IS_IN.
4554         * dlfcn/dladdr1.c: Likewise.
4555         * dlfcn/dlclose.c: Likewise.
4556         * dlfcn/dlerror.c: Likewise.
4557         * dlfcn/dlinfo.c: Likewise.
4558         * dlfcn/dlmopen.c: Likewise.
4559         * dlfcn/dlopen.c: Likewise.
4560         * dlfcn/dlsym.c: Likewise.
4561         * dlfcn/dlvsym.c: Likewise.
4563         * include/ifaddrs.h: Use IS_IN.
4564         * inet/check_pf.c: Likewise.
4565         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4566         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4568         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4569         IS_IN_ldconfig.
4570         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4571         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4573         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4574         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4575         IS_IN (libc).
4577         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4579         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4580         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4581         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4582         * include/libc-symbols.h (IS_IN_LIB): New macro.
4583         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4584         * include/netdb.h: Likewise.
4585         * include/stap-probe.h: Remove all uses of IN_LIB.
4587         * Makeconfig (module-cppflags-real): Define MODULE_NAME
4588         instead of IN_MODULE.
4589         * include/libc-symbols.h (IN_MODULE): Define using
4590         MODULE_NAME.
4591         (PASTE_NAME, PASTE_NAME1): New macros.
4592         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4593         of IN_LIB.
4594         (STAP_PROBE_ASM): Likewise.
4596 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4598         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4599         __mach_init in dlopened libc.
4601 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
4603         * sysdeps/arm/preconfigure.ac: Delete EABI check.
4604         * sysdeps/arm/preconfigure: Regenerate.
4606 2014-11-21  Roland McGrath  <roland@hack.frob.com>
4608         * nptl/pthread_create.c (__pthread_create_2_1): Set
4609         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4610         when copying values from IATTR into PD.
4612 2014-11-21  Will Newton  <will.newton@linaro.org>
4613             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4615         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4616         Refactor inline-asm.  Also add comment.
4618         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4619         ElfW macro instead of hardcoded Elf64 types.
4620         (la_aarch64_gnu_pltenter): Likewise.
4621         * sysdeps/aarch64/dl-machine.h
4622         (elf_machine_runtime_setup): Use ElfW(Addr).
4624         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4625         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4626         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4627         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4628         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4629         (R_AARCH64_TLS_DTPMOD64): Rename to ..
4630         (R_AARCH64_TLS_DTPMOD): This.
4631         (R_AARCH64_TLS_DTPREL64): Rename to ...
4632         (R_AARCH64_TLS_DTPREL): This.
4633         (R_AARCH64_TLS_TPREL64): Rename to ...
4634         (R_AARCH64_TLS_TPREL): This.
4635         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4636         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4637         R_AARCH64_TLS_TPREL64.
4638         (elf_machine_rela): Likewise.
4640 2014-11-21  Torvald Riegel  <triegel@redhat.com>
4642         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4643         by setting it to 0.  64b atomics are not supported currently.
4645 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4647         [BZ #16469]
4648         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4649         search domain names.
4651 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4653         [BZ #16469]
4654         * NEWS: Update.
4655         * resolv/res_query.c (__libc_res_nquerydomain): Retain
4656         trailing dot.
4657         * posix/tst-getaddrinfo5.c: New.
4658         * posix/Makefile (tests): Add it.
4660 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4662         [BZ #14498]
4663         * NEWS: Fixed.
4664         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4665         after parsing line but before break_if_match.
4666         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4667         if there is a protocol mismatch.
4669 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4671         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4672         because the potential race is on the user-supplied stream.
4674 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4676         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4677         string literal if not passed a buffer.
4678         * manual/job.texi (ctermid): Update reasoning, note deviation
4679         from posix, suggest mtasurace when not passed a buffer, for
4680         future non-preliminary safety notes.
4682 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4684         * manual/users.texi (cuserid): Fix MT-Safety note for the case
4685         of not passing it a buffer.
4686         Reported by Peng Haitao.
4688 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4690         * manual/Makefile ($(objpfx)stamp-summary): Require
4691         check-safety.sh to pass.
4692         * manual/check-safety.sh: Wish for verification that every
4693         @deftypefn and @deftypefun is followed by a @safety remark.
4695 2014-11-20  Roland McGrath  <roland@hack.frob.com>
4697         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4699         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4700         PTHREAD_CANCEL_ASYNCHRONOUS.
4701         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4702         send SIGCANCEL.
4704         * nptl/default-sched.h: New file.
4705         * sysdeps/unix/sysv/linux/default-sched.h: New file.
4706         * nptl/pthread_create.c: Include it.
4707         (__pthread_create_2_1): Use collect_default_sched instead of making
4708         Linux syscalls here directly.
4710 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4712         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4713         __pthread_once): Use C11 atomics.
4715 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4717         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4719 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4721         * include/atomic.h (__atomic_link_error, __atomic_check_size,
4722         atomic_thread_fence_acquire, atomic_thread_fence_release,
4723         atomic_thread_fence_seq_cst, atomic_load_relaxed,
4724         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4725         atomic_compare_exchange_weak_relaxed,
4726         atomic_compare_exchange_weak_acquire,
4727         atomic_compare_exchange_weak_release,
4728         atomic_exchange_acquire, atomic_exchange_release,
4729         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4730         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4731         atomic_fetch_and_acquire,
4732         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4734 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4736         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4737         USE_ATOMIC_COMPILER_BUILTINS): Define.
4738         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4740         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4742         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4744         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4746         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4748         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4749         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4750         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4751         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4752         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4754         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4755         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4756         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4757         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4758         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4759         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4760         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4761         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4762         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4764         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4765         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4766         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4768         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4769         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4770         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4771         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4772         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4773         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4774         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4775         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4776         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4777         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4779 2014-11-19  Roland McGrath  <roland@hack.frob.com>
4781         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4782         the sched_priority value here.  It was already checked when the user
4783         called pthread_attr_setschedparam.
4785         * nptl/tst-bad-schedattr.c: New file.
4786         * nptl/Makefile (tests): Add it.
4788 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
4789             Florian Weimer  <fweimer@redhat.com>
4790             Joseph Myers  <joseph@codesourcery.com>
4791             Adam Conrad  <adconrad@0c3.net>
4792             Andreas Schwab  <schwab@suse.de>
4793             Brooks  <bmoses@google.com>
4795         [BZ #17625]
4796         * wordexp-test.c (__dso_handle): Add prototype.
4797         (__register_atfork): Likewise.
4798         (__app_register_atfork): New function.
4799         (registered_forks): New global.
4800         (register_fork): New function.
4801         (test_case): Add 3 new tests for WRDE_CMDSUB.
4802         (main): Call __app_register_atfork.
4803         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4804         fork count is non-zero fail the test.
4805         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4806         is set.
4807         (parse_dollars): Remove check for WRDE_NOCMD.
4808         (parse_dquote): Likewise.
4810 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4812         * Makeconfig (built-modules): List non-library modules to be
4813         built.
4814         (module-cppflags): Include libc-modules.h for
4815         everything except shlib-versions.v.i.
4816         (CPPFLAGS): Use it.
4817         (before-compile): Add libc-modules.h.
4818         ($(common-objpfx)libc-modules.h,
4819         $(common-objpfx)libc-modules.stmp): New targets.
4820         (common-generated): Add libc-modules.h and libc-modules.stmp.
4821         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4822         * include/libc-symbols.h: Don't include libc-modules.h.
4823         * include/libc-modules.h: Remove file.
4824         * scripts/gen-libc-modules.awk: New script to generate
4825         libc-modules.h.
4826         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4827         Depend on libc-modules.stmp.
4829         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4831         * Makeconfig (in-module): Get value of libof set for the
4832         translation unit.
4833         (CPPFLAGS): Use $(in-module).
4834         * Makerules: Don't suffix routine names for nonlib.
4835         * include/libc-modules.h: New file.
4836         * include/libc-symbols.h: Include libc-modules.h
4837         (IS_IN): New macro to replace IS_IN_* macros.
4838         * elf/Makefile: Set libof-* for each routine.
4839         * elf/rtld-Rules: Likewise.
4840         * extra-modules.mk: Likewise.
4841         * iconv/Makefile: Likewise.
4842         * iconvdata/Makefile: Likewise.
4843         * locale/Makefile: Likewise.
4844         * malloc/Makefile: Likewise.
4845         * nss/Makefile: Likewise.
4846         * sysdeps/gnu/Makefile: Likewise.
4847         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4848         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4849         * sysdeps/s390/s390-64/Makefile: Likewise.
4850         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
4851         CPPFLAGS for nscd instead of nonlib.
4853 2014-11-18  Roland McGrath  <roland@hack.frob.com>
4855         * nptl/createthread.c: New file.
4857         * nptl/createthread.c: Moved ...
4858         * sysdeps/unix/sysv/linux/createthread.c: ... here.
4860         * nptl/createthread.c: Add proper top-line comment.
4861         (do_clone): Folded into ...
4862         (create_thread): ... here.  Take new arguments STOPPED_START and
4863         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
4864         increment __nptl_threads, do event-reporting logic, do
4865         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4866         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
4867         resource cleanup if sched_setaffinity or sched_setscheduler fails,
4868         just send SIGCANCEL.
4869         * nptl/pthread_create.c: Forward-declare create_thread before
4870         including createthread.c.
4871         (start_thread): Use new macro START_THREAD_DEFN to replace defining
4872         declaration, and new macro START_THREAD_SELF to replace argument.
4873         Remove return statement.
4874         (report_thread_creation): New function.
4875         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
4876         synchronization logic, and __nptl_nthreads increment here, around
4877         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
4878         PD->parent_cancelhandling here, before create_thread.  When
4879         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4880         __deallocate_stack, and ENOMEM translation here.
4882 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
4884         [BZ #17616]
4885         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4886         (mptwo): Rename to __mptwo.
4887         (__inv): Use __mptwo instead of mptwo.
4888         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4889         (mptwo): Rename to __mptwo.
4890         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4891         of mpone and __mptwo instead of mptwo.
4892         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4893         instead of mpone.
4894         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4895         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4896         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4897         of mpone and __mptwo instead of mptwo.
4898         (__mpranred): Use __mpone instead of mpone.
4899         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4900         variable.
4901         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4902         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4903         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4904         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4905         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4906         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4907         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4908         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4909         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4910         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4911         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4912         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4913         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4914         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4915         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4916         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4917         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4918         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4919         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4921 2014-11-18  Tom de Vries  <tom@codesoucery.com>
4923         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4924         replace BSD Handler xref with BSD Signal Handling.
4926 2014-11-17  Richard Henderson  <rth@redhat.com>
4928         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4929         (_FP_PACK_RAW_2): Remove.
4930         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4931         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4932         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4933         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4934         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4935         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4936         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4937         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4938         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4939         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4940         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4941         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4942         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4943         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4944         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4945         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4947 2014-11-14  Roland McGrath  <roland@hack.frob.com>
4949         * signal/signal.h [__USE_MISC]
4950         (struct sigvec): Remove type.
4951         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4952         (sigvec): Remove declaration.
4953         * sysdeps/posix/sigvec.c: Moved ...
4954         * signal/sigvec.c: ... here, replacing old file.
4955         (struct sigvec): New type, copied from old signal.h definition.
4956         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4957         (__sigvec): Convert definition to prototype.
4958         (sigvec): Replace weak_alias with compat_symbol.
4959         * signal/Versions (libc: GLIBC_2.21): New version set.
4960         * include/signal.h: Remove __sigvec declaration.
4961         * sysdeps/unix/bsd/sigvec.c: Remove file.
4962         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4963         * manual/signal.texi (BSD Handler): Remove subsection.
4964         Move siginterrupt up to ...
4965         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
4966         (Blocking in BSD): Fold subsection into its parent.
4967         * NEWS: Mention sigvec removal.
4969 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4971         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4972         (DLA_FMS): Make definition conditional only on [__FMA4__].
4973         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4974         definition.
4976         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4977         Make definition conditional only on [PROF].
4978         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4979         definition.
4980         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4981         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4983         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4984         !__GNUC__].
4985         * include/signal.h (__sigpause): Move declaration above call to
4986         libc_hidden_proto.
4987         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4988         variable.
4989         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4990         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4992 2014-11-14  David S. Miller  <davem@davemloft.net>
4994         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4995         Define before including <string/memcpy.c> and <string/mempcpy.c>.
4997 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4999         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5000         * configure: Regenerated.
5001         * manual/install.texi (Tools for Compilation): Document a
5002         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5003         compiler verified to work.
5004         * INSTALL: Regenerated.
5006         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5007         redeclare with asm name.
5008         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5009         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5010         including <string.h>.
5011         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5012         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5013         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5014         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5015         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5016         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5017         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5019 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
5021         * stdlib/strtol.c (__strtol): Use prototype definition.
5023         [BZ #17594]
5024         * stdlib/strtol.c (SYM__): New macro.
5025         (SYM__1): Likewise.
5026         (__strtol): Likewise.
5027         (strtol): Rename to __strtol and define as weak alias of
5028         __strtol.  Use libc_hidden_weak.
5030 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5032         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5033         Use numbered labels in inline assembly.
5035 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5037         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5038         Add setjmp LIBC_PROBE.
5039         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5040         Likewise.
5041         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5042         Add longjmp, longjmp_target LIBC_PROBE.
5043         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5044         Likewise.
5046 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5048         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5049         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5050         to get rid of unused variable warning.
5052 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5054         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5055         Check for unwind_backtrace ==  NULL only in SHARED case.
5056         (__backchain_backtrace): Compile only in SHARED case.
5057         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5058         Likewise.
5059         (__backchain_backtrace): Declare as static.
5061 2014-11-12  Roland McGrath  <roland@hack.frob.com>
5063         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5064         (__libc_multiple_threads_ptr): Variable moved ...
5065         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5067 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
5069         * conform/GlibcConform.pm: New file.
5070         * conform/conformtest.pl: Use GlibcConform module.
5071         * conform/linknamespace.pl: New file.
5072         * conform/list-header-symbols.pl: Likewise.
5073         * conform/Makefile (linknamespace-symlists-base): New variable.
5074         (linknamespace-symlists-tests): Likewise.
5075         (linknamespace-header-base): Likewise.
5076         (linknamespace-header-tests): Likewise.
5077         (tests-special): Add new tests.
5078         ($(linknamespace-symlists-tests)): New rule.
5079         (linknamespace-libs): New variable.
5080         ($(objpfx)symlist-stdlibs): New rule.
5081         ($(linknamespace-header-tests)): Likewise.
5082         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5083         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5084         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5085         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5086         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5087         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5088         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5089         (test-xfail-ISO/math.h/linknamespace): Likewise.
5090         (test-xfail-ISO/signal.h/linknamespace): Likewise.
5091         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5092         (test-xfail-ISO/time.h/linknamespace): Likewise.
5093         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5094         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5095         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5096         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5097         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5098         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5099         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5100         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5101         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5102         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5103         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5104         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5105         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5106         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5107         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5108         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5109         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5110         (test-xfail-XPG3/search.h/linknamespace): Likewise.
5111         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5112         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5113         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5114         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5115         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5116         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5117         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5118         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5119         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5120         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5121         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5122         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5123         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5124         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5125         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5126         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5127         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5128         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5129         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5130         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5131         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5132         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5133         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5134         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5135         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5136         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5137         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5138         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5139         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5140         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5141         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5142         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5143         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5144         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5145         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5146         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5147         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5148         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5149         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5150         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5151         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5152         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5153         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5154         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5155         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5156         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5157         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5158         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5159         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5160         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5161         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5162         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5163         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5164         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5165         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5166         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5167         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5168         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5169         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5170         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5171         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5172         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5173         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5174         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5175         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5176         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5177         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5178         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5179         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5180         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5181         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5182         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5183         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5184         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5185         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5186         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5187         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5188         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5189         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5190         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5191         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5192         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5193         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5194         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5195         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5196         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5197         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5198         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5199         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5200         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5201         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5202         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5203         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5204         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5205         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5206         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5207         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5208         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5209         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5210         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5211         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5212         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5213         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5214         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5215         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5216         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5217         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5218         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5219         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5220         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5221         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5222         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5223         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5224         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5225         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5226         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5227         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5228         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5229         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5230         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5231         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5232         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5233         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5234         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5235         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5236         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5237         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5238         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5239         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5240         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5241         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5242         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5244         [BZ #17589]
5245         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5246         of fgets_unlocked.
5248         [BZ #17585]
5249         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5250         (memmem): Rename to __memmem and define as weak alias of
5251         __memmem.  Use libc_hidden_weak.
5252         (__memmem): Use libc_hidden_def.
5253         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
5254         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5255         memmem.
5257         [BZ #17582]
5258         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5259         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
5260         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5261         and define as weak alias of __fgets_unlocked.  Use
5262         libc_hidden_weak.
5263         (__fgets_unlocked): Use libc_hidden_def.
5264         * include/stdio.h (__fgets_unlocked): Declare.  Use
5265         libc_hidden_proto.
5266         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5267         __fgets_unlocked instead of fgets_unlocked.
5268         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5269         (GET_NPROCS_CONF_PARSER): Likewise.
5270         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5271         (GET_NPROCS_CONF_PARSER): Likewise.
5273         [BZ #17574]
5274         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5275         weak alias of __wmemset.  Use libc_hidden_weak.
5276         (__wmemset): Use libc_hidden_def.
5277         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
5278         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5279         of wmemset.
5281         [BZ #17573]
5282         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5283         with asm name __mempcpy.
5284         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5286         [BZ #17572]
5287         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5288         and define as weak alias of __rawmemchr.
5289         (__rawmemchr): Do not define as strong alias of rawmemchr.
5291         [BZ #17571]
5292         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5293         alias of __qsort_r.
5294         (qsort): Call __qsort_r instead of qsort_r.
5295         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5296         (__qsort_r): Declare.  Call libc_hidden_proto.
5297         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5298         instead of qsort_r.
5299         * nscd/gai.c (__qsort_r): Define to qsort_r.
5300         * posix/tst-rfc3484.c (__qsort_r): Likewise.
5301         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5302         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5304         [BZ #17570]
5305         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5306         define as weak alias of __malloc_info.
5308         [BZ #17584]
5309         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5310         as weak alias of __rewinddir.  Don't use libc_hidden_def.
5311         (__rewinddir): Use libc_hidden_def.
5312         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5313         as weak alias of __rewinddir.  Don't use libc_hidden_def.
5314         (__rewinddir): Use libc_hidden_def.
5315         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5316         weak alias of __rewinddir.  Don't use libc_hidden_def.
5317         (__rewinddir): Use libc_hidden_def.
5318         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5319         (__rewinddir): Use libc_hidden_proto.
5320         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5321         rewinddir.
5322         (__getcwd): Use __rewinddir instead of rewinddir.
5324         [BZ #17583]
5325         * libio/fileno.c (fileno): Rename to __fileno and define as weak
5326         alias of __fileno.  Use libc_hidden_weak.
5327         (__fileno): Use libc_hidden_def.
5328         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5329         * libio/ftello.c (ftello): Rename to __ftello and define as weak
5330         alias of __ftello.
5331         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5332         __ftello.
5333         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5334         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
5335         libc_hidden_def.
5336         (fread_unlocked): Don't use libc_hidden_ver.
5337         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5338         and define as weak alias of __fread_unlocked.  Don't use
5339         libc_hidden_def.
5340         (__fread_unlocked): Use libc_hidden_def.
5341         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
5342         (ftello): Don't use libc_hidden_proto.
5343         (__ftello): Declare.  Use libc_hidden_proto.
5344         (fread_unlocked): Don't use libc_hidden_proto.
5345         (__fread_unlocked): Declare.  Use libc_hidden_proto.
5346         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5347         and __ftello instead of fileno, fread_unlocked and ftello.
5349 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5351         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5352         GOT12.
5353         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5354         Likewise.
5355         (_dl_start_user): Likewise.
5356         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5358 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
5359             Siddhesh Poyarekar  <siddhesh@redhat.com>
5361         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5362         Move argv and envp down instead of moving argc up.
5363         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5365 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
5367         [BZ #17506]
5368         * test-skeleton.c (main): Return successful if one of
5369         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5370         * string/tst-strcoll-overflow.c: Define expected status.
5372 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
5374         [BZ #17475]
5375         * locale/iso-639.def: Define Bhili and Tulu language codes.
5377 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
5379         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5381 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
5383         [BZ #17555]
5384         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5386 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5388         * configure.ac: Updated check of minimal required version to
5389         2.22.
5390         * manual/install.texi (Tools for Compilation): Updated version
5391         number.
5392         * configure: Regenerated.
5393         * INSTALL: Likewise.
5395 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
5397         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5398         __tls_get_addr.
5400 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
5402         * include/sys/wait.h (__libc_waitpid): Remove declaration.
5403         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5404         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5405         libc_hidden_weak.
5406         (waitpid): Define as alias of __waitpid.
5407         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5408         __waitpid.
5409         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5410         libc_hidden_weak.
5411         (waitpid): Define as alias of __waitpid.
5412         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5413         __libc_waitpid alias.
5414         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5415         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5416         Likewise.
5417         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5418         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5419         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5420         alias.
5421         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5422         __waitpid.
5423         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5424         libc_hidden_weak.
5425         (waitpid): Define as alias of __waitpid.
5427 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
5429         * manual/llio.texi: Add comment that write safety has been
5430         fixed in Linux.
5432         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5433         (localplt-build-dso): Add elf/ld.so.
5434         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5435         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5436         and free for ld.so.
5437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5438         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5440         Likewise.
5441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5442         Likewise.
5443         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5444         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5445         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5446         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5447         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5448         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5449         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5450         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5451         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5452         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5453         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5455 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
5457         [BZ #14132]
5458         * include/libc-symbols.h (INTUSE): Remove macro.
5459         (INTDEF): Likewise.
5460         (INTVARDEF): Likewise.
5461         (_INTVARDEF): Likewise.
5462         (INTDEF2): Likewise.
5463         (INTVARDEF2): Likewise.
5464         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5465         rtld_hidden_def instead of INTVARDEF.
5466         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5467         (_dl_starting_up_internal): Remove declaration.
5468         (_dl_starting_up): Use rtld_hidden_proto.
5469         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5470         declaration.
5471         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5472         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5473         _dl_starting_up.
5474         * elf/dl-writev.h (_dl_writev): Likewise.
5475         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5476         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5477         _dl_starting_up_internal.
5479 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5481         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5482         test-skeleton.c.
5484 2014-11-05  Will Newton  <will.newton@linaro.org>
5486         * benchtests/Makefile: (bench-malloc): Add malloc thread
5487         scalability benchmark.
5488         * benchtests/bench-malloc-threads.c: New file.
5490 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
5492         * sysdeps/aarch64/strchrnul.S: New file.
5494 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5496         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5497         definition.
5498         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5499         Likwise.
5500         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5501         Likewise.
5502         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5503         Likewise.
5504         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5505         Likewise.
5506         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5507         Likewise.
5509 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
5511         * catgets/test-gencat.c: Use test-skeleton.c.
5512         * catgets/tst-catgets.c: Likewise.
5513         * csu/tst-empty.c: Likewise.
5514         * elf/tst-audit2.c: Likewise.
5515         * elf/tst-global1.c: Likewise.
5516         * elf/tst-pathopt.c: Likewise.
5517         * elf/tst-piemod1.c: Likewise.
5518         * elf/tst-tls10.c: Likewise.
5519         * elf/tst-tls11.c: Likewise.
5520         * elf/tst-tls12.c: Likewise.
5521         * gnulib/tst-gcc.c: Likewise.
5522         * iconvdata/tst-e2big.c: Likewise.
5523         * iconvdata/tst-loading.c: Likewise.
5524         * iconv/tst-iconv1.c: Likewise.
5525         * iconv/tst-iconv2.c: Likewise.
5526         * inet/test-inet6_opt.c: Likewise.
5527         * inet/tst-gethnm.c: Likewise.
5528         * inet/tst-network.c: Likewise.
5529         * inet/tst-ntoa.c: Likewise.
5530         * intl/tst-codeset.c: Likewise.
5531         * intl/tst-gettext2.c: Likewise.
5532         * intl/tst-gettext3.c: Likewise.
5533         * intl/tst-ngettext.c: Likewise.
5534         * intl/tst-translit.c: Likewise.
5535         * io/test-stat.c: Likewise.
5536         * libio/test-fmemopen.c: Likewise.
5537         * libio/tst-freopen.c: Likewise.
5538         * libio/tst-sscanf.c: Likewise.
5539         * libio/tst-ungetwc1.c: Likewise.
5540         * libio/tst-ungetwc2.c: Likewise.
5541         * libio/tst-widetext.c: Likewise.
5542         * localedata/tst-ctype.c: Likewise.
5543         * localedata/tst-digits.c: Likewise.
5544         * localedata/tst-leaks.c: Likewise.
5545         * localedata/tst-mbswcs1.c: Likewise.
5546         * localedata/tst-mbswcs2.c: Likewise.
5547         * localedata/tst-mbswcs3.c: Likewise.
5548         * localedata/tst-mbswcs4.c: Likewise.
5549         * localedata/tst-mbswcs5.c: Likewise.
5550         * localedata/tst-setlocale.c: Likewise.
5551         * localedata/tst-trans.c: Likewise.
5552         * localedata/tst-wctype.c: Likewise.
5553         * localedata/tst-xlocale1.c: Likewise.
5554         * login/tst-grantpt.c: Likewise.
5555         * malloc/tst-calloc.c: Likewise.
5556         * malloc/tst-malloc.c: Likewise.
5557         * malloc/tst-mallocstate.c: Likewise.
5558         * malloc/tst-mcheck.c: Likewise.
5559         * malloc/tst-mtrace.c: Likewise.
5560         * malloc/tst-obstack.c: Likewise.
5561         * math/atest-exp2.c: Likewise.
5562         * math/atest-exp.c: Likewise.
5563         * math/atest-sincos.c: Likewise.
5564         * math/test-matherr.c: Likewise.
5565         * math/test-misc.c: Likewise.
5566         * math/test-powl.c: Likewise.
5567         * math/tst-definitions.c: Likewise.
5568         * misc/tst-dirname.c: Likewise.
5569         * misc/tst-efgcvt.c: Likewise.
5570         * misc/tst-fdset.c: Likewise.
5571         * misc/tst-hsearch.c: Likewise.
5572         * misc/tst-mntent2.c: Likewise.
5573         * nptl/tst-sem7.c: Likewise.
5574         * nptl/tst-sem8.c: Likewise.
5575         * nptl/tst-sem9.c: Likewise.
5576         * nss/test-netdb.c: Likewise.
5577         * posix/tst-fnmatch.c: Likewise.
5578         * posix/tst-getlogin.c: Likewise.
5579         * posix/tst-gnuglob.c: Likewise.
5580         * posix/tst-mmap.c: Likewise.
5581         * pwd/tst-getpw.c: Likewise.
5582         * resolv/tst-inet_ntop.c: Likewise.
5583         * rt/tst-timer.c: Likewise.
5584         * stdio-common/test-fseek.c: Likewise.
5585         * stdio-common/test-popen.c: Likewise.
5586         * stdio-common/test-vfprintf.c: Likewise.
5587         * stdio-common/tst-cookie.c: Likewise.
5588         * stdio-common/tst-fileno.c: Likewise.
5589         * stdio-common/tst-gets.c: Likewise.
5590         * stdio-common/tst-obprintf.c: Likewise.
5591         * stdio-common/tst-perror.c: Likewise.
5592         * stdio-common/tst-sprintf2.c: Likewise.
5593         * stdio-common/tst-sprintf3.c: Likewise.
5594         * stdio-common/tst-sprintf.c: Likewise.
5595         * stdio-common/tst-swprintf.c: Likewise.
5596         * stdio-common/tst-tmpnam.c: Likewise.
5597         * stdio-common/tst-unbputc.c: Likewise.
5598         * stdio-common/tst-wc-printf.c: Likewise.
5599         * stdlib/tst-environ.c: Likewise.
5600         * stdlib/tst-fmtmsg.c: Likewise.
5601         * stdlib/tst-limits.c: Likewise.
5602         * stdlib/tst-rand48-2.c: Likewise.
5603         * stdlib/tst-rand48.c: Likewise.
5604         * stdlib/tst-random2.c: Likewise.
5605         * stdlib/tst-random.c: Likewise.
5606         * stdlib/tst-strtol.c: Likewise.
5607         * stdlib/tst-strtoll.c: Likewise.
5608         * stdlib/tst-tls-atexit.c: Likewise.
5609         * stdlib/tst-xpg-basename.c: Likewise.
5610         * string/test-ffs.c: Likewise.
5611         * string/tst-bswap.c: Likewise.
5612         * string/tst-inlcall.c: Likewise.
5613         * string/tst-strtok.c: Likewise.
5614         * string/tst-strxfrm.c: Likewise.
5615         * sysdeps/x86_64/tst-audit10.c: Likewise.
5616         * sysdeps/x86_64/tst-audit3.c: Likewise.
5617         * sysdeps/x86_64/tst-audit4.c: Likewise.
5618         * sysdeps/x86_64/tst-audit5.c: Likewise.
5619         * time/tst-ftime_l.c: Likewise.
5620         * time/tst-getdate.c: Likewise.
5621         * time/tst-mktime3.c: Likewise.
5622         * time/tst-mktime.c: Likewise.
5623         * time/tst-posixtz.c: Likewise.
5624         * time/tst-strptime2.c: Likewise.
5625         * time/tst-strptime3.c: Likewise.
5626         * wcsmbs/tst-btowc.c: Likewise.
5627         * wcsmbs/tst-mbrtowc.c: Likewise.
5628         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5629         * wcsmbs/tst-wchar-h.c: Likewise.
5630         * wcsmbs/tst-wcpncpy.c: Likewise.
5631         * wcsmbs/tst-wcrtomb.c: Likewise.
5632         * wcsmbs/tst-wcsnlen.c: Likewise.
5633         * wcsmbs/tst-wcstof.c: Likewise.
5635 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
5637         [BZ #14132]
5638         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5639         INTDEF.
5640         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5641         declaration.
5642         (_dl_mcount): Use rtld_hidden_proto.
5643         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5644         _dl_mcount.
5645         * elf/rtld.c (_rtld_global_ro): Likewise.
5647         [BZ #14132]
5648         * elf/dl-init.c (_dl_init): Don't use INTDEF.
5649         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5650         of _dl_init_internal.
5651         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5652         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5653         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5654         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5655         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5656         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5657         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5658         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5659         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5660         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5661         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5662         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5663         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5664         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5665         * sysdeps/tile/dl-start.S (_start): Likewise.
5666         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5667         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5669         [BZ #14132]
5670         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5671         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5672         (rtld_progname): Make macro definition unconditional.
5673         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5674         INTDEF.
5675         (dlmopen_doit): Do not use INTUSE with _dl_argv.
5676         (dl_main): Likewise.
5677         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5678         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5679         instead of _dl_argv_internal.
5680         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5681         __GI__dl_argv instead of INTUSE(_dl_argv).
5682         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5683         __GI__dl_argv instead of _dl_argv_internal.
5685         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5686         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5687         macro.
5688         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5689         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5690         New macro.
5691         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5692         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5693         macro.
5694         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5695         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5697 2014-11-04  Andreas Schwab  <schwab@suse.de>
5699         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5701 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5703         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5704         mtvsrd instruction in binary form.
5706 2014-11-03  Andreas Schwab  <schwab@suse.de>
5708         [BZ #17522]
5709         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5710         for less than MB_LEN_MAX use a local buffer of that size.
5711         * libio/tst-fputws.c: New file.
5712         * libio/Makefile (tests): Add tst-fputws.
5714 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
5716         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5717         the size of the fpu_fr.fpu_dregs[] array.
5719 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
5721         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5722         (__nanosleep): Do not define as alias.
5723         (nanosleep): Define as alias of __nanosleep.
5724         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5725         __libc_nanosleep name.
5727 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5729         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5730         install.texi in comment.
5732 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5734         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5735         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5736         ... add here and use lwsync or sync ...
5737         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5738         ... and add here using lwsync.
5740 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5742         * elf/dl-machine-reject-phdr.h: New file.
5743         * elf/dl-load.c: #include that.
5744         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5745         if that returned true.
5747 2014-10-31  Roland McGrath  <roland@hack.frob.com>
5749         [BZ #17496]
5750         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5751         gen-as-const-headers chunk.  Add a big scare comment after the last
5752         safe place to touch before-compile.
5754 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5756         * manual/install.texi (Tools for Compilation): Update autoconf
5757         version requirements.
5758         * INSTALL: Regenerated.
5760         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5761         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5762         (__libc_pselect): Likewise.
5764         [BZ #14138]
5765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5770 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5772         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5773         correct barrier instruction.
5774         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5775         Likewise.
5776         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5777         Likewise.
5779 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5781         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5782         after defining inlines.  Instead, just use parens to defeat macro
5783         expansion of __isctype in its declaration.
5785 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5787         * include/sys/uio.h (__libc_readv): Remove declaration.
5788         (__libc_writev): Likewise.
5789         * misc/readv.c (__libc_readv): Rename to __readv.
5790         (__readv): Do not define as alias.
5791         (readv): Define as alias of __readv.
5792         * misc/writev.c (__libc_writev): Rename to __writev.
5793         (__writev): Do not define as alias.
5794         (writev): Define as alias of __writev.
5795         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5796         (__readv): Do not define as alias.
5797         (readv): Define unconditionally as alias of __readv.
5798         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5799         (__writev): Do not define as alias.
5800         (writev): Define unconditionally as alias of __writev.
5801         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5802         name.
5803         (writev): Do not define __libc_writev name.
5805 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5807         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5808         (convert_charseq): New function, broken out of ...
5809         (use_from_charmap): ... here.  Call it.
5810         (use_to_charmap): Use convert_charseq and free instead of duplicating
5811         its code with a variable-length stack struct.
5813 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5815         * include/fcntl.h (__libc_creat): Remove declaration.
5816         * io/creat.c (__libc_creat): Rename to creat.
5817         (creat): Do not define as alias.
5818         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5819         of creat instead of __libc_creat.
5820         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5821         to creat.
5822         (creat): Do not define as alias.
5823         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5824         __libc_creat.
5825         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5826         __libc_creat name.
5827         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5828         Likewise.
5830 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
5832         * manual/llio.texi: Add comments discussing why write() may be
5833         considered MT-unsafe on Linux.
5835 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
5837         * dl-load.c (local_strdup): Remove.
5838         (expand_dynamic_string_token): Use __strdup.
5839         (decompose_rpath): Likewise.
5840         (_dl_map_object): Likewise.
5842 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
5844         [BZ #14132]
5845         * sysdeps/generic/unwind-dw2-fde.c
5846         (__register_frame_info_bases_internal): Do not declare.
5847         (__register_frame_info_table_bases_internal): Likewise.
5848         (__deregister_frame_info_bases_internal): Likewise.
5849         (__register_frame_info_bases): Declare and use hidden_proto before
5850         definition.  Use hidden_def instead of INTDEF.
5851         (__register_frame_info_table_bases): Likewise.
5852         (__deregister_frame_info_bases): Likewise.
5853         (__register_frame_info): Do not use INTUSE.
5854         (__register_frame): Likewise.
5855         (__register_frame_info_table): Likewise.
5856         (__register_frame_table): Likewise.
5857         (__deregister_frame_info): Likewise.
5858         (__deregister_frame): Likewise.
5860 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
5862         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5863         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5864         not undefine.
5865         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5866         Likewise.
5867         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5868         Likewise.
5870 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
5872         [BZ #14138]
5873         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5874         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5875         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5876         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5877         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5878         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5879         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5880         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5881         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5882         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5883         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5884         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5885         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5886         syscall.
5887         (setfsuid): Likewise.
5888         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5889         (setfsuid): Likewise.
5890         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5891         (setfsuid): Likewise.
5892         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5893         Likewise.
5894         (setfsuid): Likewise.
5895         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5896         (setfsuid): Likewise.
5897         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5898         Likewise.
5899         (setfsuid): Likewise.
5901 2014-10-27  Andreas Schwab  <schwab@suse.de>
5903         [BZ #17501]
5904         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5905         check for Slow_SSE4_2 feature bit.
5906         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5907         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5908         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5909         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
5911 2014-10-24  Roland McGrath  <roland@hack.frob.com>
5913         * configure.ac: Validate compiler version with a empirical test of
5914         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5915         $CC -v output.
5916         * configure: Regenerated.
5918         * inet/htons.c (htons): Prototypify.
5919         * inet/htonl.c (htonl): Likewise.
5921 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5923         * string/strncat.c (strncat): Improve performance by using strlen.
5925 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5927         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5929 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5931         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5932         Call libc_fetestexcept_aarch64.
5934 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5936         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5937         Call libc_feholdexcept_aarch64.
5939 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5941         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5942         Call get_rounding_mode.
5944 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5946         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5947         Simplify logic.
5949 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5951         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5952         Simplify logic.
5954 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
5956         [BZ #14138]
5957         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5958         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5959         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5960         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5961         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5962         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5963         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5964         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5965         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5966         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5967         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5968         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5969         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5970         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5971         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5972         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5973         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5974         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5975         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5976         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5977         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5978         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5979         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5980         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5981         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5982         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5983         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5984         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5985         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5986         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5987         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5988         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5989         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5990         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5991         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5992         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5993         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5994         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5995         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5996         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5997         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5998         syscall.
5999         (geteuid): Likewise.
6000         (getgid): Likewise.
6001         (getuid): Likewise.
6002         (getresgid): Likewise.
6003         (getresuid): Likewise.
6004         (getgroups): Likewise.
6005         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6006         (geteuid): Likewise.
6007         (getgid): Likewise.
6008         (getuid): Likewise.
6009         (getresgid): Likewise.
6010         (getresuid): Likewise.
6011         (getgroups): Likewise.
6012         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6013         (geteuid): Likewise.
6014         (getgid): Likewise.
6015         (getuid): Likewise.
6016         (getresgid): Likewise.
6017         (getresuid): Likewise.
6018         (getgroups): Likewise.
6019         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6020         Likewise.
6021         (geteuid): Likewise.
6022         (getgid): Likewise.
6023         (getuid): Likewise.
6024         (getresgid): Likewise.
6025         (getresuid): Likewise.
6026         (getgroups): Likewise.
6027         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6028         (geteuid): Likewise.
6029         (getgid): Likewise.
6030         (getuid): Likewise.
6031         (getresgid): Likewise.
6032         (getresuid): Likewise.
6033         (getgroups): Likewise.
6034         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6035         Likewise.
6036         (geteuid): Likewise.
6037         (getgid): Likewise.
6038         (getuid): Likewise.
6039         (getgroups): Likewise.
6041         [BZ #14138]
6042         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6043         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6044         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6045         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6046         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6047         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6048         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6049         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6050         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6051         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6052         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6053         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6054         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6055         __chown.
6056         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6057         (lchown): Likewise.
6058         (fchown): Likewise.
6059         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6060         Likewise.
6061         (lchown): Likewise.
6062         (fchown): Likewise.
6063         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6064         (lchown): Likewise.
6065         (fchown): Likewise.
6066         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6067         Likewise.
6068         (lchown): Likewise.
6069         (fchown): Likewise.
6071 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6073         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6074         Simplify logic.
6076 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6078         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6079         Cleanup logic.
6081 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6083         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6084         Remove unused include.
6086 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6088         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6089         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6090         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6091         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6093 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
6094             Helge Deller <deller@gmx.de>
6096         [BZ #17508]
6097         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6098         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6099         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6101 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
6103         [BZ #14132]
6104         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6105         Remove macro definition.
6106         (__ashrdi3_v_glibc20): Likewise.
6107         (__lshrdi3_v_glibc20): Likewise.
6108         (__cmpdi2_v_glibc20): Likewise.
6109         (__ucmpdi2_v_glibc20): Likewise.
6110         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6111         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6112         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6113         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6114         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6115         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6117 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6119         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6120         old GNU extension [0] syntax.
6121         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6122         alloca rather than an array member with variable length.
6123         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6124         * nscd/nscd.c (invalidate_db): New function, broken out of ...
6125         (parse_opt): ... here.  Likewise use alloca there.
6126         Validate the -i argument before checking for rootness.
6127         (send_shutdown): New function, broken out of ...
6128         (parse_opt): ... here.
6130 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6132         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6133         macro to get at the _rt_local_ro field.
6134         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6135         ([PIC] case) or _dl_hwcap ([!PIC] case).
6136         * sysdeps/arm/setjmp.S: Likewise.
6138         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6139         * sysdeps/arm/configure.ac: New check to define it.
6140         * sysdeps/arm/configure: Regenerated.
6141         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6142         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6143         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6144         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6145         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6146         Use move/movt pair instead of a load.
6147         (LDST_GLOBAL): Macro removed.
6148         (LDR_GLOBAL): New macro replaces it.
6149         (LDR_HIDDEN): New macro.
6150         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6151         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6153         * setjmp/tst-setjmp-static.c: New file.
6154         * setjmp/Makefile (tests): Add it.
6155         (tests-static): New variable.
6157 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
6159         [BZ #17485]
6160         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6162 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
6164         [BZ #14132]
6165         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6167 2014-10-21  Roland McGrath  <roland@hack.frob.com>
6169         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6171 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6173         * io/fts.c (dirent_not_directory): New function.
6174         (fts_build): Call it.
6176 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6178         * nptl/version.c (__nptl_main): Use normal __write rather than
6179         INTERNAL_SYSCALL.
6180         (banner): Update copyright years.
6182         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6183         gettimeofday.
6184         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6185         * nptl/pthread_cond_timedwait.c: Likewise.
6186         * nptl/pthread_mutex_timedlock.c: Likewise.
6187         * nptl/sem_timedwait.c: Likewise.
6189         * sysdeps/nptl/bits/libc-lock.h
6190         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6191         (__libc_lock_init_recursive): Return void, not 0.
6192         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6193         (__libc_rwlock_init): Likewise.
6194         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6196 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6198         [BZ #15215]
6199         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6200         (__pthread_once_slow): ... here.
6201         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6202         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6204 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6206         [BZ #15215]
6207         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6208         __PTHREAD_ONCE_FORK_GEN_INCR): New.
6209         * sysdeps/nptl/fork.c (__libc_fork): Use them.
6210         * nptl/pthread_once.c (__pthread_once): Likewise.
6211         Update comments.
6213 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
6215         [BZ #14138]
6216         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6217         name.
6218         (writev): Use __libc_writev as strong name.
6219         * sysdeps/unix/sysv/linux/readv.c: Remove file.
6220         * sysdeps/unix/sysv/linux/writev.c: Likewise.
6222 2014-10-17  Roland McGrath  <roland@hack.frob.com>
6224         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6226         * sysdeps/i386/nptl/tls.h
6227         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6228         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6229         New macros.
6230         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6231         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6232         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6233         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6234         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6235         Call CHECK_THREAD_SYSINFO instead of doing an assert.
6237         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6238         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6239         on [__NR_futex].
6240         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6241         broken out of ...
6242         (__pthread_mutex_init): ... here.  Call it.
6243         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6244         Conditionalize PI cases on [__NR_futex].
6245         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6246         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6247         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6249         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6250         conditional on [SIGSETXID].
6251         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6252         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6253         is defined.  Likewise for SIGSETXID.
6254         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6255         Conditionalize definitions on [SIGSETXID].
6256         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6257         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6258         unblocking on [SIGCANCEL].
6260         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6261         [__NR_set_robust_list].
6263 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6265         * string/strcoll_l.c (get_next_seq): Fix up formatting.
6266         (do_compare): Likewise.
6268 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
6270         [BZ #15884]
6271         * string/strcoll_l.c: Don't include stdio.h.
6272         (coll_seq): Remove members idxarr and rulearr.
6273         (get_next_seq_cached): Remove function.
6274         (get_next_seq): Likewise.
6275         (get_next_seq_nocache): Rename to get_next_seq.
6276         (do_compare): Remove function.
6277         (do_compare_nocache): Rename to do_compare.
6278         (STRCOLL): Remove weight and rules cache.
6280 2014-10-16  Roland McGrath  <roland@hack.frob.com>
6282         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6283         * sysdeps/arm/sfp-machine.h: ... to here.
6284         * sysdeps/arm/Implies: Remove arm/soft-fp.
6286 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
6288         * conform/data/sys/utsname.h-data (*_t): Allow.
6289         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6290         [POSIX] (WEXITED): Do not expect constant.
6291         [POSIX] (WSTOPPED): Likewise.
6292         [POSIX] (WNOHANG): Likewise.
6293         [POSIX] (WNOWAIT): Likewise.
6294         [POSIX] (siginfo_t): Do not expect type or elements.
6295         [POSIX] (pid_t): Do not expect type.
6296         [POSIX] (signal.h): Do not allow header.
6297         [POSIX] (sys/resource.h): Likewise.
6298         [POSIX] (si_*): Do not allow pattern.
6299         [POSIX] (W*): Likewise.
6300         [POSIX] (P_*): Likewise.
6301         [POSIX] (BUS_*): Likewise.
6302         [POSIX] (CLD_*): Likewise.
6303         [POSIX] (FPE_*): Likewise.
6304         [POSIX] (ILL_*): Likewise.
6305         [POSIX] (POLL_*): Likewise.
6306         [POSIX] (SEGV_*): Likewise.
6307         [POSIX] (SI_*): Likewise.
6308         [POSIX] (TRAP_*): Likewise.
6309         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6310         variable.
6312 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
6314         [BZ #12926]
6315         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6316         infinite loop when __recvmsg returns 0.
6318 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
6320         * CANCEL-FCT-WAIVE: Remove file.
6321         * CANCEL-FILE-WAIVE: Likewise.
6323         [BZ #14132]
6324         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6325         instead of INTVARDEF.
6326         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6327         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6328         rtld_hidden_data_def instead of INTVARDEF.
6329         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6330         * elf/dl-deps.c (expand_dst): Likewise.
6331         * elf/dl-load.c (_dl_dst_count): Likewise.
6332         (_dl_dst_substitute): Likewise.
6333         (decompose_rpath): Likewise.
6334         (_dl_init_paths): Likewise.
6335         (open_path): Likewise.
6336         (_dl_map_object): Likewise.
6337         * elf/rtld.c (dl_main): Likewise.
6338         (process_dl_audit): Likewise.
6339         (process_envvars): Likewise.
6340         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6341         Remove declaration.
6342         (__libc_enable_secure): Use rtld_hidden_proto.
6344 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6346         * elf/dl-load.c
6347         (add_path): New function broken out of _dl_rtld_di_serinfo.
6348         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
6350 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6352         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6353         parentheses around macro arguments.
6354         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6355         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6356         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6358         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6359         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6360         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6362         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6363         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6364         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6365         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6366         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6367         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6368         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6369         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6370         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6372         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6373         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6375         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6376         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6377         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6378         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6379         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6380         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6381         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6382         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6383         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6384         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6385         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6386         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6387         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6388         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6389         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6390         Likewise.
6391         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6392         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6393         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6394         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6395         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6396         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6397         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6398         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6399         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6400         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6401         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6402         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6403         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6404         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6405         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6406         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6407         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6408         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6409         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6410         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6411         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6412         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6413         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6414         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6415         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6416         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6417         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6418         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6419         (_FP_FRAC_SRS_1): Likewise.
6420         (_FP_FRAC_CLZ_1): Likewise.
6421         (_FP_MUL_MEAT_1_imm): Likewise.
6422         (_FP_MUL_MEAT_1_wide): Likewise.
6423         (_FP_MUL_MEAT_1_hard): Likewise.
6424         (_FP_SQRT_MEAT_1): Likewise.
6425         (_FP_FRAC_ASSEMBLE_1): Likewise.
6426         (_FP_FRAC_DISASSEMBLE_1): Likewise.
6427         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6428         (__FP_CLZ_2): Likewise.
6429         (_FP_MUL_MEAT_2_wide): Likewise.
6430         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6431         (_FP_MUL_MEAT_2_gmp): Likewise.
6432         (_FP_MUL_MEAT_2_120_240_double): Likewise.
6433         (_FP_SQRT_MEAT_2): Likewise.
6434         (_FP_FRAC_ASSEMBLE_2): Likewise.
6435         (_FP_FRAC_DISASSEMBLE_2): Likewise.
6436         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6437         (_FP_FRAC_CLZ_4): Likewise.
6438         (_FP_MUL_MEAT_4_wide): Likewise.
6439         (_FP_MUL_MEAT_4_gmp): Likewise.
6440         (_FP_SQRT_MEAT_4): Likewise.
6441         (_FP_FRAC_ASSEMBLE_4): Likewise.
6442         (_FP_FRAC_DISASSEMBLE_4): Likewise.
6443         * soft-fp/op-common.h (_FP_CMP): Likewise.
6444         (_FP_CMP_EQ): Likewise.
6445         (_FP_CMP_UNORD): Likewise.
6446         (_FP_TO_INT): Likewise.
6447         (_FP_FROM_INT): Likewise.
6448         [!__FP_CLZ] (__FP_CLZ): Likewise.
6449         (_FP_DIV_HELP_imm): Likewise.
6450         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6451         Likewise.
6452         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6453         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6454         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6455         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6456         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6457         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6458         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6459         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6460         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6461         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6462         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6463         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6464         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6465         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6466         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6467         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6468         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6469         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6470         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6471         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6472         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6473         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6474         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6475         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6476         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6477         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6478         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6479         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6480         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6481         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6482         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6483         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6484         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6485         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6486         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6487         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6488         (FP_UNPACK_RAW_SP): Likewise.
6489         (FP_PACK_RAW_S): Likewise.
6490         (FP_PACK_RAW_SP): Likewise.
6491         (FP_UNPACK_S): Likewise.
6492         (FP_UNPACK_SP): Likewise.
6493         (FP_UNPACK_SEMIRAW_S): Likewise.
6494         (FP_UNPACK_SEMIRAW_SP): Likewise.
6495         (FP_PACK_S): Likewise.
6496         (FP_PACK_SP): Likewise.
6497         (FP_PACK_SEMIRAW_S): Likewise.
6498         (FP_PACK_SEMIRAW_SP): Likewise.
6499         (_FP_SQRT_MEAT_S): Likewise.
6500         (FP_CMP_S): Likewise.
6501         (FP_CMP_EQ_S): Likewise.
6502         (FP_CMP_UNORD_S): Likewise.
6503         (FP_TO_INT_S): Likewise.
6504         (FP_FROM_INT_S): Likewise.
6506         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6508         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6509         (FP_EX_INVALID_IMZ): Likewise.
6510         (FP_EX_INVALID_IMZ_FMA): Likewise.
6511         (FP_EX_INVALID_ISI): Likewise.
6512         (FP_EX_INVALID_ZDZ): Likewise.
6513         (FP_EX_INVALID_IDI): Likewise.
6514         (FP_EX_INVALID_SQRT): Likewise.
6515         (FP_EX_INVALID_CVI): Likewise.
6516         (FP_EX_INVALID_VC): Likewise.
6517         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6518         "invalid" exceptions.
6519         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6520         (_FP_ADD_INTERNAL): Likewise.
6521         (_FP_MUL): Likewise.
6522         (_FP_FMA): Likewise.
6523         (_FP_DIV): Likewise.
6524         (_FP_CMP_CHECK_NAN): Likewise.
6525         (_FP_SQRT): Likewise.
6526         (_FP_TO_INT): Likewise.
6527         (FP_EXTEND): Likewise.
6529 2014-10-09  Allan McRae  <allan@archlinux.org>
6531         * po/fr.po: Update French translation from translation project.
6533 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6535         [BZ #14132]
6536         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6537         of INTDEF.
6538         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6539         (__cxa_atexit): Use libc_hidden_proto.
6540         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6542         [BZ #14132]
6543         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6544         declaration.
6545         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6546         [!_ISOMAC] (__iswspace_l_internal): Likewise.
6547         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6548         [!_ISOMAC] (__iswctype_internal): Likewise.
6549         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6550         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6551         alias.
6552         (fcntl): Remove __fcntl_internal alias.
6553         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6554         __connect_internal alias.
6555         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6556         Likewise.
6558         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6559         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6560         FP_DENORM_ZERO.
6561         (_FP_CHECK_FLUSH_ZERO): New macro.
6562         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6563         (_FP_CMP): Likewise.
6564         (_FP_CMP_EQ): Likewise.
6565         (_FP_TO_INT): Do not set inexact for subnormal arguments if
6566         FP_DENORM_ZERO.
6567         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6568         (FP_TRUNC): Likewise.
6570         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6571         treated as invalid conversion, not as normal exponent.
6573         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6574         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
6575         (_FP_CMP_EQ): Likewise.
6576         (_FP_CMP_UNORD): Likewise.
6577         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6578         (FP_CMP_EQ_D): Likewise.
6579         (FP_CMP_UNORD_D): Likewise.
6580         * soft-fp/extended.h (FP_CMP_E): Likewise.
6581         (FP_CMP_EQ_E): Likewise.
6582         (FP_CMP_UNORD_E): Likewise.
6583         * soft-fp/quad.h (FP_CMP_Q): Likewise.
6584         (FP_CMP_EQ_Q): Likewise.
6585         (FP_CMP_UNORD_Q): Likewise.
6586         * soft-fp/single.h (FP_CMP_S): Likewise.
6587         (FP_CMP_EQ_S): Likewise.
6588         (FP_CMP_UNORD_S): Likewise.
6589         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6590         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6591         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6592         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6593         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6594         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6595         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6596         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6597         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6598         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6599         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6600         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6601         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6602         to FP_CMP_Q.
6603         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6604         FP_CMP_Q.
6605         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6606         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6607         FP_CMP_EQ_Q.
6608         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6609         FP_CMP_Q.
6610         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6611         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6612         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6613         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6614         FP_CMP_EQ_Q.
6615         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6616         FP_CMP_Q.
6617         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6618         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6619         FP_CMP_EQ_Q.
6620         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6621         FP_CMP_Q.
6622         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6623         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6624         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6625         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6626         FP_CMP_EQ_Q.
6628         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6629         a subnormal result, set the underflow exception if trapping on
6630         underflow is enabled.
6631         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6632         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6633         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6634         redefine to 0.
6635         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6636         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6637         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6638         * soft-fp/extendxftf2.c (__extendxftf2): Use
6639         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6641         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6642         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6643         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6644         FP_HANDLE_EXCEPTIONS.
6645         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6646         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6647         FP_HANDLE_EXCEPTIONS.
6648         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6649         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6650         FP_HANDLE_EXCEPTIONS.
6651         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6652         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6653         FP_HANDLE_EXCEPTIONS.
6655 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
6657         [BZ #14132]
6658         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6659         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6660         use INTUSE.
6661         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6662         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6663         Remove alias.
6664         (__adjtimex): Define using libc_hidden_ver.
6665         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6666         Remove declaration.
6667         (ntp_gettime): Call __adjtimex directly.
6668         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6669         Remove declaration.
6670         (ntp_gettimex): Call __adjtimex directly.
6671         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6672         __adjtimex_internal alias.
6674 2014-10-08  Roland McGrath  <roland@hack.frob.com>
6676         [BZ #17460]
6677         * nscd/nscd.c (more_help): Rewrite list of tables collection
6678         using xstrdup and asprintf.
6680         * nscd/nscd_conf.c: Remove local xstrdup declaration.
6682 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6683             Roland McGrath  <roland@hack.frob.com>
6685         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6686         (do_lookup_unique): ... local function 'enter' here; update callers.
6688 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
6690         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6691         compat_symbol calls on [SHARED].
6692         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6693         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6694         Remove.
6695         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6696         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6697         (oldsetrlimit): Remove.
6698         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6700         (lchown): New syscall entry.
6701         (oldsetrlimit): Remove.
6702         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6703         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6704         (oldsetrlimit): Remove.
6705         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6707         [BZ #14138]
6708         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6709         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6710         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6711         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6712         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6713         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6714         (fchown): Likewise.
6715         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6716         (fchown): Likewise.
6717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6718         Likewise.
6720 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6722         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6723         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6724         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6725         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6726         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6727         Likewise.
6728         (__old_sem_post): Likewise.
6730 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
6732         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6733         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6734         HAVE_CLOCK_GETTIME_VSYSCALL macros.
6735         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6736         Use INLINE_VSYSCALL macro.
6737         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6738         __vdso_clock_gettime.
6739         * sysdeps/unix/sysv/linux/tile/init-first.c
6740         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6741         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6742         __vdso_clock_gettime.
6744         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6745         to set up frame more cleanly.
6747         * sysdeps/tile/memcmp.c: New file.
6749         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6751         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6752         * sysdeps/tile/tilegx/strcasestr.c: New file.
6753         * sysdeps/tile/tilegx/strnlen.c: New file.
6754         * sysdeps/tile/tilegx/strstr.c: New file.
6756         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6758 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
6760         * nptl/tst-setuid3.c: Write errors to stdout.
6762 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6764         * elf/dl-deps.c
6765         (preload): New functions broken out of _dl_map_object_deps.
6766         (_dl_map_object_deps):  Remove a nested function. Update call sites.
6768 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
6770         [BZ #14138]
6771         * sysdeps/unix/sysv/linux/execve.c: Remove file.
6772         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6774 2014-10-01  Steve Ellcey  <sellcey@mips.com>
6776         * sysdeps/mips/strcmp.S: New.
6778 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
6780         [BZ #14138]
6781         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6782         (linkat): Likewise.
6783         (mkdirat): Likewise.
6784         (readlinkat): Likewise.
6785         (renameat): Likewise.
6786         (symlinkat): Likewise.
6787         (unlinkat): Likewise.
6788         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6789         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6790         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6791         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6792         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6793         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6794         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6796 2014-09-30  Will Newton  <will.newton@linaro.org>
6798         * math/math.h: Define long double math functions if
6799         _LIBC_TEST is defined.
6800         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6802         * localedata/Makefile: Move assignment to tests-special
6803         into an ifdef testing run-built-tests.
6804         * timezone/Makefile: Likewise.
6806 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
6808         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6809         with $(BASH) not $(SHELL).
6811 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
6812             Matthew LeGendre  <legendre1@llnl.gov>
6814         [BZ #17411]
6815         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6816         l_reloc_result.
6818 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6820         * stdio-common/printf_fp.c
6821         (hack_digit): New function, broken out of ...
6822         (__printf_fp): ... local function here.  Update call sites.
6823         hack_digit now takes an additional parameter that is a pointer
6824         to a struct of the referenced locals.  Those locals moved inside
6825         the struct and references updated.
6827 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
6829         * aclocal.m4: Require autoconf 2.69.
6830         * configure: Regenerated.
6831         * sysdeps/aarch64/configure: Likewise.
6832         * sysdeps/alpha/configure: Likewise.
6833         * sysdeps/arm/armv7/configure: Likewise.
6834         * sysdeps/arm/configure: Likewise.
6835         * sysdeps/ia64/configure: Likewise.
6836         * sysdeps/mach/configure: Likewise.
6837         * sysdeps/mips/configure: Likewise.
6838         * sysdeps/s390/configure: Likewise.
6839         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6842         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6843         file.
6844         * sysdeps/ia64/configure.ac: Likewise.
6846 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
6848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6849         specify symbol version for ld.so.  Do not include entry for
6850         libpthread.
6851         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6852         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6853         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6855         [BZ #14171]
6856         * Makeconfig [$(build-shared) = yes]
6857         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6858         makefiles.
6859         [$(build-shared) = yes && $(soversions.mk-done) = t]
6860         ($(common-objpfx)gnu/lib-names.h): Remove rule.
6861         [$(build-shared) = yes && $(soversions.mk-done) = t]
6862         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
6863         to Makerules.
6864         [$(build-shared) = yes && $(soversions.mk-done) = t]
6865         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6866         here.
6867         [$(build-shared) = yes && $(soversions.mk-done) = t]
6868         (common-generated): Don't append gnu/lib-names.h and
6869         gnu/lib-names.stmp here.
6870         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6871         (lib-names-h-abi): New variable.
6872         [$(build-shared) = yes && $(soversions.mk-done) = t]
6873         (lib-names-stmp-abi): Likewise.
6874         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6875         abi-variants] (before-compile): Append
6876         $(common-objpfx)$(lib-names-h-abi).
6877         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6878         abi-variants] (common-generated): Append gnu/lib-names.h.
6879         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6880         abi-variants] (install-others-nosubdir): Depend on
6881         $(inst_includedir)/$(lib-names-h-abi).
6882         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6883         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6884         [$(build-shared) = yes && $(soversions.mk-done) = t]
6885         ($(common-objpfx)$(lib-names-h-abi)): New rule.
6886         [$(build-shared) = yes && $(soversions.mk-done) = t]
6887         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6888         [$(build-shared) = yes && $(soversions.mk-done) = t]
6889         (common-generated): Append $(lib-names-h-abi) and
6890         $(lib-names-stmp-abi).
6891         * scripts/lib-names.awk: Do not handle multi being set.
6892         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6893         Remove variable.
6894         (abi-lp64_be-ld-soname): Likewise.
6895         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6896         Likewise.
6897         (abi-hard-ld-soname): Likewise.
6898         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6899         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6900         Remove variable.
6901         (abi-o32_hard-ld-soname): Likewise.
6902         (abi-o32_soft_2008-ld-soname): Likewise.
6903         (abi-o32_hard_2008-ld-soname): Likewise.
6904         (abi-n32_soft-ld-soname): Likewise.
6905         (abi-n32_hard-ld-soname): Likewise.
6906         (abi-n32_soft_2008-ld-soname): Likewise.
6907         (abi-n32_hard_2008-ld-soname): Likewise.
6908         (abi-n64_soft-ld-soname): Likewise.
6909         (abi-n64_hard-ld-soname): Likewise.
6910         (abi-n64_soft_2008-ld-soname): Likewise.
6911         (abi-n64_hard_2008-ld-soname): Likewise.
6912         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6913         Likewise.
6914         (abi-64-v2-ld-soname): Likewise.
6915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6916         ld.so entries.
6917         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6918         variable.
6919         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6920         entry.
6921         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6922         variable.
6923         (abi-64-ld-soname): Likewise.
6924         (abi-x32-ld-soname): Likewise.
6925         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6926         entry.
6927         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6929 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
6931         [BZ #14138]
6932         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6933         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6934         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6935         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6936         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6937         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6938         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6939         syscall entry for GLIBC_2.2 symbol version.
6940         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6941         Likewise.
6942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6943         (setrlimit): Likewise.
6944         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6945         Likewise.
6947 2014-09-23  Will Newton  <will.newton@linaro.org>
6949         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6950         _LINUX_ARM_SYSDEP_H include guard too.
6951         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6952         define.
6954 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6956         * sysdeps/unix/sysv/linux/eventfd.c:
6957         Make first argument unsigned.
6958         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6959         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6961 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
6963         * socket/recvmmsg.c (recvmmsg): Drop const argument.
6964         * socket/sys/socket.h: Likewise
6965         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6967 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6969         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6971 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
6973         * time/tst-ftime.c: New test.
6974         * time/Makefile (tests): Add tst-ftime.
6976 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
6978         * soft-fp/extended.h: Fix comment formatting.
6979         * soft-fp/op-1.h: Likewise.
6980         * soft-fp/op-2.h: Likewise.
6981         * soft-fp/op-4.h: Likewise.
6982         * soft-fp/op-8.h: Likewise.
6983         * soft-fp/op-common.h: Likewise.
6984         * soft-fp/soft-fp.h: Likewise.
6986         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6988 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6990         [BZ #6652]
6991         * Makeconfig (soversions-default-setname): Remove variable.
6992         ($(common-objpfx)soversions.i): Don't pass default_setname to
6993         soversions.awk.
6994         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6995         oldest_abi to abi-versions.awk.
6996         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6997         * config.make.in (oldest-abi): Remove variable.
6998         * configure.ac (--enable-oldest-abi): Remove configure option.
6999         * configure: Regenerated.
7000         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7001         text.
7002         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7003         * scripts/soversions.awk: Do not handle default_setname variable.
7004         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7005         variable.
7006         * sysdeps/mach/hurd/configure: Regenerated.
7007         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7008         variable.
7009         * sysdeps/unix/sysv/linux/configure: Regenerated.
7011 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7013         * elf/Makefile (CFLAGS-interp.c): Remove.
7014         ($(elf-objpfx)runtime-linker.h): Generate header with linker
7015         path string.
7016         * elf/interp.c: Include generated runtime-linker.h
7018         * Makerules (lib%.so): Don't include $(+interp) in
7019         prerequisites.
7020         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7021         * dlfcn/eval.c: Remove file.
7023         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7024         macros.
7026         [BZ #17266]
7027         * misc/sys/cdefs.h: Define __extern_always_inline for clang
7028         4.2 and newer.
7030         [BZ #17370]
7031         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7033 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7034             Jakub Jelinek  <jakub@redhat.com>
7036         [BZ #17266]
7037         * libio/stdio.h: Check definition of __fortify_function
7038         instead of __extern_always_inline to include bits/stdio2.h.
7039         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7040         check if __extern_always_inline is defined.
7041         [__USE_MISC || __USE_XOPEN]: Likewise.
7042         [__USE_ISOC99] Likewise.
7043         * misc/sys/cdefs.h (__fortify_function): Define only if
7044         __extern_always_inline is defined.
7045         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7046         __extern_always_inline and __extern_inline only for g++-4.3
7047         and newer or a compatible gcc.
7049 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
7051         [BZ #17371]
7052         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7053         last change to handle zero prefix length.
7055 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7057         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7058         _SC_REGEX_VERSION.
7060         * posix/getconf.c (vars): Add _POSIX_IPV6 and
7061         _POSIX_RAW_SOCKETS.
7063 2014-09-13  Allan McRae  <allan@archlinux.org>
7065         * po/ru.po: Update Russian translation from translation project.
7067 2014-09-12  Roland McGrath  <roland@hack.frob.com>
7069         * locale/programs/locale.c (show_locale_vars): Inline local function
7070         into its sole call site.  Clean up some style nits.
7071         (print_item): New function, broken out of ...
7072         (show_info): ... local function here.  Clean up style nits.
7074         * locale/programs/ld-ctype.c (set_one_default): New function, broken
7075         out of ...
7076         (set_class_defaults): ... local function set_default here.
7077         Define set_default as a macro locally to pass constant parameters.
7078         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7079         rather than a shared local.
7081         * stdlib/rpmatch.c (try): New function, broken out of ...
7082         (rpmatch): ... local function here.  Also, prototypify definition.
7084 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7086         * scripts/soversions.awk: Do not handle configuration names.
7087         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7088         vendor and os variables to soversions.awk.
7089         * configure.ac: Do not modify gnu-* host_os.
7090         * configure: Regenerated
7091         * shlib-versions: Remove first column with configuration names.
7092         * nptl/shlib-versions: Likewise.
7093         * nptl_db/shlib-versions: Likewise.
7094         * sysdeps/hppa/shlib-versions: Likewise.
7095         * sysdeps/m68k/shlib-versions: Likewise.
7096         * sysdeps/mach/hurd/shlib-versions: Likewise.
7097         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7098         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7099         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7100         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7101         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7102         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7103         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7104         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7106         Likewise.
7107         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7108         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7109         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7110         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7111         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7112         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7113         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7114         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7117         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7119         Regenerated.
7120         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7122         Condition symbol version definitions on [HAVE_ELFV2_ABI].
7124         * shlib-versions: Remove OS-specific entries.  Moved to files in
7125         sysdeps.
7126         * sysdeps/mach/hurd/shlib-versions: New file.
7127         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7129         * nptl/shlib-versions: Remove architecture-specific entries.
7130         Moved to files in sysdeps.
7131         * shlib-versions: Likewise.
7132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7133         file.
7134         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7135         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7136         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7137         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7139         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7140         (UDP_NO_CHECK6_RX): Likewise.
7142 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7144         * sysdeps/posix/sysconf.c (__sysconf): Spell
7145         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7147 2014-08-12  Florian Weimer  <fweimer@redhat.com>
7149         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7150         loading.
7151         * iconv/Versions (__gconv_transliterate): Export for use from
7152         gconv modules.
7153         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7154         (struct __gconv_trans_data, __gconv_trans_fct,
7155         __gconv_trans_context_fct, __gconv_trans_query_fct,
7156         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7157         definitions.
7158         (struct __gconv_step_data): Remove __trans member.
7159         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
7160         longer hidden.  Remove unused trans_data argument.
7161         * iconv/gconv_int.h (struct trans_struct): Remove definition.
7162         (__gconv_translit_find): Remove declaration.
7163         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
7164         prototype.
7165         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7166         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7167         trans_data argument.  Add hidden definition.
7168         (__gconv_translit_find): Remove.
7169         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7170         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7171         * iconv/skeleton.c: Remove transliteration initialization.
7172         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7173         __gconv_step_data initialization.
7174         * libio/iofwide.c (__libio_translit_): Remove.
7175         (_IO_fwide): Adjust struct __gconv_step_data initialization.
7176         * wcsmbs/btowc.c (__btowc): Likewise.
7177         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7178         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7179         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7180         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7181         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7182         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7183         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7184         * wcsmbs/wctob.c (wctob): Likewise.
7186 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7188         [BZ #16194]
7189         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7190         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
7191         register usage.
7192         * sysdeps/x86/Makefile: Adjust.
7194 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7195             Roland McGrath  <roland@hack.frob.com>
7197         * locale/weight.h: Add include guard.
7198         (findidx): Make static rather than auto; take new parameters
7199         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7200         * locale/weightwc.h: Likewise.
7201         * posix/fnmatch_loop.c
7202         (FCT): Change type of EXTRA from int32_t to wint_t.
7203         Don't include either header inside the function.
7204         Call FINDIDX rather than findidx, and pass new arguments.
7205         #undef FINDIDX at the end of the file.
7206         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7207         FINDIDX before including fnmatch_loop.c for the non-wide version.
7208         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7209         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7210         for the wide version.
7211         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7212         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7213         Pass new arguments to findidx.
7214         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7215         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7216         Don't #include it inside the function.  Pass new arguments to findidx.
7217         * posix/regex_internal.h
7218         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7219         (re_string_elem_size_at): Don't #include it inside the function.
7220         Pass new arguments to findidx.
7221         * string/strcoll_l.c: #include WEIGHT_H at top level.
7222         (get_next_seq): Don't #include it inside the function.
7223         Pass new arguments to findidx.
7224         (get_next_seq_nocache): Likewise.
7225         * string/strxfrm_l.c: #include WEIGHT_H at top level.
7226         (STRXFRM): Don't #include it inside the function.
7227         Pass new arguments to findidx.
7229 2014-09-11  Florian Weimer  <fweimer@redhat.com>
7231         [BZ #17344]
7232         * malloc/malloc.c (unlink): Turn asserts into a call to
7233         malloc_printerr.
7235 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
7237         [BZ #17370]
7238         * libio/wfileops (do_ftell_wide): Free OUT.
7240 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
7242         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7244 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7246         [BZ #17363]
7247         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7248         group if the current group is empty.
7250 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7252         * benchtests/bench-memset.c (test_main): Add more test from size
7253         from 32 to 512 bytes.
7254         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7255         Add POWER8 memset object.
7256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7257         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7258         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7259         implementation.
7260         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7261         Likewise.
7262         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7263         multiarch POWER8 memset optimization.
7264         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7265         POWER8 memset optimization.
7267         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7268         Remove bzero multiarch objects.
7269         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7270         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7271         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7272         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7273         Remove define.
7274         [__bzero]: Redefine to specific name.
7275         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7276         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7277         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7278         define.
7279         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7280         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7282 2014-09-10  Florian Weimer  <fweimer@redhat.com>
7284         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7285         warnings into errors.
7287         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7288         __cxa_thread_atexit_impl prototype.
7290 2014-09-09  Steve Ellcey  <sellcey@mips.com>
7292         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7293         Fix capitalization of error message.
7295 2014-09-09  Steve Ellcey  <sellcey@mips.com>
7297         * sysdeps/mips/preconfigure: Modify ABI tests.
7299 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
7301         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7303 2014-09-07  Roland McGrath  <roland@hack.frob.com>
7304             Carlos O'Donell  <carlos@systemhalted.org>
7306         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7307         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7308         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7309         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7310         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7311         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7312         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7313         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7314         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7315         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7316         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7317         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7318         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7319         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7320         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7321         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7322         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7323         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7324         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7325         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7326         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7327         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7328         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7329         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7330         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7331         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7332         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7333         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7334         Deconditionalize the code that was previously under [RESET_PID].
7335         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7336         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7337         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7338         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7339         include sysdep.h.
7341 2014-09-08  Allan McRae  <allan@archlinux.org>
7343         * version.h (RELEASE): Set to "development".
7344         (VERSION): Set to "2.20.90"
7346 2014-09-07  Allan McRae  <allan@archlinux.org
7348         * version.h (RELEASE): Set to "stable".
7349         (VERSION): Set to "2.20"
7350         * include/features.h (__GLIBC_MINOR__): Set to 20.
7352         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7353         Liebler.
7355         * po/ko.po: Update Korean translation from translation project.
7357 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
7359         [BZ #17354]
7360         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7361         macro for handling signed relocations.
7363 2014-09-03  Florian Weimer  <fweimer@redhat.com>
7365         [BZ #17325]
7366         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7367         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7368         assert.
7369         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7370         * iconvdata/ibm935.c (BODY): Likewise.
7371         * iconvdata/ibm937.c (BODY): Likewise.
7372         * iconvdata/ibm939.c (BODY): Likewise.
7373         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7374         assert.
7375         * iconvdata/Makefile (iconv-test.out): Pass module list to test
7376         script.
7377         * iconvdata/run-iconv-test.sh: New test loop for checking for
7378         decoder crashers.
7380 2014-09-02  Khem Raj  <raj.khem@gmail.com>
7382         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7383         libm_hidden_ver.
7385 2014-09-01  Allan McRae  <allan@archlinux.org>
7387         * po/eo.po: Update Esperanto translation from translation project.
7389         * po/ca.po: Update Catalan translation from translation project.
7391 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7393         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7394         __proc_dostop call.
7396 2014-08-27  Mark Wielaard  <mjw@redhat.com>
7398         [BZ #17319]
7399         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7400         to call set_thread_area instead of hand written asm.
7401         (__NR_set_thread_area): Removed define.
7402         (TLS_FLAG_WRITABLE): Likewise.
7403         (__ASSUME_SET_THREAD_AREA): Remove check.
7404         (TLS_EBX_ARG): Remove define.
7405         (TLS_LOAD_EBX): Likewise.
7407 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7409         Simplify atomicity of socket creation in bind.
7411         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7412         looking up the name after linking the file.
7414 2014-08-27  Allan McRae  <allan@archlinux.org>
7416         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7418 2014-08-26  Florian Weimer  <fweimer@redhat.com>
7420         [BZ #17187]
7421         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7422         trans_compare, open_translit, __gconv_translit_find):
7423         Remove module loading code.
7425 2014-08-26  Allan McRae  <allan@archlinux.org>
7427         * po/vi.po: Update Vietnamese translation from translation project.
7429         * po/uk.po: Update Ukrainian translation from translation project.
7431         * po/fr.po: Update French translation from translation project.
7433         * po/ru.po: Update Russian translation from translation project.
7435         * po/pl.po: Update Polish translation from translation project.
7437         * po/cs.po: Update Czech translation from translation project.
7439         * po/de.po: Update German translation from translation project.
7441         * po/bg.po: Update Bulgarian translation from translation project.
7443         * po/sv.po: Update Sweedish translation from translation project.
7445         * po/nl.po: Update Dutch translation from translation project.
7447         * po/es.po: Update Spanish translation from translation project.
7449 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7451         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7453         * catgets/Makefile (CPPFLAGS-gencat): Remove.
7454         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7455         (CPPFLAGS-iconvconfig): Likewise.
7456         * timezone/Makefile (CPPFLAGS-zic): Likewise.
7458         * include/libc-symbols.h: Remove unnecessary check for
7459         NOT_IN_libc.
7460         * nptl/pthreadP.h: Likewise.
7461         * sysdeps/aarch64/setjmp.S: Likewise.
7462         * sysdeps/alpha/setjmp.S: Likewise.
7463         * sysdeps/arm/sysdep.h: Likewise.
7464         * sysdeps/i386/setjmp.S: Likewise.
7465         * sysdeps/m68k/setjmp.c: Likewise.
7466         * sysdeps/posix/getcwd.c: Likewise.
7467         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7468         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7469         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7470         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7471         * sysdeps/sh/sh3/setjmp.S: Likewise.
7472         * sysdeps/sh/sh4/setjmp.S: Likewise.
7473         * sysdeps/unix/alpha/sysdep.h: Likewise.
7474         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7475         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7476         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7477         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7480         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7481         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7482         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7483         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7484         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7485         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7486         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7487         * sysdeps/x86_64/setjmp.S: Likewise.
7489 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
7491         [BZ #17263]
7492         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7493         <stdint.h>.
7494         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7495         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7497 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7499         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7501         [BZ #17262]
7502         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7503         and __x86_64__ when disabling x87 inline functions.
7505 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
7507         [BZ #17259]
7508         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7509         asm statement with __cpuid_count.
7511 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
7513         * configure.ac: Change __ehdr_start code to dereference the struct.
7514         Run readelf on the output to look for relocations.
7515         * configure: Regenerated.
7517 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
7519         [BZ #17261]
7520         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7521         value to 0.
7522         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7524 2014-08-12  Roland McGrath  <roland@hack.frob.com>
7526         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7528 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
7530         [BZ #16892]
7531         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7532         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7534 2014-08-12  Sean Anderson  <seanga2@gmail.com>
7536         * malloc/malloc.c: Fix typo in comment.
7538 2014-08-09  Allan McRae  <allan@archlinux.org>
7540         * Regenerate libc.po.
7542 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
7544         * intl/tst-gettext2.sh: Check every lang file for creation.
7546 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7548         * sysdeps/aarch64/fpu/math_private.h
7549         (libc_feholdsetround_noex_aarch64_ctx): New function.
7551 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7553         * sysdeps/arm/armv6/strcpy.S (strcpy):
7554         Fix performance issue in misaligned cases.
7556 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7558         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7559         Move definition from termios.h.
7560         (struct termio): Likewise.
7561         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7562         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7563         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7564         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7565         Likewise.
7566         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7567         Move definition to ioctl-types.h
7568         (struct termio): Likewise.
7569         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7570         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7571         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7572         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7573         Likewise.
7575 2014-08-05  Richard Henderson  <rth@redhat.com>
7577         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7578         exceptions.
7579         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7580         Add fraiseexcpt.
7581         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7582         Use __feraiseexcept.
7583         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7584         Protect libm symbols with IS_IN_libm.
7586         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7588 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
7590         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7592 2014-08-04  Will Newton  <will.newton@linaro.org>
7594         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7595         file.
7597 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
7599         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7600         variants for each function.
7602 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7604         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7605         appended ...
7606         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7607         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7608         appended ...
7609         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7610         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7611         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7612         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7613         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7614         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7615         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7616         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7617         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7618         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7619         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7620         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7621         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7622         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7623         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7624         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7625         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7626         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7627         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7628         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7629         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7630         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7631         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7632         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7633         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7634         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7635         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7636         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7637         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7638         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7639         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7640         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7641         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7642         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7643         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7644         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7645         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7646         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7647         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7648         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7649         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7650         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7651         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7652         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7653         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7654         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7655         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7656         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7657         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7658         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7659         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7660         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7661         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7662         Update #include.
7663         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7664         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7666 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7668         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7669         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7670         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7671         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7672         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7673         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7675 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7677         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7678         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7679         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7680         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7682 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7684         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7685         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7686         (__libc_vfork): Define function under this name.
7687         (__vfork): Define as an alias.
7688         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7689         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7691 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7693         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7694         that was previously under [RESET_PID].
7695         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7697 2014-08-04  Andreas Schwab  <schwab@suse.de>
7699         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7701 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
7703         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7704         (main): Likewise.
7706 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7708         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7710 2014-08-01  Richard Henderon  <rth@redhat.com>
7712         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7713         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7714         typo in exact zero test.
7715         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7716         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7717         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7719 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7721         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7722         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7723         * sysdeps/arm/sysdep.h: ... here.
7724         [!__ASSEMBLER__]: Include <stdint.h>.
7726 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7728         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7729         (HAVE_WCTYPE_H): Likewise.
7730         (HAVE_ISWCTYPE): Likewise.
7731         (ENABLE_NLS): Likewise.
7732         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7733         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7735         * posix/regex_internal.c: Check if DEBUG is defined and is
7736         set.
7738         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7739         (HAVE_MBSRTOWCS): Likewise.
7740         * posix/fnmatch.c: Include string.h unconditionally.
7742 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7744         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7745         reversal.
7747 2014-07-31  Roland McGrath  <roland@hack.frob.com>
7749         * sysdeps/generic/safe-fatal.h: New file.
7750         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7751         * nptl/forward.c: Include it.
7752         (__pthread_unwind): Use __safe_fatal as default action, rather
7753         than a bogus use of INTERNAL_SYSCALL that could never work.
7755         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7756         * configure.ac (libc_cv_builtin_trap): New test.
7757         * configure: Regenerated.
7758         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7759         (ABORT_INSTRUCTION): Define using __builtin_trap.
7761         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7762         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7763         * sysdeps/nptl/nptl-signals.h: New file.
7764         * nptl/pthreadP.h: Include <nptl-signals.h>.
7766 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7768         * sysdeps/s390/s390-64/utf16-utf32-z9.c
7769         (ONE_DIRECTION): Define.
7770         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7771         (ONE_DIRECTION): Define.
7772         * sysdeps/s390/s390-64/utf8-utf32-z9.c
7773         (ONE_DIRECTION): Define.
7775 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7777         * sysdeps/s390/Makefile: Delete file.
7778         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7779         * sysdeps/s390/__longjmp.c: Delete file.
7780         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7781         Remove fields __flags and __reserved.
7782         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7783         and add versioning.
7784         * sysdeps/s390/rtld-__longjmp.c: Delete file.
7785         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7786         * sysdeps/s390/rtld-setjmp.S: Likewise.
7787         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7788         * sysdeps/s390/s390-32/__longjmp.c: ... here.
7789         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7790         * sysdeps/s390/s390-32/setjmp.S: ... here.
7791         Add versioning.
7792         (__sigsetjmp): Remove setting __flags field.
7793         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7794         * sysdeps/s390/s390-64/__longjmp.c: ... here.
7795         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7796         * sysdeps/s390/s390-64/setjmp.S: ... here.
7797         Add versioning.
7798         (__sigsetjmp): Remove setting __flags field.
7799         * sysdeps/s390/setjmp.S: Delete file.
7800         * sysdeps/s390/sigjmp.c: Likewise.
7801         * sysdeps/s390/v1-longjmp.c: Likewise.
7802         * sysdeps/s390/v1-setjmp.h: Likewise.
7803         * sysdeps/s390/v1-sigjmp.c: Likewise.
7804         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7805         Remove v1-longjmp_chk.
7806         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7807         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7808         Include debug/longjmp_chk.c and add versioning.
7809         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7810         Include nptl/pt-longjmp.c and add versioning.
7811         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7812         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7813         Include __longjmp.c.
7814         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7815         Move to ...
7816         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7817         (__getcontext): Remove setting __flags field.
7818         Add versioning.
7819         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7820         Don't restore upper high grps.
7821         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7822         Likewise.
7823         (__swapcontext): Remove setting uc_flags field.
7824         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7825         Delete file.
7826         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7827         Include __longjmp.c.
7828         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7829         Move to ...
7830         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7831         (__getcontext): Remove setting __flags field.
7832         Add versioning.
7833         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7834         (__swapcontext): Remove setting uc_flags field.
7835         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7836         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7837         Remove fields uc_high_gprs and __reserved.
7838         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7839         New file with reverted content.
7840         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7841         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7842         Regenerated.
7843         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7844         Regenerated.
7846 2014-07-31  Andreas Schwab  <schwab@suse.de>
7848         * config.h.in (HAVE_IFUNC): Define to 0.
7849         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7850         definedness.
7852 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
7854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7855         memmove-avx-unaligned, memcpy-avx-unaligned and
7856         mempcpy-avx-unaligned.
7857         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7858         Add tests for AVX memcpy functions.
7859         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7860         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7861         memcpy_chk.
7862         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7863         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7864         memmove_chk.
7865         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7866         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7867         mempcpy_chk.
7868         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7869         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7870         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7872 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7874         [BZ #17213]
7875         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7876         powerpc64le.
7878 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
7880         [BZ #16839]
7881         * manual/llio.texi: Add section about open file description locks.
7882         * manual/examples/ofdlocks.c: Example of open file description
7883         lock usage.
7884         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7885         F_OFD_SETLK, and F_OFD_SETLKW.
7887 2014-07-23  Allan McRae  <allan@archlinux.org>
7889         * po/es.po: Update Spanish translation from translation project.
7891 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
7893         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7895 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
7897         [BZ #17078]
7898         * sysdeps/arm/dl-machine.h (elf_machine_rela)
7899         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7900         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7902 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
7904         [BZ #17088]
7905         * math/fesetenv.c (__fesetenv)
7906         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7907         * math/feupdateenv.c (__feupdateenv)
7908         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7910         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7911         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7912         (__ASSUME_SOCKETCALL): Do not define.
7914         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7915         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7916         (__ASSUME_SOCKETCALL): Do not define.
7917         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7918         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7919         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7920         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7921         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7922         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7923         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7924         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7926         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7927         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7928         (__ASSUME_SOCKETCALL): Do not define.
7929         (__ASSUME_IPC64): Define unconditionally.
7930         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7931         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7932         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7933         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7934         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7935         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7936         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7937         Likewise.
7939         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7940         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7941         (__ASSUME_SOCKETCALL): Do not define.
7942         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7943         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7944         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7945         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7946         (__ASSUME_REQUEUE_PI): Define unconditionally.
7947         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7948         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7949         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7950         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7951         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7952         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7954         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7955         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7956         (__ASSUME_SOCKETCALL): Do not define.
7957         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7958         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7959         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7960         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7961         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7962         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7964         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7965         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7966         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7967         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7968         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7969         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7970         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7971         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7972         (__ASSUME_GETCPU_SYSCALL): Likewise.
7974         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7975         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
7976         cases for individual architectures.
7977         * sysdeps/gnu/configure: Regenerated.
7978         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7979         LIBC_SLIBDIR_RTLDDIR.
7980         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7981         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7982         LIBC_SLIBDIR_RTLDDIR.
7983         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7985         LIBC_SLIBDIR_RTLDDIR.
7986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7987         Regenerated.
7988         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7989         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7990         file.
7991         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7992         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7993         file.
7994         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7995         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7996         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7997         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7999         * sysdeps/aarch64/shlib-versions: Move to ...
8000         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8001         * sysdeps/alpha/shlib-versions: Move to ...
8002         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8003         * sysdeps/arm/shlib-versions: Move to ...
8004         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8005         * sysdeps/hppa/shlib-versions: Move all contents except for
8006         libgcc_s entry to ...
8007         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
8008         entry from ...
8009         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
8010         * sysdeps/ia64/shlib-versions: Move to ...
8011         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
8012         entry from ...
8013         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
8014         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8015         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8016         * sysdeps/microblaze/shlib-versions: Move to ...
8017         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8018         * sysdeps/mips/shlib-versions: Move to ...
8019         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
8020         entry from ...
8021         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
8022         * sysdeps/tile/shlib-versions: Move to ...
8023         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8024         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8025         from ...
8026         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
8027         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8028         entry from ...
8029         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
8031 2014-07-17  Will Newton  <will.newton@linaro.org>
8033         * sysdeps/arm/bits/atomic.h
8034         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8035         (__arch_compare_and_exchange_bool_16_int): Likewise.
8036         (__arch_compare_and_exchange_bool_64_int): Likewise.
8038         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8039         into an #else block.
8041 2014-07-16  Roland McGrath  <roland@hack.frob.com>
8043         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8044         just Linux configurations.  Test empirically that the compiler sets
8045         __ARM_EABI__, rather than using the tuple to decide.
8046         * sysdeps/arm/preconfigure: Regenerated.
8047         * sysdeps/unix/sysv/linux/arm/configure: File removed.
8048         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8049         contents appended ...
8050         * sysdeps/arm/configure.ac: ... here.
8051         * sysdeps/arm/configure: Regenerated.
8053 2014-07-15  Roland McGrath  <roland@hack.frob.com>
8055         * nptl/pthread_kill.c: New file.
8056         * nptl/pthread_sigmask.c: New file.
8057         * nptl/pthread_sigqueue.c: New file.
8059         * sysdeps/nptl/lowlevellock.h: New file.
8060         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8061         * sysdeps/nptl/lowlevellock-futex.h: New file.
8063         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8064         Remove dead declarations.
8066 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
8068         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8069         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8070         config-cflags-avx2.
8071         * sysdeps/x86_64/configure.ac: Likewise.
8072         * sysdeps/i386/configure: Regenerated.
8073         * sysdeps/x86_64/configure: Likewise.
8074         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8075         memset-avx2 only if config-cflags-avx2 is yes.
8076         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8077         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8078         defined.
8079         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8080         only if HAVE_AVX2_SUPPORT is defined.
8081         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8083 2014-07-14  Alan Modra  <amodra@gmail.com>
8085         [BZ #17153]
8086         * elf/elf.h (DT_PPC64_NUM): Correct value.
8087         * NEWS: Add to fixed bug list.
8089 2014-07-13  Jim Meyering  <meyering@fb.com>
8091         [BZ 17150]
8092         regex: don't deref NULL upon heap allocation failure
8093         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8094         failure in one more place.
8095         To trigger the segfault, configure grep -with-included-regex,
8096         build it, and run these commands:
8097         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8099 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
8101         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8103 2014-07-11  Richard Henderson  <rth@redhat.com>
8105         * sysdeps/aarch64/libm-test-ulps: Update.
8107 2014-07-10  Florian Weimer  <fweimer@redhat.com>
8109         [BZ #17135]
8110         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8111         * nptl/allocatestack.c (__nptl_setxid_error): New function.
8112         (__nptl_setxid): Initialize error member.  Call
8113         __nptl_setxid_error.
8114         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8115         * nptl/descr.h (struct xid_command): Add error member.
8116         * nptl/tst-setuid3.c: New file.
8117         * nptl/Makefile (tests): Add it.
8119 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8121         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8122         New define.
8123         (__lll_trylock): Use __lll_base_trylock.
8124         (__lll_cond_trylock): Likewise.
8126 2014-07-10  Roland McGrath  <roland@hack.frob.com>
8128         * nptl/pthread_create.c (start_thread): Use atomic_or and
8129         lll_futex_wake directly rather than lll_robust_dead.
8130         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8131         (lll_robust_dead): Macro removed.
8132         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8133         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8134         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8135         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8136         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8137         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8138         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8139         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8140         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8141         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8142         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8143         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8144         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8145         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8146         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8148         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8149         Use atomic_compare_and_exchange_val_acq directly rather than
8150         lll_robust_trylock.
8151         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8152         (__lll_robust_trylock, lll_robust_trylock): Removed.
8153         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8154         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8155         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8156         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8157         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8158         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8159         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8160         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8161         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8162         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8163         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8164         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8165         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8166         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8168 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8170         * manual/locale.texi (Locale Names): New section documenting
8171         locale name syntax.  Adjust menu and node chaining accordingly.
8172         (Choosing Locale): Reference Locale Names, Locale Categories.
8173         Mention setting LC_ALL=C.  Reflect that name syntax is now
8174         documented.
8175         (Locale Categories): New section title.  Reference Locale Names.
8176         LC_ALL is an environment variable, but not a category.
8177         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8178         description, now in Locale Name.  Reference that section.  Locale
8179         name syntax is now documented.
8181 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8183         [BZ #17137]
8184         * locale/findlocale.c (name_present, valid_locale_name): New
8185         functions.
8186         (_nl_find_locale): Use the loc_name variable to store name
8187         candidates.  Call name_present and valid_locale_name to check and
8188         validate locale names.  Return an error if the locale is invalid.
8190 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8192         * locale/setlocale.c (setlocale): Use strdup for allocating
8193         composite name copy.
8195 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8197         Sync up with gnulib.
8198         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8199         [!_LIBC && ENABLE_NLS]: Include gettext.h.
8200         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8201         and _GL_ARG_NONNULL.
8202         [USE_UNLOCKED_IO]: Include unlocked-io.h.
8203         [!_LIBC]: Include code for Windows and Cygwin.
8204         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8205         Include prototype for int strerror_r.
8206         [!_LIBC] (is_open): New function.
8207         (flush_stdout): New function.
8208         (print_errno_message): Use it.
8209         (error): Likewise.
8210         (error_at_line): Likewise.
8211         (error_tail) Add function attribute macros.  Use
8212         __builtin_expect.
8214         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8216         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8218         * io/ftw.c: Include sys/param.h unconditionally.
8220         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8222         [BZ #17125]
8223         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8224         libc_freeres_ptr.
8225         (freecache): New function to free CACHE on exit.
8227         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8228         initialization.
8230 2014-07-09  David S. Miller  <davem@davemloft.net>
8232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8234         * sysdeps/sparc/nptl/internaltypes.h: Delete.
8235         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8236         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8237         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8238         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8239         * sysdeps/sparc/nptl/sem_init.c: Likewise.
8240         * sysdeps/sparc/nptl/sem_post.c: Likewise.
8241         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8242         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8243         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8244         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8245         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8246         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8248 2014-07-09  Andreas Schwab  <schwab@suse.de>
8250         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8251         output.
8252         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8253         (do_test): Likewise.
8255         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8257 2014-07-09  Will Newton  <will.newton@linaro.org>
8259         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8260         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8261         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8262         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8263         * sysdeps/hppa/start.S (_start): Likewise.
8265 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8267         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8269         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8270         defined.
8272 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8274         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8275         after checking that it is non-NULL.
8277         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8279 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8281         * sysdeps/powerpc/memmove.c: Remove file.
8282         * sysdeps/powerpc/powerpc32/power4/memcopy.h
8283         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8284         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8285         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8286         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8287         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8288         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8289         string memmove instead of removed powerpc one.
8291         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8292         [weak_alias]: Fix compiler warning due trailing data.
8293         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8294         [weak_alias]: Likewise.
8295         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8296         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8298         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8299         (__libc_ifunc_impl_list): Add memmove functions.
8301 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8303         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8304         Remove code.
8305         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8306         Likewise
8307         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8308         Likewise
8309         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8310         Likewise
8311         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8312         Likewise
8313         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8314         Likewise
8315         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8316         Likewise
8317         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8318         Likewise
8319         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8320         Likewise
8321         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8322         Likewise
8323         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8324         Likewise
8325         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8326         Likewise
8327         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8328         Likewise
8329         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8330         Likewise
8331         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8332         Likewise
8333         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8334         Likewise
8335         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8336         Likewise
8338 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8340         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8341         to avoid alignment traps in non-cacheable memory.
8342         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8344         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8345         multiarch objects.
8346         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8347         file: multiarch power7 memmove.
8348         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8349         multiarch default memmove.
8350         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8351         multiarch memove for powerpc32/power4.
8353         * string/bcopy.c: Use full path to include memmove.c.
8354         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8355         multiarch objects.
8356         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8357         bcopy for powerpc64.
8358         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8359         bcopy for powerpc64.
8360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8361         and memmove implementations.
8362         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8363         optimized multiarch memmove for POWER7/powerpc64.
8364         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8365         default multiarch memmove for powerpc64.
8366         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8367         multiarch for powerpc64.
8368         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8369         for POWER7/powerpc64.
8370         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8371         memmove for POWER7/powerpc64.
8373         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8374         glibc default one.
8376         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8377         __ELF_NATIVE_CLASS equal to 64.
8379 2014-07-07  Roland McGrath  <roland@hack.frob.com>
8381         * sysdeps/nptl/lowlevellock.h: File removed.
8383         * NEWS: NPTL is no longer an add-on!
8384         * nptl/internaltypes.h: Moved ...
8385         * sysdeps/nptl/internaltypes.h: ... here.
8386         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8387         * sysdeps/nptl/fork.c: Likewise.
8388         * sysdeps/nptl/gai_misc.h: Likewise.
8389         * sysdeps/nptl/librt-cancellation.c: Likewise.
8390         * sysdeps/nptl/jmp-unwind.c: Likewise.
8391         * sysdeps/nptl/setxid.h: Likewise.
8392         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8393         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8394         * sysdeps/unix/sysv/linux/arm/Implies: New file.
8395         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8396         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8397         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8398         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8399         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8400         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8401         * sysdeps/unix/sysv/linux/mips/Implies: New file.
8402         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8403         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8404         * sysdeps/unix/sysv/linux/sh/Implies: New file.
8405         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8406         * sysdeps/unix/sysv/linux/tile/Implies: New file.
8407         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8408         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8409         * nptl/Makeconfig: Moved ...
8410         * sysdeps/nptl/Makeconfig: ... here.
8411         * nptl/configure: File removed.
8412         * nptl/ANNOUNCE: File removed.
8413         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8414         * sysdeps/unix/sysv/linux/configure: Regenerated.
8416         * nptl/Makefile (routines): Add libc_pthread_init,
8417         libc_multiple_threads, register-atfork and unregister-atfork.
8418         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8419         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8420         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8421         pthread-pi-defines.sym, structsem.sym.
8422         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8423         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8424         [$(subdir) = nptl] (tests): Add tst-setgetname.
8425         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8426         * sysdeps/unix/sysv/linux/sigaction.c: Just include
8427         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8428         [!LIBC_SIGACTION]: Remove aliases.
8429         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8430         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8431         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8432         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8433         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8434         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8435         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8436         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8437         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8438         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8439         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8440         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8441         __libc_allocate_rtsig_private.
8442         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8443         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8444         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8445         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8446         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8447         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8448         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8449         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8450         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8451         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8452         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8453         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8454         * nptl/internaltypes.h: ... here.
8455         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8456         * sysdeps/nptl/jmp-unwind.c: ... here.
8457         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8458         * nptl/libc-lowlevellock.c: ... here.
8459         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8460         * nptl/libc_multiple_threads.c: ... here.
8461         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8462         * nptl/libc_pthread_init.c: ... here.
8463         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8464         * nptl/lowlevelbarrier.sym: ... here.
8465         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8466         * nptl/lowlevelcond.sym: ... here.
8467         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8468         * nptl/lowlevellock.c: ... here.
8469         * nptl/lowlevellock.h: Moved ...
8470         * sysdeps/nptl/lowlevellock.h: ... here.
8471         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8472         * nptl/lowlevelrobustlock.c: ... here.
8473         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8474         * nptl/lowlevelrobustlock.sym: ... here.
8475         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8476         * nptl/lowlevelrwlock.sym: ... here.
8477         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8478         * nptl/pt-fork.c: ... here.
8479         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8480         * nptl/pthread-pi-defines.sym: ... here.
8481         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8482         * nptl/pthread_attr_getaffinity.c: ... here.
8483         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8484         * nptl/pthread_attr_setaffinity.c: ... here.
8485         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8486         * nptl/pthread_mutex_cond_lock.c: ... here.
8487         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8488         Update #include.
8489         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8490         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8491         * nptl/pthread_once.c: ... here, replacing old file.
8492         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8493         * nptl/pthread_yield.c: ... here.
8494         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8495         * nptl/register-atfork.c: ... here.
8496         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8497         * nptl/sem_post.c: ... here.
8498         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8499         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8500         * nptl/sem_timedwait.c: ... here.
8501         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8502         * nptl/sem_trywait.c: ... here.
8503         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8504         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8505         * nptl/sem_wait.c: ... here.
8506         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8507         * nptl/structsem.sym: ... here.
8508         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8509         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8510         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8511         * nptl/unregister-atfork.c: ... here.
8512         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8513         * nptl/unwindbuf.sym: ... here.
8514         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8515         * sysdeps/nptl/fork.c: ... here.
8516         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8517         * sysdeps/nptl/fork.h: ... here.
8518         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8519         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8520         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8521         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8522         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8523         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8524         * sysdeps/unix/sysv/linux/getpid.c: ... here.
8525         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8526         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8527         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8528         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8529         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8530         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8531         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8532         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8533         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8534         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8535         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8536         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8537         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8538         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8539         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8540         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8541         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8542         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8543         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8544         * sysdeps/unix/sysv/linux/raise.c: ... here.
8545         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8546         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8547         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8548         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8549         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8550         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8551         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8552         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8553         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8554         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8555         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8556         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8557         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8558         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8559         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8561 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8563         * sysdeps/generic/memcopy.h: Add comment for
8564         MEMCPY_OK_FOR_FWD_MEMMOVE.
8566 2014-07-04  Will Newton  <will.newton@linaro.org>
8568         * string/memchr.c: Merge from gnulib.
8569         [_LIBC]: Remove conditionals.
8570         (__ptr_t): Remove define.
8571         (LONG_MAX_32_BITS): Likewise.
8572         (LONG_MAX): Likewise.
8573         (MEMCHR): Use ANSI prototype and optimize algorithm.
8575         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8577 2014-07-03  Roland McGrath  <roland@hack.frob.com>
8579         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8580         (lll_futex_timed_wait_bitset): Fix syscall argument count.
8582         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8583         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8584         in a bare environment with no <stdlib.h> installed.
8585         * sysdeps/nptl/configure: Regenerated.
8587         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8589         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8590         AC_EGREP_CPP for kernel header checks, so they only succeed if
8591         including <linux/version.h> actually works right.
8592         * sysdeps/unix/sysv/linux/configure: Regenerated.
8594         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8595         value so it's not diagnosed as unused.
8597         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8598         thing) with "ifeq ($(subdir),rt)".
8600 2014-07-03  Richard Henderson  <rth@redhat.com>
8602         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8603         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8604         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8606         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8607         (math_force_eval): New.
8609         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8610         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8612         * sysdeps/alpha/fpu/s_round.c: Remove file.
8613         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8615         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8616         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8617         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8618         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8619         (_dl_start, print_statistics): Likewise.
8620         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8621         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8623         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8624         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8625         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8626         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8627         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8628         (HP_SMALL_TIMING_AVAIL): Define.
8629         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8630         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8631         (HP_SMALL_TIMING_AVAIL): Define.
8632         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8633         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8635         * sysdeps/aarch64/hp-timing.h: New file.
8637         * sysdeps/generic/hp-timing.h: Remove dead comment.
8638         * sysdeps/generic/hp-timing-common.h: New file.
8639         * sysdeps/alpha/hp-timing.h: Include it.
8640         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8641         * sysdeps/i386/i686/hp-timing.h: Likewise.
8642         * sysdeps/ia64/hp-timing.h: Likewise.
8643         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8644         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8645         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8646         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8647         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8648         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8649         (hp_timing_t): New.
8651         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8652         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8653         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8654         * elf/rtld.c (_dl_start_final): Likewise.
8655         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8656         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8657         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8658         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8659         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8660         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8661         (HP_TIMING_DIFF_INIT): Remove.
8662         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8663         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8664         (HP_TIMING_DIFF_INIT): Remove.
8665         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8666         * sysdeps/i386/i686/hp-timing.c: Remove file.
8667         * sysdeps/x86_64/hp-timing.c: Remove file.
8668         * sysdeps/ia64/hp-timing.c: Remove file.
8669         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8670         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8671         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8672         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8674         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8675         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8676         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8677         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8678         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8679         (HP_TIMING_ACCUM): Remove.
8680         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8681         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8682         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8684         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8685         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8686         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8687         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8688         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8689         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8690         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8691         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8693         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8695 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
8697         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8699 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8701         Sync up with gettext.
8702         * intl/loadmsgcat.c: Define O_BINARY if not defined.
8703         [_MSC_VER]: Include malloc.h
8704         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8705         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8706         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
8707         TEMP_FAILURE_RETRY.  Cast return of alloca.
8708         [!_LIBC] Call gl_rwlock_init.
8709         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8711 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8713         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8714         before checking its value.
8716 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8718         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8720         * debug/memcpy_chk.c: Don't include pagecopy.h.
8721         * debug/mempcpy_chk.c: Likewise.
8722         * string/memcpy.c: Likewise.
8723         * string/memmove.c: Likewise.
8724         * sysdeps/powerpc/memmove.c: Likewise.
8725         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
8726         definition of PAGE_COPY_FWD_MAYBE here...
8727         * sysdeps/generic/pagecopy.h: ... from here.
8728         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8730 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8731             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8733         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8735         optimizations.
8736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8737         (__libc_ifunc_impl_list): Likewise.
8738         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8739         multiarch strcat for PPC64.
8740         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8741         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8743 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8745         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8747 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8749         * intl/loadmsgcat.c: Remove declaration of
8750         get_sysdep_segment_value.
8751         (get_sysdep_segment_value): Use ISO C style.
8752         (_nl_load_domain): Use ISO C style.  Get rid of redundant
8753         semicolon.  Fix typo and formatting in comment.
8754         (_nl_unload_domain): Use ISO C style.
8756         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8758 2014-07-02  Will Newton  <will.newton@linaro.org>
8760         * malloc/obstack.c: Merge from gnulib master.
8761         [HAVE_CONFIG_H]: Remove conditional code.
8762         [!_LIBC]: Include config.h.
8763         [!ELIDE_CODE]: Don't include inttypes.h, include
8764         stdint.h unconditionally.
8765         (print_and_abort): Mark as _Noreturn.
8766         (_obstack_allocated_p): Mark as __attribute_pure__.
8767         (obstack_free): Rename to __obstack_free.
8768         [!__attribute__]: Remove conditional code.
8769         * malloc/obstack.h: Merge from gnulib master.
8770         [__cplusplus]: Move conditional down.
8771         [!__attribute_pure__]: Define __attribute_pure__ here
8772         if it is not already defined.
8773         (_obstack_memory_used): Mark as __attribute_pure__.
8774         [!__obstack_free]: Define as obstack_free.
8775         [__GNUC__]: Remove check for ancient NeXT gcc.
8777 2014-07-02  Will Newton  <will.newton@linaro.org>
8778             Paul Eggert  <eggert@cs.ucla.edu>
8780         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8782 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8784         * resolv/gethnamaddr.c: Add comment warning that the file is
8785         not maintained.
8787 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
8789         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8790         entries.
8792         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8793         entry for aio_cancel and aio_cancel64.
8794         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8795         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8796         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8797         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8798         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8799         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8800         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8801         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8802         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8803         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8804         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8805         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8806         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8808 2014-07-01  Roland McGrath  <roland@hack.frob.com>
8810         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8811         * nptl/pthread_mutex_lock.c: Likewise.
8812         * nptl/pthread_mutex_timedlock.c: Likewise.
8813         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8815 2014-07-01  Richard henderson  <rth@redhat.com>
8817         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8818         (__isnan, __isnanl): Remove.
8819         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8821         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8823 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8825         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8827 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8829         * resolv/nss_dns/dns-host.c (getanswer_r)
8830         [MULTI_PTRS_ARE_ALIASES]: Remove code.
8832 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
8834         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8835         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8836         undefine.
8837         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8838         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8840 2014-07-01  Roland McGrath <roland@hack.frob.com>
8842         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8843         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8845         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8846         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8848         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8849         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8850         ... here.
8851         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8852         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8854         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8855         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8856         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8857         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8859         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8860         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8861         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8862         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8863         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8864         Moved ...
8865         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8866         ... here.
8867         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8868         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8869         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8870         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8871         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8872         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8873         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8874         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8875         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8876         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8877         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8878         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8879         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8880         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8881         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8882         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8883         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8884         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8885         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8886         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8887         ... here.
8888         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8889         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8890         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8891         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8892         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8893         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8894         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8895         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8897 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
8899         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8900         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8901         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8902         Add sysdep.
8904 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8908 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8910         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8911         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8913         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8915         * sysdeps/arm/libm-test-ulps: Regenerated.
8917 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8918             Roland McGrath <roland@hack.frob.com>
8920         * test-skeleton.c (signal_handler): Kill the whole process group
8921         before killing the child individually.
8922         (main): Report any failure on `setpgid'.
8924 2014-06-30  Roland McGrath  <roland@hack.frob.com>
8926         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8927         from _TLS_H to _ARM_NPTL_TLS_H.
8928         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8929         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8931 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8933         [BZ #16539]
8934         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8935         (__expm1l): Return argument unchanged when small but not
8936         subnormal.
8938         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8939         include macro name.
8940         (_FP_UNPACK_RAW_1_P): Likewise.
8941         (_FP_PACK_RAW_1): Likewise.
8942         (_FP_PACK_RAW_1_P): Likewise.
8943         (_FP_MUL_MEAT_1_wide): Likewise.
8944         (_FP_MUL_MEAT_DW_1_hard): Likewise.
8945         (_FP_MUL_MEAT_1_hard): Likewise.
8946         (_FP_DIV_MEAT_1_imm): Likewise.
8947         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8948         (_FP_DIV_MEAT_1_udiv): Likewise.
8949         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8950         (_FP_UNPACK_RAW_2): Likewise.
8951         (_FP_UNPACK_RAW_2_P): Likewise.
8952         (_FP_PACK_RAW_2): Likewise.
8953         (_FP_PACK_RAW_2_P): Likewise.
8954         (_FP_MUL_MEAT_DW_2_wide): Likewise.
8955         (_FP_MUL_MEAT_2_wide): Likewise.
8956         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8957         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8958         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8959         (_FP_MUL_MEAT_2_gmp): Likewise.
8960         (_FP_DIV_MEAT_2_udiv): Likewise.
8961         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8962         (_FP_FRAC_SRL_4): Likewise.
8963         (_FP_FRAC_SRST_4): Likewise.
8964         (_FP_FRAC_SRS_4): Likewise.
8965         (_FP_UNPACK_RAW_4): Likewise.
8966         (_FP_UNPACK_RAW_4_P): Likewise.
8967         (_FP_PACK_RAW_4): Likewise.
8968         (_FP_PACK_RAW_4_P): Likewise.
8969         (_FP_MUL_MEAT_DW_4_wide): Likewise.
8970         (_FP_MUL_MEAT_4_wide): Likewise.
8971         (_FP_MUL_MEAT_4_gmp): Likewise.
8972         (umul_ppppmnnn): Likewise.
8973         (_FP_DIV_MEAT_4_udiv): Likewise.
8974         (__FP_FRAC_ADD_4): Likewise.
8975         (__FP_FRAC_SUB_3): Likewise.
8976         (__FP_FRAC_SUB_4): Likewise.
8977         (__FP_FRAC_DEC_3): Likewise.
8978         (__FP_FRAC_DEC_4): Likewise.
8979         (__FP_FRAC_ADDI_4): Likewise.
8980         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8981         (_FP_FRAC_SRL_8): Likewise.
8982         (_FP_FRAC_SRS_8): Likewise.
8984         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8985         include macro name.
8986         (FP_UNPACK_RAW_EP): Likewise.
8987         (FP_PACK_RAW_E): Likewise.
8988         (FP_PACK_RAW_EP): Likewise.
8989         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8990         (_FP_ISSIGNAN): Likewise.
8991         (_FP_ADD_INTERNAL): Likewise.
8992         (_FP_FMA): Likewise.
8993         (_FP_CMP): Likewise.
8994         (_FP_SQRT): Likewise.
8995         (_FP_TO_INT): Likewise.
8996         (_FP_FROM_INT): Likewise.
8997         (FP_EXTEND): Likewise.
8998         (_FP_DIV_MEAT_N_loop): Likewise.
9000 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9002         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9003         throughout.
9005 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
9007         [BZ #17097]
9008         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9009         result with correct sign in case of exponents that produce
9010         overflow except for X very close to 1.
9012 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
9014         mktime: merge #if/#ifdef usage from glibc
9015         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9016         as that works with both Glibc's and Gnulib's style.
9017         See thread starting at Siddhesh Poyarekar's bug report at:
9018         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9020 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9022         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9023         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9024         * sysdeps/tile/tilegx/memmove.c: Remove file.
9026 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9028         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9029         abi-name definition.
9030         * scripts/soversions.awk: Do not handle or generate ABI lines.
9031         * shlib-versions: Remove ABI entries.
9032         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9033         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9035 2014-06-27  Roland McGrath  <roland@hack.frob.com>
9037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9038         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9039         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9040         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9042         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9044         Moved ...
9045         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9046         ... here.
9047         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9048         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9049         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9050         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9052         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9054         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9056         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9057         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9058         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9059         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9060         Moved ...
9061         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9063         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9064         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9065         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9066         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9067         Moved ...
9068         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9070         Moved ...
9071         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9072         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9073         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9074         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9075         Moved ...
9076         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9077         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9078         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9079         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9080         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9081         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9082         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9083         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9084         Moved ...
9085         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9087         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9088         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9089         Moved ...
9090         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9091         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9092         Moved ...
9093         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9094         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9095         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9096         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9097         Moved ...
9098         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9099         ... here.
9100         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9101         Identical file removed.
9102         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9103         Moved ...
9104         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9105         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9106         Identical file removed.
9107         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9108         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9109         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9110         Moved ...
9111         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9112         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9113         Identical file removed.
9114         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9115         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9116         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9117         Identical file removed.
9118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9119         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9120         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9121         Identical file removed.
9122         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9123         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9124         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9125         Identical file removed.
9126         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9127         Moved ...
9128         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9129         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9130         Identical file removed.
9131         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9132         Moved ...
9133         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9134         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9135         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9136         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9137         Identical file removed.
9138         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9139         Moved ...
9140         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9141         ... here.
9142         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9143         Identical file removed.
9144         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9145         Moved ...
9146         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9147         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9148         Identical file removed.
9149         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9150         Moved ...
9151         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9152         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9153         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9154         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9155         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9156         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9157         Moved ...
9158         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9159         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9160         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9162         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9163         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9164         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9165         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9166         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9168 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
9170         [BZ #17092]
9171         * nscd/nscd.c (monitor_child): Return exit status of child
9172         instead of return value from wait syscall.
9174 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9176         * configure.ac (libc_commonpagesize): Remove variable.
9177         (libc_relro_required): Likewise.
9178         (libc_cv_z_relro): Remove configure test.
9179         * configure: Regenerated.
9180         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9181         variable.
9182         (libc_relro_required): Likewise.
9183         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9184         (libc_relro_required): Likewise.
9185         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9186         (libc_relro_required): Likewise.
9187         * sysdeps/arm/preconfigure: Regenerated.
9188         * sysdeps/ia64/preconfigure: Remove file.
9189         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9190         variable.
9191         (libc_relro_required): Likewise.
9193         [BZ #16561]
9194         [BZ #16562]
9195         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9196         (__ieee754_yn): Set FE_TONEAREST mode internally and then
9197         recompute overflowing results in original rounding mode.
9198         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9199         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9200         recompute overflowing results in original rounding mode.
9201         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9202         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9203         recompute overflowing results in original rounding mode.
9204         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9205         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9206         recompute overflowing results in original rounding mode.
9207         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9208         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9209         recompute overflowing results in original rounding mode.
9210         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9211         (libc_feholdsetround_ctx): New macro.
9212         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9213         * sysdeps/i386/fpu/libm-test-ulps: Update.
9214         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9216 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9218         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9219         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9220         corresponding .cpsetup call.
9222 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9224         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9225         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9226         * sysdeps/arm/Makefile [$(subdir) = csu]
9227         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9228         (static-only-routines): Add aeabi_read_tp here.
9229         (shared-only-routines): Add libc-aeabi_read_tp here.
9230         (CFLAGS-libc-start.c): Add -fexceptions here.
9231         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9232         (sysdep_routines, static-only-routines, shared-only-routines):
9233         Don't add to these here.
9234         (CFLAGS-libc-start.c): Likewise.
9236         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9237         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9238         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9239         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9240         * sysdeps/arm/Makefile [$(subdir) = rt]
9241         (librt-sysdep_routines, librt-shared-only-routines):
9242         Append rt-aeabi_unwind_cpp_pr1 here.
9243         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9244         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9245         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9246         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9247         Append nptl-aeabi_unwind_cpp_pr1 here.
9248         (tests): Filter out tst-cleanupx4 here.
9249         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9250         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9251         Don't do those here.
9253 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9255         * scripts/list-sources.sh: Do not handle ports specially.
9257 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9259         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9260         * sysdeps/arm/feupdateenv.c: Likewise.
9262         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9264 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9266         * manual/texinfo.tex: Update to version 2014-05-05.10 with
9267         trailing whitespace removed.
9268         * scripts/config.guess: Update to version 2014-03-23.
9269         * scripts/config.sub: Update to version 2014-05-01
9270         * scripts/install-sh: Update to version 2013-12-25.23.
9271         * scripts/move-if-change: Update from gnulib.
9273 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9275         * debug/memmove_chk.c: Remove pagecopy.h include.
9277 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
9279         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
9280         identical to gnulib mktime.
9282 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9284         * configure.ac: Do not test for machine being rs6000.  Do not test
9285         for powerpc*-*soft.
9286         * configure: Regenerated.
9288         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9289         test.
9290         * configure: Regenerated.
9291         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9292         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9293         Remove configure test.
9294         * sysdeps/arm/configure: Regenerated.
9295         * sysdeps/nptl/configure.ac: Do not check
9296         libc_cv_asm_cfi_directives.
9297         * sysdeps/nptl/configure: Regenerated.
9298         * sysdeps/x86_64/nptl/configure.ac: Remove file.
9299         * sysdeps/x86_64/nptl/configure: Remove generated file.
9300         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9301         unconditional.
9302         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9304 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9306         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9307         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9308         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9309         it is defined.
9311         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9312         instead of whether it is defined.
9313         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9314         * sysdeps/hppa/dl-machine.h: Likewise.
9315         * sysdeps/ia64/dl-machine.h: Likewise.
9316         * sysdeps/m68k/dl-machine.h: Likewise.
9317         * sysdeps/microblaze/dl-machine.h: Likewise.
9318         * sysdeps/mips/dl-machine.: Likewise.
9319         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9320         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9321         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9322         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9323         * sysdeps/sh/dl-machine.h: Likewise.
9324         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9325         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9326         * sysdeps/tile/dl-machine.h: Likewise.
9327         * sysdeps/x86_64/dl-machine.h: Likewise.
9329         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9330         code.
9331         (verify_persistent_db): Likewise.
9333 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9336         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9338         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9340         Moved ...
9341         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9342         ... here.
9343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9344         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9346         Identical file removed.
9347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9348         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9350         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9352         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9354         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9356         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9358         Moved ...
9359         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9361         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9363         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9365         Moved ...
9366         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9368         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9370         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9372         Identical file removed.
9373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9374         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9376         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9378         Moved ...
9379         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9380         ... here.
9381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9382         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9384         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9386         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9388         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9390         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9392         Moved ...
9393         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9395         Moved ...
9396         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9398         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9400         Moved ...
9401         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9403         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9405         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9406         folded into ...
9407         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9408         * sysdeps/unix/sysv/linux/s390/Versions
9409         (libpthread: GLIBC_2.19): New version set.
9410         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9411         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9412         (librt: GLIBC_2.3.3): New version set.
9413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9414         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9415         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9416         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9417         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9418         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9419         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9420         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9421         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9422         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9423         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9424         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9425         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9426         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9427         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9428         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9429         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9430         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9431         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9432         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9433         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9434         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9435         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9436         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9437         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9438         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9439         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9440         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9441         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9442         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9443         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9444         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9445         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9447         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9448         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9449         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9450         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9451         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9452         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9453         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9454         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9455         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9456         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9457         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9459         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9460         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9461         (__libc_vfork): Define the function under this name.
9462         [!NOT_IN_libc] (__vfork): Make this an alias.
9463         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9464         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9465         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9466         (__libc_vfork): Define the function under this name.
9467         [!NOT_IN_libc] (__vfork): Make this an alias.
9468         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9469         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9470         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9471         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9472         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9473         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9475         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9476         code that was previously under [RESET_PID].
9477         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9478         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9479         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9481         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9482         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9483         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9484         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9485         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9486         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9487         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9488         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9489         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9490         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9491         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9492         Moved ...
9493         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9494         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9495         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9496         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9497         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9498         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9499         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9500         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9501         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9502         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9503         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9504         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9505         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9506         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9507         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9508         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9509         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9510         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9511         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9512         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9513         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9514         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9515         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9516         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9517         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9518         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9519         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9520         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9521         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9523 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9525         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9526         that was previously under [RESET_PID].
9527         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9529 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9531         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9532         not undefine and redefine.
9533         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9534         [O_CLOEXEC]: Make code unconditional.
9535         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9536         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9537         <kernel-features.h>.
9538         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9539         conditional variable definition.
9540         (shm_open) [O_CLOEXEC]: Make code unconditional.
9541         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9542         code.
9544         * configure.ac (USE_REGPARMS): Don't define here.
9545         * configure: Regenerated.
9546         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9547         * sysdeps/i386/configure: Regenerated.
9549         * nptl/createthread.c: Don't include kernel-features.h.
9550         * nptl/pthread_cancel.c: Likewise.
9551         * nptl/pthread_condattr_setclock.c: Likewise.
9552         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9553         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9554         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9555         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9556         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9557         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9558         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9559         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9560         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9561         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9562         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9563         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9564         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9565         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9566         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9567         * nscd/gai.c: Likewise.
9568         * nss/nss_db/db-open.c: Likewise.
9569         * sysdeps/generic/ldsodefs.h: Likewise.
9570         * sysdeps/sh/nptl/tls.h: Likewise.
9571         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9572         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9573         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9574         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9575         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9576         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9577         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9578         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9579         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9580         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9581         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9582         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9583         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9584         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9585         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9586         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9587         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9588         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9589         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9590         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9592         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9593         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9594         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9595         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9596         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9597         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9598         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9599         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9600         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9601         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9602         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9603         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9604         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9605         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9606         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9607         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9608         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9609         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9610         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9611         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9612         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9613         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9614         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9615         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9616         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9617         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9618         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9619         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9620         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9621         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9622         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9623         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9624         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9625         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9626         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9627         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9628         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9651         * sysdeps/unix/sysv/linux/pread.c: Likewise.
9652         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9653         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9654         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9655         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9656         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9657         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9658         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9659         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9660         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9661         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9662         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9663         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9664         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9665         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9666         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9667         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9668         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9669         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9670         * sysdeps/unix/sysv/linux/system.c: Likewise.
9671         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9672         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9673         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9674         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9675         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9676         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9677         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9679         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9680         * configure: Regenerated.
9681         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9683         * configure.ac (base_machine): Do not set specially for particular
9684         machines here.
9685         * configure: Regenerated.
9686         * sysdeps/powerpc/preconfigure: Move machine and base_machine
9687         settings from configure.ac.
9688         * sysdeps/i386/preconfigure: New file.
9689         * sysdeps/s390/preconfigure: Likewise.
9690         * sysdeps/sh/preconfigure: Likewise.
9691         * sysdeps/sparc/preconfigure: Likewise.
9693 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9695         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9696         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9697         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9698         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9699         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9700         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9701         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9702         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9703         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9704         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9705         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9706         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9707         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9708         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9709         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9710         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9711         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9712         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9713         * sysdeps/sparc/sparc64/Makefile: ... appended here.
9715         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9716         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9717         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9718         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9719         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9720         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9721         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9722         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9723         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9724         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9725         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9726         * sysdeps/sparc/sparc32/sem_post.c: ... here.
9727         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9728         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9729         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9730         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9731         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9732         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9733         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9734         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9735         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9736         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9737         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9738         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9739         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9740         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9741         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9742         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9743         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9744         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9745         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9746         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9747         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9748         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9749         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9750         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9751         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9752         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9755         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9757         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9759         Moved ...
9760         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9761         ... here.
9762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9763         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9765         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9767         Moved ...
9768         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9770         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9772         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9774         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9776         Moved ...
9777         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9779         Moved ...
9780         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9782         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9784         Moved ...
9785         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9787         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9789         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9791         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9793         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9795         Moved ...
9796         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9797         ... here.
9798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9799         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9801         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9803         Moved ...
9804         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9806         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9808         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9810         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9812         Moved ...
9813         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9815         Moved ...
9816         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9818         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9820         Moved ...
9821         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9823         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9825         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9827 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9829         * timezone/checktab.awk: Update from tzcode 2014e.
9830         * timezone/private.h: Likewise.
9831         * timezone/tzfile.h: Likewise.
9832         * timezone/zdump.c: Likewise.
9833         * timezone/zic.c: Likewise.
9835         * sysdeps/unix/sysv/linux/kernel-features.h
9836         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9837         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9838         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9839         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9840         Remove conditional code.
9842 2014-06-25  Will Newton  <will.newton@linaro.org>
9844         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9845         (_dl_arm_cap_flags): Add HWCAP2 values.
9846         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9847         (_DL_HWCAP_COUNT): Increase to 37.
9848         (_DL_HWCAP_LAST): New define.
9849         (_DL_HWCAP2_LAST): New define.
9850         (_dl_procinfo): Add support for printing
9851         AT_HWCAP2 entries.
9852         (_dl_string_hwcap): Use _dl_hwcap_string.
9854 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9858 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9860         * README: Do not mention ports directory.
9862         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9863         Remove macro.
9864         * sysdeps/unix/sysv/linux/futimes.c: Do not include
9865         <kernel-features.h>.
9866         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9867         conditional variable definition.
9868         (__futimes): Update comment.
9869         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9870         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9872         [BZ #16560]
9873         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9874         arguments close to 0.
9875         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9876         Likewise.
9877         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9878         Likewise.
9879         * math/auto-libm-test-in: Add more tests of exp10.
9880         * math/auto-libm-test-out: Regenerated.
9881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9883         * sysdeps/unix/sysv/linux/kernel-features.h
9884         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9885         * sysdeps/unix/sysv/linux/readv.c: Do not include
9886         <kernel-features.h>.
9887         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9888         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9889         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9890         unconditional.
9891         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9892         conditional code.
9893         * sysdeps/unix/sysv/linux/writev.c: Do not include
9894         <kernel-features.h>.
9895         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9896         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9897         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9898         unconditional.
9899         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9900         conditional code.
9902 2014-06-25  Will Newton  <will.newton@linaro.org>
9904         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9905         comment changes throughout the file.  Remove checks
9906         for HAVE_*_H definitions that are not required.
9907         (__gen_tempname): Call abort if an unknown kind value is
9908         passed.
9910 2014-06-25  Andreas Schwab  <schwab@suse.de>
9912         [BZ #17086]
9913         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9914         scalbln, scalblnf, scalblnl in libc.
9916 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9918         [BZ #17086]
9919         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9920         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9921         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9923 2014-06-24  Roland McGrath  <roland@hack.frob.com>
9925         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9926         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9927         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9928         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9929         Update #include.
9930         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9931         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9932         Update #include.
9933         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9934         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9935         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9936         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9937         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9938         * sysdeps/x86/bits/pthreadtypes.h: ... here.
9939         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9940         * sysdeps/x86/bits/semaphore.h: ... here.
9941         * sysdeps/x86/nptl/elide.h: Moved ...
9942         * sysdeps/x86/elide.h: ... here.
9943         * sysdeps/x86_64/nptl/Implies: File removed.
9944         * sysdeps/i386/nptl/Implies: File removed.
9946 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
9948         [BZ #16539]
9949         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9950         return the argument for normal arguments with exponent below -64.
9951         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9952         Likewise.
9953         * math/auto-libm-test-in: Add another test of expm1.
9954         * math/auto-libm-test-out: Regenerated.
9956         [BZ #16287]
9957         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9958         calling __erfcl for arguments at least 16.
9959         * math/auto-libm-test-in: Add more tests of erf.
9960         * math/auto-libm-test-out: Regenerated.
9962         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9963         individual architectures.
9964         * sysdeps/unix/sysv/linux/configure: Regenerated.
9965         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9966         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9967         * sysdeps/unix/sysv/linux/powerpc/configure.ac
9968         (ldd_rewrite_script): Define variable.
9969         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9971         file.
9972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9973         generated file.
9974         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9975         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9976         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9977         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9978         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9979         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9980         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9981         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9983 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9985         [BZ #17084]
9986         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9987         Rename member __data.d to __data.__elision_data.
9989 2014-06-24  Wilco  <wdijkstr@arm.com>
9991         * NEWS: Add 16918 to fixed bug list.
9993 2014-06-24  Wilco  <wdijkstr@arm.com>
9995         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9997 2014-06-24  Wilco  <wdijkstr@arm.com>
9999         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10000         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10001         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10002         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10003         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10004         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10005         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10006         Use _FPU_MASK_RM.
10008 2014-06-24  Wilco  <wdijkstr@arm.com>
10010         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10012 2014-06-24  Wilco  <wdijkstr@arm.com>
10014         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10015         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10016         * sysdeps/arm/fesetround.c (fesetround): Remove space.
10017         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10019 2014-06-24  Wilco  <wdijkstr@arm.com>
10021         [BZ #16918]
10022         * sysdeps/arm/feupdateenv.c (feupdateenv):
10023         Rewrite to reduce FPSCR accesses and fix return value.
10025 2014-06-24  Wilco  <wdijkstr@arm.com>
10027         * sysdeps/arm/fclrexcpt.c (feclearexcept):
10028         Optimize to avoid unnecessary FPSCR writes.
10029         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10030         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10031         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10032         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10034 2014-06-24  Wilco  <wdijkstr@arm.com>
10036         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10037         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10038         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10039         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10040         Call libc_fetestexcept_vfp.
10041         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10042         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10043         __SOFTFP__ ifdef so that they can be built for softfp.
10045 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10047         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10048         argument type signed char.
10050         * Makerules (check-abi): Dump diff of symlist if the test
10051         fails.
10053 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10055         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10056         using abort.
10058         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10059         Remove unused variable ST.
10061 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10063         [BZ #16354]
10064         [BZ #17061]
10065         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10066         small arguments before calling __expm1.
10067         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10068         small arguments before calling __expm1f.
10069         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10070         small arguments before calling __expm1l.
10071         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10072         Likewise.
10073         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10074         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
10075         spurious underflow for some cosh tests.
10076         * math/auto-libm-test-out: Regenerated.
10077         * sysdeps/i386/fpu/libm-test-ulps: Update.
10079         [BZ #17050]
10080         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10081         (__ieee754_y1): Set errno if return value overflows.
10082         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10083         (__ieee754_y1f): Set errno if return value overflows.
10084         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10085         (__ieee754_y1l): Set errno if return value overflows.
10086         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10087         (__ieee754_y1l): Set errno if return value overflows.
10088         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10089         * math/auto-libm-test-out: Regenerated.
10091         * math/gen-auto-libm-tests.c: Document use of
10092         ignore-zero-inf-sign.
10093         (input_flag_type): Add value flag_ignore_zero_inf_sign.
10094         (input_flags): Add ignore-zero-inf-sign.
10095         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10096         * math/gen-libm-test.pl (generate_testfile): Handle
10097         ignore-zero-inf-sign.
10098         * math/auto-libm-test-in: Mark some cpow tests with
10099         ignore-zero-inf-sign and some with xfail-rounding.
10100         * math/auto-libm-test-out: Regenerated.
10101         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10102         * sysdeps/i386/fpu/libm-test-ulps: Update.
10103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10105         [BZ #16315]
10106         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10107         overflowing or underflowing operations take place with sign of
10108         result.
10109         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10110         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10111         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10112         (__ieee754_pow): Recompute overflowing and underflowing results in
10113         original rounding mode.
10114         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10115         (__powl_helper): Allow negative argument X and scale negated value
10116         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
10117         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10118         overflowing or underflowing operations take place with sign of
10119         result.
10120         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10121         Include <math.h>.
10122         * math/auto-libm-test-in: Add more tests of pow.
10123         * math/auto-libm-test-out: Regenerated.
10124         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10125         (pow_tonearest_test_data): Remove.
10126         (pow_test_tonearest): Likewise.
10127         (pow_towardzero_test_data): Likewise.
10128         (pow_test_towardzero): Likewise.
10129         (pow_downward_test_data): Likewise.
10130         (pow_test_downward): Likewise.
10131         (pow_upward_test_data): Likewise.
10132         (pow_test_upward): Likewise.
10133         (main): Don't call removed functions.
10134         * sysdeps/i386/fpu/libm-test-ulps: Update.
10135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10137 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10140         Moved ...
10141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10143         Moved ...
10144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10146         Moved ...
10147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10149         Moved ...
10150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10152         File removed.
10153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10154         File removed.
10155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10156         File removed.
10157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10158         File removed.
10159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10160         File removed.
10161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10162         File removed.
10163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10164         File removed.
10165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10166         File removed.
10167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10168         File removed.
10169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10170         File removed.
10171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10172         File removed.
10173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10174         File removed.
10175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10176         Moved ...
10177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10179         Moved ...
10180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10181         ... here.
10182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10183         Moved ...
10184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10186         Moved ...
10187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10189         Moved ...
10190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10192         Moved ...
10193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10195         Moved ...
10196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10198         Moved ...
10199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10201         Moved ...
10202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10205         ... here.
10206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10207         Moved ...
10208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10210         Moved ...
10211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10212         ... here.
10213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10214         Moved ...
10215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10216         ... here.
10217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10218         Moved ...
10219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10220         ... here.
10221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10222         Moved ...
10223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10225         Moved ...
10226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10230         Moved ...
10231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10232         ... here.
10233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10234         Moved ...
10235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10236         ... here.
10237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10238         Moved ...
10239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10241         Moved ...
10242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10244         Moved ...
10245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10247         Moved ...
10248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10250         Moved ...
10251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10252         ... here.
10253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10254         Moved ...
10255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10257         Moved ...
10258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10260         Moved ...
10261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10263         Moved ...
10264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10268         Moved ...
10269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10271         Moved ...
10272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10274         Moved ...
10275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10276         ... here.
10277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10278         Moved ...
10279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10280         ... here.
10281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10282         Moved ...
10283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10284         ... here.
10285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10286         Moved ...
10287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10289         Moved ...
10290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10292         Moved ...
10293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10295         Moved ...
10296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10297         ... here.
10298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10299         Moved ...
10300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10301         ... here.
10302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10303         Moved ...
10304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10305         ... here.
10306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10307         Moved ...
10308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10310         Moved ...
10311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10313 2014-06-23  Will Newton  <will.newton@linaro.org>
10314             Wilco  <wdijkstr@arm.com>
10316         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10317         implementation.  Include get-rounding-mode.h.
10318         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10319         [!libc_feholdsetround_noex_ctx]: Define
10320         libc_feholdsetround_noex_ctx.
10321         [!libc_feholdsetround_noexf_ctx]: Define
10322         libc_feholdsetround_noexf_ctx.
10323         [!libc_feholdsetround_noexl_ctx]: Define
10324         libc_feholdsetround_noexl_ctx.
10325         (libc_feholdsetround_ctx): New function.
10326         (libc_feresetround_ctx): New function.
10327         (libc_feholdsetround_noex_ctx): New function.
10328         (libc_feresetround_noex_ctx): New function.
10330 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10332         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10333         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10334         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10335         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10336         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10337         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10339         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10340         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10341         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10342         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10343         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10344         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10345         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10346         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10347         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10348         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10349         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10350         Moved ...
10351         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10352         ... here.
10353         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10354         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10355         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10356         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10357         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10358         Moved ...
10359         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10360         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10361         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10362         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10363         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10364         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10365         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10366         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10367         Moved ...
10368         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10369         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10370         Moved ...
10371         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10372         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10373         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10374         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10375         Moved ...
10376         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10377         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10378         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10379         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10380         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10381         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10382         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10383         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10384         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10385         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10386         Moved ...
10387         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10388         ... here.
10389         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10390         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10391         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10392         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10393         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10394         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10395         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10396         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10397         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10398         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10399         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10400         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10401         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10402         Moved ...
10403         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10404         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10405         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10406         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10407         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10408         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10409         Moved ...
10410         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10411         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10412         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10413         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10414         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10416         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10417         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10418         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10419         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10420         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10421         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10422         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10423         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10424         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10425         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10426         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10427         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10428         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10429         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10430         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10431         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10432         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10433         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10434         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10435         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10436         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10437         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10438         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10439         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10440         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10441         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10442         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10443         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10445 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10447         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10448         (FALLOC_FL_COLLAPSE_RANGE): New macro.
10449         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10450         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10451         (IPV6_PMTUDISC_INTERFACE): Likewise.
10452         (IPV6_PMTUDISC_OMIT): Likewise.
10454 2014-06-23  Andreas Schwab  <schwab@suse.de>
10456         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10457         Remove unused errout label.
10459 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10461         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10462         macro: hardware supports Vector Crypto instructions.
10464 2014-06-23  Will Newton  <will.newton@linaro.org>
10466         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10467         rather than __builtin_expect.
10469         * elf/dl-lookup.c (undefined_msg): Remove variable.
10470         (_dl_lookup_symbol_x): Replace undefined_msg with string
10471         literal.
10473         * elf/dl-lookup.c (do_lookup_unique): New function.
10474         (do_lookup_x): Move STB_GNU_UNIQUE handling code
10475         to a separate function.
10477 2014-06-23  Andreas Schwab  <schwab@suse.de>
10479         [BZ #17079]
10480         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10481         before reading the next line.
10483 2014-06-23  Will Newton  <will.newton@linaro.org>
10485         * test-skeleton.c (signal_handler): Use printf and %m
10486         rather than perror.  Use printf rather than fprintf to
10487         stderr.  Use puts rather than fputs to stderr.
10488         (main): Likewise.
10490 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
10492         * nscd/nscd.c (thread_info_t): Remove typedef.
10493         (thread_info): Remove variable.
10495 2014-06-21  Allan McRae  <allan@archlinux.org>
10497         * NEWS: Mention CVE-2014-4043.
10499 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10501         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10502         * nptl/smp.h: ... here.
10504         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10506         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10507         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10508         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10509         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10511         * nptl/allocatestack.c: Include <stack-aliasing.h>.
10512         * nptl/stack-aliasing.h: New file.
10513         * sysdeps/i386/i686/stack-aliasing.h: New file.
10514         * sysdeps/i386/i686/nptl/Makefile: File removed.
10515         * sysdeps/x86_64/stack-aliasing.h: New file.
10516         * sysdeps/x86_64/nptl/Makefile
10517         (CFLAGS-pthread_create.c): Variable removed.
10519         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10520         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10521         old file.
10522         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10523         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10524         old file.
10526 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
10528         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10529         (__ASSUME_SIGFRAME_V2): Remove macro.
10530         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10531         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10532         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10533         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10534         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10535         Declare as function.  Remove conditional macro definitions.
10536         (__default_rt_sa_restorer): Likewise.
10537         (__default_sa_restorer_v1): Remove declaration.
10538         (__default_sa_restorer_v2): Likewise.
10539         (__default_rt_sa_restorer_v1): Likewise.
10540         (__default_rt_sa_restorer_v2): Likewise.
10541         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10542         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10543         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10545 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10547         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10548         (libpthread-routines): Add sysdep.
10549         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10550         * sysdeps/unix/sysv/linux/sparc/Versions
10551         (libpthread: GLIBC_2.3.3): New version set.
10552         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10553         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10554         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10555         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10556         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
10557         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10558         Moved ...
10559         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10560         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10561         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10562         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10563         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10564         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10565         * sysdeps/sparc/nptl/sem_init.c: ... here.
10566         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10567         * sysdeps/sparc/nptl/sem_post.c: ... here.
10568         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10569         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10570         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10571         * sysdeps/sparc/nptl/sem_wait.c: ... here.
10572         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10573         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10574         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10575         (libpthread-routines): Add cpu_relax.
10576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10577         File removed.
10578         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10579         (librt: GLIBC_2.3.3): New version set.
10580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10581         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10582         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10583         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10586         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10588         Moved ...
10589         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10591         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10593         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10595         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10597         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10599         Moved ...
10600         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10601         Update #include.
10602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10603         Moved ...
10604         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10605         Update #include.
10606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10607         Moved ...
10608         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10609         Update #include.
10610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10611         Moved ...
10612         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10613         Update #include.
10614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10615         Moved ...
10616         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10617         Update #include.
10618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10619         Moved ...
10620         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10621         Update #include.
10622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10623         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10625         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10627         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10628         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10629         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10631         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10632         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10633         Moved ...
10634         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10636         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10638         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10640 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10642         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10643         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10644         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10645         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10646         * nscd/nscd.c: Likewise.
10647         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10648         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10649         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10650         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10652         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10653         <kernel-features.h>.
10654         (init_mq_netlink): Remove conditional have_sock_cloexec
10655         definitions.  Remove code conditional on have_sock_cloexec < 0.
10656         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10657         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10658         * sysdeps/unix/sysv/linux/opensock.c: Do not include
10659         <kernel-features.h>.
10660         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10661         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10663 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10665         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10666         Add tests for memset_chk and memset.
10668         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10669         with AVX2_Usable.
10671 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10673         [BZ #16046]
10674         * elf/tst-dl-iter-static.c: New file.
10675         * elf/Makefile (tests-static): Add tst-dl-iter-static.
10677         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10678         error.
10680 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10682         * sysdeps/unix/sysv/linux/kernel-features.h
10683         (__ASSUME_F_GETOWN_EX): Remove macro.
10684         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10685         <kernel-features.h>.
10686         (miss_F_GETOWN_EX): Remove variable or macro.
10687         (do_fcntl): Do not check miss_F_GETOWN_EX.
10688         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10690         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10691         Remove macro.
10692         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10693         [!__ASSUME_AT_RANDOM]: Remove conditional code.
10694         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10696         * sysdeps/unix/sysv/linux/kernel-features.h
10697         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10698         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10699         [ADJ_OFFSET_SS_READ]: Make code unconditional.
10700         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10702 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10704         [BZ #17075]
10705         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10706         Fix calculation of the symbol's value.
10707         * sysdeps/arm/tst-armtlsdescloc.c: New file.
10708         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10709         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10710         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10711         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10712         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10713         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10714         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10715         (modules-names): Add `tst-armtlsdescmod',
10716         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10717         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10718         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10719         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10720         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10721         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10722         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10723         ($(objpfx)tst-armtlsdescloc): New dependency.
10724         ($(objpfx)tst-armtlsdescextnow): Likewise.
10725         ($(objpfx)tst-armtlsdescextlazy): Likewise.
10726         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10727         TLS scheme support.
10728         * sysdeps/arm/configure: Regenerate.
10730 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10732         * include/fcntl.h (__atfct_seterrno): Remove prototype.
10733         (__atfct_seterrno_2): Likewise.
10734         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10735         <kernel-features.h>.
10736         (__ASSUME_ATFCTS): Do not undefine and redefine.
10737         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10738         (__have_atfcts): Remove conditional definition.
10739         (__fxstatat([__NR_fstatat64]: Make code unconditional.
10740         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10741         unreachable if [__ASSUME_ATFCTS].
10742         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10743         not undefine and redefine.
10744         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10745         <kernel-features.h>.
10746         (faccessat) [__NR_faccessat]: Make code unconditional.
10747         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10748         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10749         <kernel-features.h>.
10750         (fchmodat) [__NR_fchmodat]: Make code unconditional.
10751         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10752         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10753         <kernel-features.h>.
10754         (fchownat) [__NR_fchownat]: Make code unconditional.
10755         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10756         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10757         <kernel-features.h>.
10758         (futimesat) [__NR_futimesat]: Make code unconditional.
10759         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10760         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10761         <kernel-features.h>.
10762         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10763         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10764         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10765         <kernel-features.h>.
10766         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10767         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10768         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10769         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10770         <kernel-features.h>.
10771         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10772         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10773         * sysdeps/unix/sysv/linux/linkat.c: Do not include
10774         <kernel-features.h>.
10775         (linkat) [__NR_linkat]: Make code unconditional.
10776         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10777         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10778         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10779         <kernel-features.h>.
10780         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10781         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10782         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10783         <kernel-features.h>.
10784         (mkdirat) [__NR_mkdirat]: Make code unconditional.
10785         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10786         * sysdeps/unix/sysv/linux/openat.c: Do not include
10787         <kernel-features.h>.
10788         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10789         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10790         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10791         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10792         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10793         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10794         <kernel-features.h>.
10795         (readlinkat) [__NR_readlinkat]: Make code unconditional.
10796         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
10797         result of INLINE_SYSCALL directly, not via int variable.
10798         * sysdeps/unix/sysv/linux/renameat.c: Do not include
10799         <kernel-features.h>.
10800         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10801         (renameat) [__NR_renameat]: Make code unconditional.
10802         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10803         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10804         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10805         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10806         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10807         (__ASSUME_ATFCTS): Do not undefine and redefine.
10808         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10809         <kernel-features.h>.
10810         (symlinkat) [__NR_symlinkat]: Make code unconditional.
10811         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10812         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10813         <kernel-features.h>.
10814         (unlinkat) [__NR_unlinkat]: Make code unconditional.
10815         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10816         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10817         (__ASSUME_ATFCTS): Do not undefine and redefine.
10818         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10819         <kernel-features.h>.
10820         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10821         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10822         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10823         <kernel-features.h>.
10824         (__xmknodat) [__NR_mknodat]: Make code unconditional.
10825         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10827 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10829         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10831 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
10833         [BZ #17069]
10834         * posix/regcomp.c (parse_reg_exp): Deallocate partially
10835         constructed tree before returning error.
10836         * posix/bug-regexp36.c: Expand test case.
10838 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10840         [BZ #6803]
10841         * math/libm-test.inc (scalbln_test_date):
10842         Add errno expectations.
10843         * math/w_scalblnf.c: New File.
10844         Add wrapper which checks for setting errno to ERANGE.
10845         Add weak_alias for corresponding scalbln function.
10846         * math/w_scalbln.c: Likewise.
10847         * math/w_scalblnl.c: Likewise.
10848         * math/Makefile (libm-calls): Add w_scalbln.
10849         * sysdeps/ieee754/flt-32/s_scalblnf.c:
10850         Remove weak_alias for corresponding scalbln function.
10851         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10852         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10853         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10854         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10855         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10856         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10857         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10858         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10859         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10860         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10861         Remove long_double_symbol for scalblnl function in libm, libc.
10862         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10863         Add wrapper which checks for setting errno to ERANGE.
10864         Add long_double_symbol for scalblnl function in libm, libc.
10865         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10866         Remove long_double_symbol for scalblnl in libm.
10867         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10868         Add wrapper which checks for setting errno to ERANGE.
10869         Add long_double_symbol for scalblnl function in libm.
10870         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10871         Do not use wrapper because of own implementation.
10873 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
10875         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10876         3 bytes for __pad1 for x32.
10877         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10879 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
10880             H.J. Lu  <hongjiu.lu@intel.com>
10882         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10883         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10884         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10885         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10886         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10888 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
10890         [BZ #17069]
10891         * posix/regcomp.c (parse_expression): Deallocate partially
10892         constructed tree before returning error.
10893         * posix/Makefile.c (tests): Add bug-regex36.
10894         (generated): Add bug-regex36.mtrace.
10895         (tests-special): Add $(objpfx)bug-regex36-mem.out
10896         (bug-regex36-ENV): New variable.
10897         ($(objpfx)bug-regex36-mem.out): New rule.
10898         * posix/bug-regex36.c: New file.
10900 2014-06-19  Will Newton  <will.newton@linaro.org>
10902         * malloc/malloc.c (systrim): If extra is zero then return
10903         early.
10905 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10907         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10909 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
10911         * sysdeps/aarch64/strchr.S: New file.
10913 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10915         [BZ #17022]
10916         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10917         from arguments -2 or below.
10918         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10919         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10921 2014-06-18  Andreas Schwab  <schwab@suse.de>
10923         [BZ #17062]
10924         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10925         of a bracket expr not to run off the end of the string.
10926         * posix/Makefile (tests): Add tst-fnmatch3.
10927         * posix/tst-fnmatch3.c: New file.
10929 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10931         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10932         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10933         [$(cross-compiling) = no]: Likewise.
10934         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10935         [$(cross-compiling) = no]: Likewise.
10937 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10939         [BZ #17031]
10940         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10941         double, adjusted for any remainder from the high double.
10942         * math/libm-test.inc (nearbyint): Add tests.
10943         (rint): Likewise.
10945 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10947         * nptl/sysdeps/powerpc/Makefile: Moved ...
10948         * sysdeps/powerpc/nptl/Makefile: ... here.
10949         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10950         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10951         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10952         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10953         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10954         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10955         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10956         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10957         * nptl/sysdeps/powerpc/tls.h: Moved ...
10958         * sysdeps/powerpc/nptl/tls.h: ... here.
10960 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
10962         [BZ #16681]
10963         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10964         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10965         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10966         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10967         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10968         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10969         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10970         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10971         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10973 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
10975         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10977 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
10979         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10980         defined operator.
10982         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10983         $TIMEOUTFACTOR.
10985 2014-06-16  Florian Weimer  <fweimer@redhat.com>
10987         [BZ #17058]
10988         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10989         non-executed part of the test.
10991 2014-06-16  Andreas Schwab  <schwab@suse.de>
10993         * string/bits/string2.h (strdup, strndup): Update feature guard.
10995 2014-06-14  David S. Miller  <davem@davemloft.net>
10997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10999 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11001         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11002         that was previously under [RESET_PID].
11003         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11005         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11006         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11007         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11008         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11009         (__libc_vfork): New strong alias.
11010         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11012 2014-06-14 Andi Kleen  <ak@linux.intel.com>
11014         * sysdeps/generic/elide.h: New file.
11016 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11018         * Makefile (installed-headers): Adjust path of pthread.h header.
11020 2014-06-13  Roland McGrath  <roland@hack.frob.com>
11022         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11023         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11024         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11025         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11027         * nptl/sysdeps/s390/Makefile: Moved ...
11028         * sysdeps/s390/nptl/Makefile: ... here.
11029         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11030         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11031         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11032         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11033         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11034         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11035         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11036         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11037         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11038         * sysdeps/s390/nptl/pthreaddef.h: ... here.
11039         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11040         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11041         * nptl/sysdeps/s390/tls.h: Moved ...
11042         * sysdeps/s390/nptl/tls.h: ... here.
11044         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11045         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11047 2014-06-13  David S. Miller  <davem@davemloft.net>
11049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11052         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11056         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11057         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11058         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11059         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11060         Remove RESET_PID cpp guards.
11061         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11062         Remove RESET_PID cpp guards.
11063         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11065 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
11067         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11068         __sp to uintptr_t.
11070 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11072         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11073         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11074         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11075         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11076         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11077         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11078         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11079         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11080         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11081         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11082         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11083         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11084         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11085         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11086         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11087         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11088         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11089         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11090         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11091         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11093         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11094         (pthread_rwlock_rdlock): Add elision.
11095         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11096         (pthread_rwlock_wrlock): Add elision.
11097         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11098         (pthread_rwlock_trywrlock): Add elision.
11099         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11100         (pthread_rwlock_tryrdlock): Add elision.
11101         * nptl/pthread_rwlock_unlock.c: Include elide.h.
11102         (pthread_rwlock_tryrdlock): Add elision unlock.
11103         * nptl/sysdeps/pthread/pthread.h:
11104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11105         (PTHREAD_RWLOCK_INITIALIZER,
11106         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11107         Handle new elision field.
11108         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11109         * sysdeps/arm/nptl/bits/pthreadtypes.h
11110         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11111         * sysdeps/sh/nptl/bits/pthreadtypes.h
11112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11113         * sysdeps/tile/nptl/bits/pthreadtypes.h
11114         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11115         * sysdeps/a/nptl/bits/pthreadtypes.h
11116         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11117         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11118         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11119         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11120         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11121         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11122         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11123         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11124         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11125         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11126         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11127         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11128         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11129         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11130         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11131         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11132         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11133         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11134         (elision_init): Set try_xbegin to zero when no RTM.
11135         * sysdeps/x86/nptl/bits/pthreadtypes.h
11136         (pthread_rwlock_t): Change __pad1 to __rwelision.
11137         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11139 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11141         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11142         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11143         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11144         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11146 2014-06-13  Meador Inge  <meadori@codesourcery.com>
11148         [BZ #16996]
11149         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11150         that the cached result has been set before returning it.
11152 2014-06-12  Roland McGrath  <roland@hack.frob.com>
11154         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11155         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11156         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11157         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11158         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11159         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11161         * nptl/sysdeps/sparc/Makefile: Moved ...
11162         * sysdeps/sparc/nptl/Makefile: ... here.
11163         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11164         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11165         * nptl/sysdeps/sparc/tls.h: Moved ...
11166         * sysdeps/sparc/nptl/tls.h: ... here.
11167         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11168         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11169         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11170         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11171         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11172         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11173         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11174         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11175         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11176         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11177         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11178         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11179         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11180         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11181         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11182         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11183         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11184         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11185         Update #include.
11186         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11187         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11188         Update #include.
11189         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11190         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11191         Update #include.
11192         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11193         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11194         Update #include.
11196         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11198         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11199         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11201         * sysdeps/pthread/posix-timer.h: Include <list.h>.
11202         (struct list_links): Type removed.
11203         (struct thread_node, struct timer_node): Replace struct list_links
11204         with struct list_head.
11205         (list_unlink_ip): Likewise.
11206         * sysdeps/pthread/timer_routines.c
11207         (timer_free_list, thread_free_list, thread_active_list): Likewise.
11208         (list_append, list_insbefore): Likewise.
11209         (list_init): Function removed.
11210         (thread_init, init_module): Use INIT_LIST_HEAD instead.
11211         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11212         * sysdeps/pthread/Makefile: ... here, new file.
11214         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11215         * sysdeps/nptl/Implies: ... here.
11216         * sysdeps/unix/sysv/linux/Implies: Add nptl.
11217         * nptl/sysdeps/pthread/list.h: Moved ...
11218         * include/list.h: ... here.
11219         * nptl/sysdeps/pthread/createthread.c: Moved ...
11220         * nptl/createthread.c: ... here.
11221         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11222         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11223         * nptl/pt-longjmp.c: ... here.
11224         * nptl/sysdeps/pthread/Makefile: Moved ...
11225         * sysdeps/nptl/Makefile: ... here.
11226         * nptl/sysdeps/pthread/Subdirs: Moved ...
11227         * sysdeps/nptl/Subdirs: ... here.
11228         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11229         * sysdeps/nptl/aio_misc.h: ... here.
11230         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11231         * sysdeps/nptl/bits/libc-lock.h: ... here.
11232         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11233         * sysdeps/nptl/bits/libc-lockP.h: ... here.
11234         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11235         * sysdeps/nptl/bits/stdio-lock.h: ... here.
11236         * nptl/sysdeps/pthread/configure: Moved ...
11237         * sysdeps/nptl/configure: ... here.
11238         * nptl/sysdeps/pthread/configure.ac: Moved ...
11239         * sysdeps/nptl/configure.ac: ... here.
11240         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11241         * sysdeps/nptl/gai_misc.h: ... here.
11242         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11243         * sysdeps/nptl/librt-cancellation.c: ... here.
11244         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11245         * sysdeps/nptl/malloc-machine.h: ... here.
11246         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11247         * sysdeps/nptl/pthread-functions.h: ... here.
11248         * nptl/sysdeps/pthread/pthread.h: Moved ...
11249         * sysdeps/nptl/pthread.h: ... here.
11250         * nptl/sysdeps/pthread/setxid.h: Moved ...
11251         * sysdeps/nptl/setxid.h: ... here.
11252         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11253         * sysdeps/nptl/sigfillset.c: ... here.
11254         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11255         * sysdeps/nptl/tcb-offsets.h: ... here.
11256         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11257         * sysdeps/nptl/tst-mqueue8x.c: ... here.
11258         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11259         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11260         * nptl/sysdeps/pthread/allocalim.h: Moved ...
11261         * sysdeps/pthread/allocalim.h: ... here.
11262         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11263         * sysdeps/pthread/bits/sigthread.h: ... here.
11264         * nptl/sysdeps/pthread/flockfile.c: Moved ...
11265         * sysdeps/pthread/flockfile.c: ... here.
11266         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11267         * sysdeps/pthread/ftrylockfile.c: ... here.
11268         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11269         * sysdeps/pthread/funlockfile.c: ... here.
11270         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11271         * sysdeps/pthread/posix-timer.h: ... here.
11272         * nptl/sysdeps/pthread/timer_create.c: Moved ...
11273         * sysdeps/pthread/timer_create.c: ... here.
11274         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11275         * sysdeps/pthread/timer_delete.c: ... here.
11276         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11277         * sysdeps/pthread/timer_getoverr.c: ... here.
11278         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11279         * sysdeps/pthread/timer_gettime.c: ... here.
11280         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11281         * sysdeps/pthread/timer_routines.c: ... here.
11282         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11283         * sysdeps/pthread/timer_settime.c: ... here.
11284         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11285         * sysdeps/pthread/tst-timer.c: ... here.
11286         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11287         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11289         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11290         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11292         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11293         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11294         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11295         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11296         Update #include target.
11297         * nptl/sysdeps/i386/i686/Makefile: Moved ...
11298         * sysdeps/i386/i686/nptl/Makefile: ... here.
11299         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11300         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11301         Update #include target.
11302         * nptl/sysdeps/i386/i686/tls.h: Moved ...
11303         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
11304         * nptl/sysdeps/i386/Makefile: Moved ...
11305         * sysdeps/i386/nptl/Makefile: ... here.
11306         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11307         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11308         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11309         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11310         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11311         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11312         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11313         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11314         * sysdeps/i386/nptl/pthreaddef.h: ... here.
11315         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11316         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11317         * nptl/sysdeps/i386/tls.h: Moved ...
11318         * sysdeps/i386/nptl/tls.h: ... here.
11320         * sysdeps/sh/Makefile [$(subdir) = csu]
11321         (gen-as-const-headers): Add tcb-offsets.sym.
11322         * nptl/sysdeps/sh/Makefile: File removed.
11323         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11324         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11325         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11326         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11327         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11328         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11329         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11330         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11331         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11332         * sysdeps/sh/nptl/pthreaddef.h: ... here.
11333         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11334         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11335         * nptl/sysdeps/sh/tls.h: Moved ...
11336         * sysdeps/sh/nptl/tls.h: ... here.
11337         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11338         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11339         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11340         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11341         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11342         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11343         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11344         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11345         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11346         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11347         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11348         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11349         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11350         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11351         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11352         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11353         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11354         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11355         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11356         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11357         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11358         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11359         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11360         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11361         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11362         Moved ...
11363         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11364         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11365         Moved ...
11366         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11367         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11368         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11369         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11370         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11371         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11372         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11373         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11374         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11375         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11376         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11377         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11378         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11379         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11380         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11381         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11382         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11383         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11384         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11386 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11388         * posix/spawn_faction_addopen.c: Include string.h.
11390 2014-06-11  Roland McGrath  <roland@hack.frob.com>
11392         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11393         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11394         * nptl/sysdeps/x86_64/Makefile: Moved ...
11395         * sysdeps/x86_64/nptl/Makefile: ... here.
11396         * nptl/sysdeps/x86_64/configure: Moved ...
11397         * sysdeps/x86_64/nptl/configure: ... here.
11398         * nptl/sysdeps/x86_64/configure.ac: Moved ...
11399         * sysdeps/x86_64/nptl/configure.ac: ... here.
11400         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11401         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11402         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11403         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11404         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11405         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11406         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11407         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11408         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11409         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11410         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11411         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11412         * nptl/sysdeps/x86_64/tls.h: Moved ...
11413         * sysdeps/x86_64/nptl/tls.h: ... here.
11414         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11415         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11416         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11417         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11419         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11421 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11425 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
11427         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11428         type.
11429         [POSIX] (off_t): Likewise.
11430         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11431         [POSIX] (S_ISBLK): Require macro.
11432         [POSIX] (S_ISCHR): Likewise.
11433         [POSIX] (S_ISDIR): Likewise.
11434         [POSIX] (S_ISFIFO): Likewise.
11435         [POSIX] (S_ISREG): Likewise.
11436         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11437         optional-macro.
11438         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11439         type.
11440         [POSIX] (time_t): Likewise.
11441         [POSIX] (timer_t): Likewise.
11443 2014-06-11  Florian Weimer  <fweimer@redhat.com>
11445         [BZ #17048]
11446         * posix/spawn_int.h (struct __spawn_action): Make the path string
11447         non-const to support deallocation.
11448         * posix/spawn_faction_addopen.c
11449         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11450         * posix/spawn_faction_destroy.c
11451         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
11452         path in all spawn_do_open actions.
11453         * posix/tst-spawn.c (do_test): Exercise the copy operation in
11454         posix_spawn_file_actions_addopen.
11456 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
11458         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11459         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11460         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11461         conditional code always true.
11462         (__libc_vfork): New alias.
11464 2014-06-11  Roland McGrath  <roland@hack.frob.com>
11466         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11467         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11469         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11471         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11472         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11474         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11475         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11477         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11478         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11480 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11482         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11483         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11484         multiarch strcmp for PPC64.
11485         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11486         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11488         multiarch optimizations.
11489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11490         (__libc_ifunc_impl_list): Likewise.
11492 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11494         * benchtests/scripts/validate_benchout.py: New script.
11495         * benchtests/Makefile (bench-func): Call it.
11496         * benchtests/scripts/benchout.schema.json: New file.
11498 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
11500         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11501         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11502         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11503         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11504         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11505         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11506         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11507         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11508         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11509         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11510         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11511         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11512         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11513         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11514         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11515         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11517         Moved ...
11518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11519         ... here.
11520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11521         Moved ...
11522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11524         Moved ...
11525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11526         ... here.
11527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11528         Moved ...
11529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11530         ... here.
11531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11532         Moved ...
11533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11535         Moved ...
11536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11537         ... here.
11538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11539         Moved ...
11540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11541         ... here.
11542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11543         Moved ...
11544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11546         Moved ...
11547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11548         ... here.
11549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11550         Moved ...
11551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11552         ... here.
11553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11554         Moved ...
11555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11556         ... here.
11557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11558         Moved ...
11559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11561         Moved ...
11562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11563         ... here.
11564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11565         Moved ...
11566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11567         ... here.
11568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11569         Moved ...
11570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11571         ... here.
11572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11573         Moved ...
11574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11576         Moved ...
11577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11578         ... here.
11579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11580         Moved ...
11581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11582         ... here.
11583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11584         Moved ...
11585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11587         Moved ...
11588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11589         ... here.
11590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11591         Moved ...
11592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11594         Moved ...
11595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11597         Moved ...
11598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11599         ... here.
11600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11601         Moved ...
11602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11603         ... here.
11604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11605         Moved ...
11606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11607         ... here.
11608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11609         Moved ...
11610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11612         Moved ...
11613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11614         ... here.
11615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11616         Moved ...
11617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11618         ... here.
11619         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11620         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11621         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11622         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11623         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11624         Moved ...
11625         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11626         ... here.
11627         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11628         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11629         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11630         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11631         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11632         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11633         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11634         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11635         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11636         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11637         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11638         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11639         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11640         Moved ...
11641         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11642         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11643         Moved ...
11644         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11645         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11646         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11647         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11648         Moved ...
11649         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11650         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11651         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11652         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11653         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11654         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11655         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11657 2014-06-10  Wilco  <wdijkstr@arm.com>
11659         * math/test-fenv-return.c: New file.
11660         * math/Makefile: Add new test test-fenv-return.
11662 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
11664         [BZ #17042]
11665         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11666         when x - 1 is zero.
11667         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11668         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11669         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11670         0.0L for an argument of 1.0L.
11671         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11672         Likewise.
11673         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11674         value when x - 1 is zero.
11675         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11676         * sysdeps/i386/fpu/libm-test-ulps: Update.
11677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11679 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
11681         [BZ #15119]
11682         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11684 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11686         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11687         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11689 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11691         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11692         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11694         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11695         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11697         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11698         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11700         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11701         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11703         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11704         if not already defined.
11705         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11706         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11707         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11708         (TLS_INIT_TP): Use it.
11709         (TLS_DEFINE_INIT_TP): New macro.
11710         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11712 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
11714         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11715         constant.
11716         [POSIX] (IXANY): Likewise.
11717         [POSIX] (OLCUC): Likewise.
11718         [POSIX || POSIX2008] (CBAUD): Do not allow.
11719         [POSIX || POSIX2008] (DEFECHO): Likewise.
11720         [POSIX || POSIX2008] (ECHOCTL): Likewise.
11721         [POSIX || POSIX2008] (ECHOKE): Likewise.
11722         [POSIX || POSIX2008] (ECHOPRT): Likewise.
11723         [POSIX || POSIX2008] (EXTA): Likewise.
11724         [POSIX || POSIX2008] (EXTB): Likewise.
11725         [POSIX || POSIX2008] (FLUSHO): Likewise.
11726         [POSIX || POSIX2008] (LOBLK): Likewise.
11727         [POSIX || POSIX2008] (PENDIN): Likewise.
11728         [POSIX || POSIX2008] (SWTCH): Likewise.
11729         [POSIX || POSIX2008] (VDISCARD): Likewise.
11730         [POSIX || POSIX2008] (VDSUSP): Likewise.
11731         [POSIX || POSIX2008] (VLNEXT): Likewise.
11732         [POSIX || POSIX2008] (VREPRINT): Likewise.
11733         [POSIX || POSIX2008] (VSTATUS): Likewise.
11734         [POSIX || POSIX2008] (VWERASE): Likewise.
11735         (B*): Change to B[0123456789]*.
11736         * conform/data/time.h-data [POSIX || UNIX98]
11737         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11738         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11739         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11740         [POSIX] (tm_*): Do not allow.
11742 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
11744         * Makefile (install): Don't set LANGUAGE.
11745         * Makefile.in (install): Likewise.
11746         * assert/Makefile (test-assert-ENV): Remove variable.
11747         (test-assert-perr-ENV): Likewise.
11748         * elf/Makefile (neededtest4-ENV): Likewise.
11749         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11750         [$(cross-compiling) = no]: Don't set LANGUAGE.
11751         * io/ftwtest-sh (LANG): Remove variable.
11752         * libio/Makefile (tst-widetext-ENV): Likewise.
11753         * manual/install.texi (Running make install): Don't refer to
11754         environment settings for make install.
11755         * INSTALL: Regenerated.
11756         * nptl/tst-tls6.sh: Don't set LANG.
11757         * posix/globtest.sh (LANG): Remove variable.
11758         * string/Makefile (tester-ENV): Likewise.
11759         (inl-tester-ENV): Likewise.
11760         (noinl-tester-ENV): Likewise.
11761         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11762         [$(cross-compiling) = no]: Don't set LANGUAGE.
11763         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11764         without explicit environment settings.
11766 2014-06-06  Roland McGrath  <roland@hack.frob.com>
11768         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11769         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11770         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11771         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11773 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
11775         * crypt/crypt-private.h [DOS]: Add some includes taken from the
11776         other files in the crypt directory.
11777         * crypt/crypt.c: Remove duplicate includes.
11778         * crypt/crypt-entry.c: Likewise.
11779         * crypt/crypt_util.c: Likewise.
11781 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
11783         * Makeconfig (run-program-env): New variable.
11784         (run-program-prefix-before-env): Likewise.
11785         (run-program-prefix-after-env): Likewise.
11786         (run-program-prefix): Define in terms of new variables.
11787         (built-program-cmd-before-env): New variable.
11788         (built-program-cmd-after-env): Likewise.
11789         (built-program-cmd): Define in terms of new variables.
11790         (test-program-prefix-before-env): New variable.
11791         (test-program-prefix-after-env): Likewise.
11792         (test-program-prefix): Define in terms of new variables.
11793         (test-program-cmd-before-env): New variable.
11794         (test-program-cmd-after-env): Likewise.
11795         (test-program-cmd): Define in terms of new variables.
11796         * Rules (make-test-out): Use $(run-program-env).
11797         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11798         (help): Do not mention environment variables.  Mention
11799         --timeoutfactor option.
11800         (timeoutfactor): New variable.
11801         (blacklist_exports): Remove function.
11802         (exports): Remove variable.
11803         (command): Do not include ${exports}.
11804         * manual/install.texi (Configuring and compiling): Do not mention
11805         test wrappers preserving environment variables.  Mention that last
11806         assignment to a variable must take precedence.
11807         * INSTALL: Regenerated.
11808         * benchtests/Makefile (run-bench): Use $(run-program-env).
11809         * catgets/Makefile ($(objpfx)test1.cat): Use
11810         $(built-program-cmd-before-env), $(run-program-env) and
11811         $(built-program-cmd-after-env).
11812         ($(objpfx)test2.cat): Do not specify environment variables
11813         explicitly.
11814         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11815         $(run-program-env) and $(built-program-cmd-after-env).
11816         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11817         $(run-program-env) and $(test-program-cmd-after-env).
11818         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11819         explicitly.
11820         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11821         run_program_env and test_program_cmd_after_env arguments.
11822         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11823         * elf/tst-pathopt.sh: Use run_program_env argument.
11824         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11825         $(test-wrapper-env) and $(run-program-env).
11826         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11827         run_program_env arguments.
11828         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11829         * intl/Makefile ($(objpfx)tst-gettext.out): Use
11830         $(test-program-prefix-before-env), $(run-program-env) and
11831         $(test-program-prefix-after-env).
11832         ($(objpfx)tst-gettext2.out): Likewise.
11833         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11834         run_program_env and test_program_prefix_after_env arguments.
11835         * intl/tst-gettext2.sh: Likewise.
11836         * intl/tst-gettext4.sh: Do not set environment variables
11837         explicitly.
11838         * intl/tst-gettext6.sh: Likewise.
11839         * intl/tst-translit.sh: Likewise.
11840         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11841         $(test-program-prefix-before-env), $(run-program-env) and
11842         $(test-program-prefix-after-env).
11843         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11844         run_program_env and test_program_prefix_after_env arguments.
11845         * math/Makefile (run-regen-ulps): Use $(run-program-env).
11846         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11847         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
11848         explicitly with each use of ${test_wrapper_env}.
11849         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11850         $(test-program-prefix-before-env), $(run-program-env) and
11851         $(test-program-prefix-after-env).
11852         * posix/tst-getconf.sh: Do not set environment variables
11853         explicitly.
11854         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11855         run_program_env and test_program_prefix_after_env arguments.
11856         * stdio-common/tst-printf.sh: Do not set environment variables
11857         explicitly.
11858         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11859         $(test-program-prefix-before-env), $(run-program-env) and
11860         $(test-program-prefix-after-env).
11861         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11862         run_program_env and test_program_prefix_after_env arguments.
11863         Split $test calls into $test_pre and $test.
11864         * timezone/Makefile (build-testdata): Use
11865         $(built-program-cmd-before-env), $(run-program-env) and
11866         $(built-program-cmd-after-env).
11868 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11870         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11871         strlen for non SHARED builds.
11873 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11875         * nptl/allocatestack.c (check_list): Inlined function...
11876         (__reclaim_stacks): ... here.
11878 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11880         [BZ #15698]
11881         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11882         memory overrun.
11884 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
11886         * Rules (make-test-out): Include
11887         LOCPATH=$(common-objpfx)localedata in default environment.
11888         * debug/Makefile (tst-chk1-ENV): Remove variable.
11889         (tst-chk2-ENV): Likewise.
11890         (tst-chk3-ENV): Likewise.
11891         (tst-chk4-ENV): Likewise.
11892         (tst-chk5-ENV): Likewise.
11893         (tst-chk6-ENV): Likewise.
11894         (tst-lfschk1-ENV): Likewise.
11895         (tst-lfschk2-ENV): Likewise.
11896         (tst-lfschk3-ENV): Likewise.
11897         (tst-lfschk4-ENV): Likewise.
11898         (tst-lfschk5-ENV): Likewise.
11899         (tst-lfschk6-ENV): Likewise.
11900         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11901         (tst-iconv7-ENV): Likewise.
11902         * intl/Makefile (LOCPATH-ENV): Likewise.
11903         (tst-codeset-ENV): Likewise.
11904         (tst-gettext3-ENV): Likewise.
11905         (tst-gettext5-ENV): Likewise.
11906         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11907         (tst-fopenloc-ENV): Likewise.
11908         (tst-fgetws-ENV): Remove variable.
11909         (tst-ungetwc1-ENV): Likewise.
11910         (tst-ungetwc2-ENV): Likewise.
11911         (bug-ungetwc2-ENV): Likewise.
11912         (tst-swscanf-ENV): Likewise.
11913         (bug-ftell-ENV): Likewise.
11914         (tst-fgetwc-ENV): Likewise.
11915         (tst-fseek-ENV): Likewise.
11916         (tst-ftell-partial-wide-ENV): Likewise.
11917         (tst-ftell-active-handler-ENV): Likewise.
11918         (tst-ftell-append-ENV): Likewise.
11919         * posix/Makefile (tst-fnmatch-ENV): Likewise.
11920         (tst-regexloc-ENV): Likewise.
11921         (bug-regex1-ENV): Likewise.
11922         (tst-regex-ENV): Likewise.
11923         (tst-regex2-ENV): Likewise.
11924         (bug-regex5-ENV): Likewise.
11925         (bug-regex6-ENV): Likewise.
11926         (bug-regex17-ENV): Likewise.
11927         (bug-regex18-ENV): Likewise.
11928         (bug-regex19-ENV): Likewise.
11929         (bug-regex20-ENV): Likewise.
11930         (bug-regex22-ENV): Likewise.
11931         (bug-regex23-ENV): Likewise.
11932         (bug-regex25-ENV): Likewise.
11933         (bug-regex26-ENV): Likewise.
11934         (bug-regex30-ENV): Likewise.
11935         (bug-regex32-ENV): Likewise.
11936         (bug-regex33-ENV): Likewise.
11937         (bug-regex34-ENV): Likewise.
11938         (bug-regex35-ENV): Likewise.
11939         (tst-rxspencer-ENV): Likewise.
11940         (tst-rxspencer-no-utf8-ENV): Likewise.
11941         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11942         (tst-sscanf-ENV): Likewise.
11943         (tst-swprintf-ENV): Likewise.
11944         (tst-swscanf-ENV): Likewise.
11945         (test-vfprintf-ENV): Likewise.
11946         (scanf13-ENV): Likewise.
11947         (bug14-ENV): Likewise.
11948         (tst-grouping-ENV): Likewise.
11949         * stdlib/Makefile (tst-strtod-ENV): Likewise.
11950         (tst-strtod3-ENV): Likewise.
11951         (tst-strtod4-ENV): Likewise.
11952         (tst-strtod5-ENV): Likewise.
11953         (testmb2-ENV): Likewise./
11954         * string/Makefile (tst-strxfrm-ENV): Likewise.
11955         (tst-strxfrm2-ENV): Likewise.
11956         (bug-strcoll1-ENV): Likewise.
11957         (test-strcasecmp-ENV): Likewise.
11958         (test-strncasecmp-ENV): Likewise.
11959         * time/Makefile (tst-strptime-ENV): Likewise.
11960         (tst-ftime_l-ENV): Likewise.
11961         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11962         (tst-mbrtowc-ENV): Likewise.
11963         (tst-wcrtomb-ENV): Likewise.
11964         (tst-mbrtowc2-ENV): Likewise.
11965         (tst-c16c32-1-ENV): Likewise.
11966         (tst-mbsnrtowcs-ENV): Likewise.
11968 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11970         * manual/resource.texi (How to get information about the memory
11971         subsystem?): Fix typo.
11972         Reported by Peon de la Parra Ivan <peon@keba.com>
11974 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
11976         [BZ #16882]
11977         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11978         (pthread_spin_lock): Branch out of spin loop to proper location.
11979         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11980         (pthread_spin_lock): Likewise.
11982         * nptl/tst-spin4.c: New test.
11983         * nptl/Makefile (tests): Add tst-spin4.
11985 2014-06-03  Andreas Schwab  <schwab@suse.de>
11987         [BZ #15946]
11988         * resolv/res_send.c (send_dg): Reload file descriptor after
11989         calling reopen.
11991 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
11993         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11995 2014-06-03  Richard Henderson  <rth@redhat.com>
11997         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11998         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11999         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12000         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
12001         in the SAVE_PID block.
12002         (__libc_vfork): New alias.
12003         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12005         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12006         child in registers, not on the stack.  Remove RESET_PID conditionals.
12007         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12009 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12011         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12013 2014-06-03  Wilco  <wdijkstr@arm.com>
12015         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12016         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12017         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12018         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12019         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12020         Likewise.
12022 2014-06-03  Wilco  <wdijkstr@arm.com>
12024         * sysdeps/aarch64/fpu/math_private.h
12025         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12026         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12027         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12028         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12029         Fix declarations.
12031 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12033         * crypt/crypt-private.h: Include ufc-crypt.h.
12034         (__b64_from_24bit): Declare extern.
12035         * crypt/crypt_util.c(__b64_from_24bit): New function.
12036         (b64t): New static const variable.
12037         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12038         (b64t): Remove variable.
12039         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12040         * crypt/sha256-crypt.c: Include crypt-private.h.
12041         (b64t): Remove variable.
12042         (__sha256_crypt_r): Remove b64_from_24bit and replace
12043         with __b64_from_24bit.
12044         * crypt/sha512-crypt.c: Likewise.
12046 2014-06-02  Roland McGrath  <roland@hack.frob.com>
12048         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12049         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12050         Label the code __libc_vfork rather than __vfork.
12051         [!NOT_IN_libc] (vfork): Define as weak alias.
12052         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12053         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12054         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12056 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12058         * malloc/malloc.c (malloc_info): Fix format specifier for
12059         n_mmaps.
12061 2014-06-02  Wilco  <wdijkstr@arm.com>
12063         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12064         FPCR write.
12066 2014-06-02  Wilco  <wdijkstr@arm.com>
12068         [BZ #17009]
12069         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12070         Rewrite to reduce FPCR/FPSR accesses.
12072 2014-06-01  David S. Miller  <davem@davemloft.net>
12074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12076 2014-05-31  David S. Miller  <davem@davemloft.net>
12078         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12079         to occur in round to nearest mode when |x| >= 2.0
12081 2014-05-30  Richard Henderson  <rth@twiddle.net>
12083         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12084         (PSEUDO_RET_NOERRNO): Remove.
12085         (ret): Don't redefine.
12086         (ret_NOERRNO): Define in terms of ret.
12087         (ret_ERRVAL): Likewise.
12089         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12090         use of PSEUDO_RET; perform the error check directly.
12092 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
12094         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12095         with __int128_t.
12097 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12099         * malloc/malloc (malloc_info): Fix formatting.
12101 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12102             Roland McGrath  <roland@hack.frob.com>
12104         * malloc/malloc (malloc_info): Also print mmapped statistics.
12106 2014-05-30  Roland McGrath  <roland@hack.frob.com>
12108         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12109         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12111 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
12113         * malloc/malloc.c (malloc_info): Inline mi_arena.
12115 2014-05-29  Richard Henderson  <rth@twiddle.net>
12117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12118         Remove comma before expanding ASM_ARGS_##nr.
12119         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12120         Make _x0 a strict output; make _x8 a strict input; adjust expansion
12121         of ASM_ARGS_##nr.
12122         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12123         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12124         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12125         (ASM_ARGS_1): Add leading comma.
12127         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12128         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12129         to __errno_location.
12130         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12131         Remove the expected plt for __errno_location.
12133         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12134         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12135         call to __read_tp.
12137         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12138         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
12139         it and break it down.
12140         (DOCARGS_0, DOCARGS_1): Do nothing.
12141         (DOCARGS_2): Update to store into the new stack frame.
12142         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12143         (UNDOCARGS_1): Update to restore from the new stack frame.
12144         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12145         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12147         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12148         (SINGLE_THREAD_P): New parameter for result regno.
12149         (PSEUDO): Update to match; use cbz instead of beq.
12151         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12152         Use ENTRY to define the _nocancel entry point.  Share the syscall
12153         and syscall error check paths with the cancel path.
12154         (PSEUDO_END): New.
12156         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12157         whitespace; tabs before and after asm mnemonics.
12159 2014-05-29  Eric Wong  <normalperson@yhbt.net>
12161         [BZ #15132]
12162         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12163         Call fstat64 or stat64 internally, depending on arguments passed.
12164         Replace stat buffer argument with file descriptor argument.
12165         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12166         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12167         Pass fd to __internal_statvfs instead of calling fstat64.
12168         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12169         Pass fd to __internal_statvfs64 instead of calling fstat64.
12170         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12171         Pass -1 to __internal_statvfs instead of calling stat64.
12172         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12173         Pass -1 to __internal_statvfs64 instead of calling stat64.
12175 2014-05-28  Roland McGrath  <roland@hack.frob.com>
12177         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12178         that was previously under [RESET_PID].
12179         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12181         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12182         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12184 2014-05-27  Roland McGrath  <roland@hack.frob.com>
12186         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12188         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12189         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12191 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
12193         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12195 2014-05-27  Andreas Schwab  <schwab@suse.de>
12197         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12198         TLS_INIT_TP macro.
12199         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12200         * elf/rtld.c (init_tls, dl_main): Likewise.
12201         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12202         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12203         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12204         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12205         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12206         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12207         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12208         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12209         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12210         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12211         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12212         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12213         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12214         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12215         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12216         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12217         * sysdeps/generic/tls.h: Update description.
12219 2014-05-27  Will Newton  <will.newton@linaro.org>
12221         [BZ #16990]
12222         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12223         and restore r2 rather than just restoring.
12225 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12227         [BZ #16724]
12228         * libio/tst-ftell-append.c: New test case.
12229         * libio/Makefile (tests): Add test case.
12230         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12231         append mode.
12232         * libio/wfileops.c (do_ftell_wide): Likewise.
12234 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12238         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12239         ...
12240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12242         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12243         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12244         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12245         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12246         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12247         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12249         Moved ...
12250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12252         Moved ...
12253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12254         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12255         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12256         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12257         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12258         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12259         ...
12260         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12261         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12262         Moved ...
12263         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12264         here.
12265         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12266         ...
12267         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12268         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12269         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12271         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12272         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12273         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12274         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12277         merge into ...
12278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12279         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12280         ...
12281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12283         ...
12284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12286         Moved ...
12287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12288         here.
12289         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12290         Moved ...
12291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12292         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12293         Moved ...
12294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12297         conditional [RESET_PID].
12298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12300         removed.
12301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12302         removed.
12304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12305         <tcb-offsets.h>.
12306         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12307         (__libc_vfork): New strong alias.
12308         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12309         removed.
12310         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12311         Removed.
12313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12314         <tcb-offsets.h>.
12315         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12316         (__libc_vfork): New strong alias.
12317         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12318         removed.
12319         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12320         removed.
12322 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
12324         * malloc/malloc.c (mi_arena): New function.
12325         (malloc_info): Remove nested function mi_arena. Call non-nosted
12326         function mi_arena.
12328 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12330         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12331         by insrwi.
12332         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12333         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12334         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12335         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12336         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12337         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12338         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12340 2014-05-26  Andreas Schwab  <schwab@suse.de>
12342         [BZ #16984]
12343         * locale/programs/repertoire.c (repertoire_read): Add slash
12344         between I18NPATH element and file name.
12345         * locale/programs/locfile.c (locfile_read): Likewise.
12347 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12349         * nptl/pthread_mutexattr_settype.c
12350         (__pthread_mutexattr_settype):
12351         Disable lock elision for PTHREAD_MUTEX_NORMAL.
12353 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12355         * nptl/tst-mutex5 (do_test):
12356         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12358 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12360         * benchtests/README: Document 'init' directive.
12361         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12362         BENCH_INIT.
12363         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12364         (parse_file): Recognize 'init' directive.
12366 2014-05-26  Kyle McMartin  <kyle@redhat.com>
12368         [BZ #16796]
12369         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12370         alignment of struct pthread.
12372 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12374         [BZ #16878]
12375         * nscd/netgroupcache.c (addgetnetgrentX): Look for
12376         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12377         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12378         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12380 2014-05-25  Richard Henderson  <rth@twiddle.net>
12382         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12383         (SINGLE_THREAD_P_PIC): Remove.
12384         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12385         (SINGLE_THREAD_P_PIC): Remove.
12387         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12388         branch to syscall error ...
12389         (PSEUDO): ... here.
12390         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12391         from __local_syscall_error to .Lsyscall_error.
12392         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12393         (SYSCALL_ERROR): Update label name.
12395         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12396         Do not use DOARGS/UNDOARGS.
12397         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12398         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12399         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12400         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12401         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12403         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12404         block comment.
12406         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12407         define if !NOT_IN_libc.
12408         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12409         define with non-default symbol versions.
12411 2014-05-23  Richard Henderson  <rth@twiddle.net>
12413         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12414         (vfork, __vfork): Define via compat_symbol.
12416         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12417         [!HAVE_IFUNC] (vfork_compat): Remove.
12418         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12420 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
12422         [BZ #16978]
12423         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12424         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12425         variable.
12427 2014-05-23  Richard Henderson  <rth@twiddle.net>
12429         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12430         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12431         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12432         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12434         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12435         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12436         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12437         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12438         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12439         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12440         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12441         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12442         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12443         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12444         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12445         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12446         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12447         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12448         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12449         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12450         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12451         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12452         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12453         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12454         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12455         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12456         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12457         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12458         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12459         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12460         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12461         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12462         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12463         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12464         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12465         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12466         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12467         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12468         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12469         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12470         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12471         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12472         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12473         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12474         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12475         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12476         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12477         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12478         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12479         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12480         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12481         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12482         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12483         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12484         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12485         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12486         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12487         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12488         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12489         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12491         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12492         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12493         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
12494         before exiting on error.
12495         (__libc_vfork): New strong alias.
12496         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12497         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12499         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12500         that was previously under [RESET_PID].
12501         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12503         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12505 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
12507         [BZ #16977]
12508         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12509         value when x - 1 is zero.
12510         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12511         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12512         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12513         0.0L for an argument of 1.0L.
12514         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12515         Likewise.
12516         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12517         value when x - 1 is zero.
12518         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12519         * sysdeps/i386/fpu/libm-test-ulps: Update.
12520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12522 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12524         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12525         alphasort and versionsort.
12527 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12529         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12530         macro.
12531         [copysignf]: Likewise.
12533 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12535         * crypt/md5-crypt.c: Fix formatting.
12537 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12539         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12540         (b64_from_24bit): New function.
12542 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12544         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12545         libc_hidden_builtin_def to ifunc.
12546         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12547         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12549 2014-05-21  Roland McGrath  <roland@hack.frob.com>
12551         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12552         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12554 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
12556         * nscd/Depend (linuxthreads): Remove.
12557         (nptl): Add.
12558         * resolv/Depend (linuxthreads): Remove.
12559         * rt/Depend (linuxthreads): Remove.
12561         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12562         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12563         $(common-objpfx)elf/.
12564         (link-libc-before-gnulib): Likewise.
12565         (elfobjdir): Remove variable.
12566         * Makefile (install): Use $(elf-objpfx) instead of
12567         $(common-objpfx)elf/.
12568         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12569         $(elfobjdir)/.
12570         (link-libc-deps): Likewise.
12571         ($(common-objpfx)libc.so): Likewise.
12572         ($(common-objpfx)linkobj/libc.so): Likewise.
12573         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12574         instead of $(common-objpfx)elf/.
12575         (symbolic-link-list): Likewise.
12576         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12577         [$(cross-compiling) = no]: Likewise.
12578         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12579         $(elfobjdir)/.
12580         (static-gnulib-arch): Likewise.
12581         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12582         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12583         $(common-objpfx)elf/.
12585 2014-05-21  Richard Henderson  <rth@redhat.com>
12587         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12588         (SINGLE_THREAD_P): Use the correct width load.  Fold
12589         into the ldr offset.
12591         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12592         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12594 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
12596         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12597         (libgcc_s_resume): Use __attribute_used__.
12598         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12599         Likewise.
12601 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12603         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12604         optimization when used with float constants.
12606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12608 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
12610         [BZ #16915]
12611         * locale/nl_langinfo_l.c: Make direct reference to every
12612         _nl_current_CATEGORY symbol.
12613         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12614         (tests-static): Add tst-langinfo-static.
12615         (tests-special): Add tst-langinfo-static.out.
12616         ($(objpfx)tst-langinfo.out): Redirect output.
12617         ($(objpfx)tst-langinfo-static.out): New.
12618         * localedata/tst-langinfo.sh: Send output to stdout.
12619         * localedata/tst-langinfo-static.c: New file.
12621         [BZ #16965]
12622         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12623         when the shift amount is modulo the limb size.
12625 2014-05-20  Richard Henderson  <rth@redhat.com>
12627         [BZ #16967]
12628         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12629         Change type of sa_flags from unsigned int to int.
12631         [BZ #16966]
12632         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12634         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12636 2014-05-20  Will Newton  <will.newton@linaro.org>
12638         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12639         Test the return value of the system call in the nocancel case.
12641 2014-05-20  Will Newton  <will.newton@linaro.org>
12642             Yvan Roux  <yvan.roux@linaro.org>
12644         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12645         #include of asm/ptrace.h.
12646         (PTRACE_GET_THREAD_AREA): Remove #undef.
12647         (PTRACE_GETHBPREGS): Likewise.
12648         (PTRACE_SETHBPREGS): Likewise.
12649         (struct user_regs_struct): New structure.
12650         (struct user_fpsimd_struct): New structure.
12651         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12652         #include of asm/ptrace.h and second #include of sys/user.h.
12653         (PTRACE_GET_THREAD_AREA): Remove #undef.
12654         (PTRACE_GETHBPREGS): Likewise.
12655         (PTRACE_SETHBPREGS): Likewise.
12656         (ELF_NGREG): Use new struct user_regs_struct.
12657         (elf_fpregset_t): Use new struct user_fpsimd_struct.
12659 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12661         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12662         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12664 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12666         [BZ #16958]
12667         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12668         membar to avoid block loads/stores to overlap previous stores.
12670 2014-05-17  Richard Henderson  <rth@redhat.com>
12672         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12673         Create the __##syscall_name##_nocancel entry point.
12674         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12675         Remove; let the sysdep-cancel.h code create it.
12677 2014-05-17  David S. Miller  <davem@davemloft.net>
12679         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12680         Protect with __USE_GNU.
12681         (TIOCSET_TEMPT): Likewise.
12682         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12683         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12684         these are already provided in bits/ioctl-types.h
12686 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12688         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12689         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12691         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12692         Use wait4 regardless of [__NR_waitpid].
12694 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12696         PR libgcc/60166
12697         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12698         (_FP_NANSIGN_Q): Set the quiet bit.
12700 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
12702         * benchtests/Makefile
12703         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12704         not $(common-objpfx)math/libm.so.
12705         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12706         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12707         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12708         $(common-objpfx)dlfcn/libdl.so.
12709         ($(objpfx)tst-audit8): Depend on $(libm), not
12710         $(common-objpfx)math/libm.so.
12711         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12712         not $(common-objpfx)dlfcn/libdl.so.
12713         * math/Makefile
12714         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12715         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
12716         [$(build-shared) = yes].
12717         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12718         $(common-objpfx)nptl/libpthread.so.
12719         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12720         $(common-objpfx)math/libm.so$(libm.so-version) or
12721         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12722         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12723         $(common-objpfx)dlfcn/libdl.so.
12724         * setjmp/Makefile (link-libm): Remove variable.
12725         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12726         * stdio-common/Makefile (link-libm): Remove variable.
12727         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12728         * stdlib/Makefile (link-libm): Remove variable.
12729         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12730         ($(objpfx)tst-strtod-round): Likewise.
12731         ($(objpfx)tst-tininess): Likewise.
12732         ($(objpfx)tst-strtod-underflow): Likewise.
12733         ($(objpfx)tst-strtod6): Likewise.
12734         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12735         $(libdl), not $(common-objpfx)nptl/libpthread.so and
12736         $(common-objpfx)dlfcn/libdl.so.
12738 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12740         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12741         BSD terminal modes definitions.
12743 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12745         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12746         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12748         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12749         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12750         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12751         Don't do #include_next.
12752         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12753         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12754         Don't do #include_next.
12755         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12756         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12757         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12758         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12760 2014-05-16  Allan McRae  <allan@archlinux.org>
12762         * po/sv.po: Update Swedish translation from translation project.
12764         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12765         in sed expression.
12767 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
12769         [BZ #16917]
12770         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12771         errno if the TIOCGPTN ioctl fails with an error different than
12772         EINVAL.
12773         * login/tst-ptsname.c: New file.
12774         * login/Makefile (tests): Add tst-ptsname.
12776         [BZ #16943]
12777         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12778         and prlimit64.
12780 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12782         [BZ #16849]
12783         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12784         herrno to return EAI_AGAIN.
12786 2014-05-14  Roland McGrath  <roland@hack.frob.com>
12788         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12789         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12790         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12791         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12792         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12793         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12794         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12795         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12796         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12797         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12798         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12799         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12800         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12801         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12802         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12803         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12804         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12805         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12806         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12807         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12808         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12809         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12810         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12811         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12812         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12813         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12814         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12815         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12816         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12817         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12819         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12821         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12823         Moved ...
12824         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12826         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12828         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12830         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12832         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12834         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12836         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12838         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12840         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12842         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12844         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12846         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12848         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12850         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12852         Moved ...
12853         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12855         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12857         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12859         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12861         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12863         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12865         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12867         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12869         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12871         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12873         Moved ...
12874         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12876         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12878         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12879         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12880         (libpthread-sysdep_routines): Add elision-related stuff here instead.
12881         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12882         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12883         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12884         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12885         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12886         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12887         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12888         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12889         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12890         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12891         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12892         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12893         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12894         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12895         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12896         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12897         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12898         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12899         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12900         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12901         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12902         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12903         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12904         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12905         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12906         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12907         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12908         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12910         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12911         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12913         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12914         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12915         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12916         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12917         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12918         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12919         Moved ...
12920         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12921         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12922         Moved ...
12923         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12924         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12925         Moved ...
12926         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12927         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12928         Moved ...
12929         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12930         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12931         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12932         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12933         Moved ...
12934         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12935         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12936         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12937         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12938         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12939         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12940         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12941         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12942         Moved ...
12943         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12944         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12945         Moved ...
12946         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12947         ... here.
12948         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12949         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12950         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12951         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12952         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12953         Moved ...
12954         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12955         ... here.
12956         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12957         Moved ...
12958         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12959         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12960         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12961         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12962         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12963         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12964         Moved ...
12965         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12966         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12967         Moved ...
12968         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12969         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12970         Moved ...
12971         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12972         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12973         Moved ...
12974         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12975         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12976         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12977         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12978         Moved ...
12979         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12980         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12981         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12982         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12983         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12984         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12985         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12986         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12987         Moved ...
12988         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12989         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12990         Moved ...
12991         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12992         ... here.
12993         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12994         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12995         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12996         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12997         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12998         Moved ...
12999         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13000         ... here.
13001         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13002         Moved ...
13003         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13004         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13005         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13006         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13007         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13008         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13009         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13010         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13011         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13012         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13013         Moved ...
13014         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13015         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13016         Moved ...
13017         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13018         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13019         Moved ...
13020         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13021         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13022         Moved ...
13023         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13024         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13025         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13026         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13027         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13028         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13029         Moved ...
13030         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13031         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13032         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13033         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13034         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13035         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13036         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13037         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13038         Moved ...
13039         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13040         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13041         Moved ...
13042         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13043         ... here.
13044         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13045         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13046         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13047         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13048         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13049         Moved ...
13050         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13051         ... here.
13052         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13053         Moved ...
13054         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13055         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13056         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13057         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13058         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13059         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13060         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13061         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13062         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13063         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13064         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13066         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13067         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13069         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13070         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13072         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13073         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13074         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13075         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13076         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13077         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13078         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13079         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13080         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13081         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13082         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13083         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13084         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13085         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13086         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13087         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13088         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13089         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13090         Moved ...
13091         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13092         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13093         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13094         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13095         Moved ...
13096         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13097         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13098         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13099         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13100         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13101         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13102         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13103         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13104         Moved ...
13105         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13106         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13107         Moved ...
13108         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13110         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13111         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13112         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13113         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13114         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13115         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13116         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13117         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13118         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13119         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13120         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13121         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13122         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13123         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13124         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13126         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13127         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13128         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13129         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13130         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13132         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13133         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13134         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13135         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13136         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13137         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13138         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13139         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13140         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13141         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13143         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13144         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13146         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13147         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13148         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13149         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13150         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13151         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13152         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13153         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13154         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13155         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13156         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13157         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13158         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13159         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13161         Update #include.
13162         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13163         Likewise.
13164         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13165         Likewise.
13166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13167         Likewise.
13168         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13169         Likewise.
13170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13171         Likewise.
13172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13173         Likewise.
13174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13175         Likewise.
13176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13177         Likewise.
13178         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13179         Likewise.
13180         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13181         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13182         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13183         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13184         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13185         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13186         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13187         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13188         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13189         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13190         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13191         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13192         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13193         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
13194         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
13196         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13197         that was previously under [RESET_PID].
13198         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13199         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13200         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13202         * sysdeps/i386/nptl/Implies: New file.
13203         * sysdeps/x86_64/nptl/Implies: New file.
13204         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13205         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13206         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13207         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13209         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13210         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13211         (__libc_vfork): New strong alias.
13212         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13213         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13215         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13216         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13217         (__libc_vfork): New strong alias.
13218         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13219         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13221         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13222         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13223         (__libc_vfork): New strong alias.
13224         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13225         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13226         * nptl/pt-vfork.c: New file.
13227         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13228         (libpthread: GLIBC_2.20): New version set (empty).
13230 2014-05-14  Will Newton  <will.newton@linaro.org>
13232         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13233         rather than #if.
13235 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
13237         [BZ #16564]
13238         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13239         arguments with exponent 65 or above.
13240         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13241         arguments 0x1p113L or above.
13242         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13243         to arguments 0x1p107L or above.
13244         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13245         positive arguments with exponent 65 or above.
13246         * math/auto-libm-test-in: Add more tests of log1p.
13247         * math/auto-libm-test-out: Regenerated.
13249         [BZ #16928]
13250         * math/s_cacos.c (__cacos): Ensure zero real part of result from
13251         non-finite arguments is +0.
13252         * math/s_cacosf.c (__cacosf): Likewise.
13253         * math/s_cacosl.c (__cacosl): Likewise.
13254         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13255         * sysdeps/i386/fpu/libm-test-ulps: Update.
13256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13258         [BZ #16927]
13259         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13260         value.
13261         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13262         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13263         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13264         for explicit high bit of mantissa when testing for argument equal
13265         to 1.
13266         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13267         * sysdeps/i386/fpu/libm-test-ulps: Update.
13268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13270         [BZ #16516]
13271         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13272         (__erf): Scale by 16 instead of 8 in potentially underflowing
13273         case.  Ensure exception if result actually underflows.
13274         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13275         (__erff): Scale by 16 instead of 8 in potentially underflowing
13276         case.  Ensure exception if result actually underflows.
13277         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13278         (efx8): Remove variable.
13279         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13280         case.  Ensure exception if result actually underflows.
13281         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13282         (efx8): Remove variable.
13283         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13284         case.  Ensure exception if result actually underflows.
13285         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13286         (efx8): Remove variable.
13287         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13288         case.  Ensure exception if result actually underflows.
13289         * math/auto-libm-test-in: Add more tests of erf.
13290         * math/auto-libm-test-out: Regenerated.
13292 2014-05-14  Andreas Schwab  <schwab@suse.de>
13294         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13295         Remove code conditionalized on USE___THREAD.
13297         * config.h.in (HAVE_PT_CHOWN): Define as 0.
13298         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13299         not definedness.
13301 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
13303         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13304         Define unconditionally.
13305         (__ASSUME_O_CLOEXEC): Likewise.
13306         (__ASSUME_SOCK_CLOEXEC): Likewise.
13307         (__ASSUME_IN_NONBLOCK): Likewise.
13308         (__ASSUME_PIPE2): Likewise.
13309         (__ASSUME_EVENTFD2): Likewise.
13310         (__ASSUME_SIGNALFD4): Likewise.
13311         (__ASSUME_DUP3): Likewise.
13312         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13313         (__ASSUME_DUP3): Do not define.
13314         (__ASSUME_EVENTFD2): Likewise.
13315         (__ASSUME_IN_NONBLOCK): Likewise.
13316         (__ASSUME_O_CLOEXEC): Likewise.
13317         (__ASSUME_PIPE2): Likewise.
13318         (__ASSUME_SIGNALFD4): Likewise.
13319         (__ASSUME_SOCK_CLOEXEC): Likewise.
13320         (__ASSUME_UTIMES): Undefine.
13321         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13322         (__ASSUME_UTIMES): Do not define.
13323         (__ASSUME_O_CLOEXEC): Likewise.
13324         (__ASSUME_SOCK_CLOEXEC): Likewise.
13325         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13326         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13327         0x020621].
13328         (__ASSUME_PIPE2): Likewise.
13329         (__ASSUME_EVENTFD2): Likewise.
13330         (__ASSUME_SIGNALFD4): Likewise.
13331         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13332         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13333         Do not define.
13334         (__ASSUME_EVENTFD2): Likewise.
13335         (__ASSUME_SIGNALFD4): Likewise.
13336         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13337         (__ASSUME_32BITUIDS): Likewise.
13338         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13339         (__ASSUME_IPC64): Likewise.
13340         (__ASSUME_ST_INO_64_BIT): Likewise.
13341         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13342         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13343         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13344         (__ASSUME_UTIMES): Do not define.
13345         (__ASSUME_PSELECT): Likewise.
13346         (__ASSUME_PPOLL): Likewise.
13347         (__ASSUME_O_CLOEXEC): Likewise.
13348         (__ASSUME_SOCK_CLOEXEC): Likewise.
13349         (__ASSUME_IN_NONBLOCK): Likewise.
13350         (__ASSUME_PIPE2): Likewise.
13351         (__ASSUME_EVENTFD2): Likewise.
13352         (__ASSUME_SIGNALFD4): Likewise.
13353         (__ASSUME_DUP3): Likewise.
13354         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13355         (__ASSUME_UTIMES): Likewise.
13356         (__ASSUME_O_CLOEXEC): Likewise.
13357         (__ASSUME_SOCK_CLOEXEC): Likewise.
13358         (__ASSUME_IN_NONBLOCK): Likewise.
13359         (__ASSUME_PIPE2): Likewise.
13360         (__ASSUME_EVENTFD2): Likewise.
13361         (__ASSUME_SIGNALFD4): Likewise.
13362         (__ASSUME_DUP3): Likewise.
13363         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13364         (__ASSUME_UTIMES): Likewise.
13365         (__ASSUME_O_CLOEXEC): Likewise.
13366         (__ASSUME_SOCK_CLOEXEC): Likewise.
13367         (__ASSUME_IN_NONBLOCK): Likewise.
13368         (__ASSUME_PIPE2): Likewise.
13369         (__ASSUME_EVENTFD2): Likewise.
13370         (__ASSUME_SIGNALFD4): Likewise.
13371         (__ASSUME_DUP3): Likewise.
13372         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13373         Likewise.
13374         (__ASSUME_UTIMES): Likewise.
13375         (__ASSUME_EVENTFD2): Likewise.
13376         (__ASSUME_SIGNALFD4): Likewise.
13377         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13378         (__ASSUME_O_CLOEXEC): Likewise.
13379         (__ASSUME_SOCK_CLOEXEC): Likewise.
13380         (__ASSUME_IN_NONBLOCK): Likewise.
13381         (__ASSUME_PIPE2): Likewise.
13382         (__ASSUME_EVENTFD2): Likewise.
13383         (__ASSUME_SIGNALFD4): Likewise.
13384         (__ASSUME_DUP3): Likewise.
13385         (__ASSUME_UTIMES): Undefine.
13387         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13388         feclearexcept.  Remove symbol versioning code.
13389         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
13390         symbol versioning code.
13391         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
13392         symbol versioning code.
13393         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13394         feupdateenv.  Remove symbol versioning code.
13395         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13396         fegetexceptflag.  Remove symbol versioning code.
13397         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13398         fesetexceptflag.  Remove symbol versioning code.
13399         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13400         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
13401         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13402         (__posix_fadvise64_l32): Remove prototype.
13403         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13404         code.
13406 2014-05-13  Roland McGrath  <roland@hack.frob.com>
13408         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13409         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13410         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13411         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13413 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
13415         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13416         current working directory
13418 2014-05-13  Roland McGrath  <roland@hack.frob.com>
13420         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13421         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13422         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13423         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13424         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13425         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13426         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13427         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13428         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13429         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13430         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13431         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13432         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13433         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13434         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13435         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13436         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13437         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13438         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13439         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13440         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13441         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13442         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13443         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13444         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13445         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13446         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13447         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13448         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13449         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13450         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13451         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13452         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13453         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13454         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13455         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13456         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13457         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13458         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13459         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13460         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13461         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13463         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13464         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13466         * sysdeps/unix/sysv/linux/arm/Makefile
13467         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13468         Add rt-aeabi_unwind_cpp_pr1.
13469         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13470         Add nptl-aeabi_unwind_cpp_pr1.
13471         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13472         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13473         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13474         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13475         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13476         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13478         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13479         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13480         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13481         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13483         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13484         Deconditionalize the code that was previously under [RESET_PID].
13485         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13487         * sysdeps/generic/exit-thread.h: New file.
13488         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13489         * include/unistd.h (__exit_thread): Remove declaration.
13490         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13491         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13492         * csu/libc-start.c: Include <exit-thread.h>.
13493         (LIBC_START_MAIN): Pass no argument to __exit_thread.
13494         * nptl/pthread_create.c: Include <exit-thread.h>.
13495         (start_thread): Call __exit_thread in place of __exit_thread_inline.
13496         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13497         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13498         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13499         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13500         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13501         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13502         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13503         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13504         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13505         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13506         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13507         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13508         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13509         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13510         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13511         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13513 2014-05-13  Andreas Schwab  <schwab@suse.de>
13515         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13517 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
13519         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13520         (__ASSUME_UTIMES): Do not condition on kernel version.
13521         (__ASSUME_PSELECT): Define unconditionally.
13522         (__ASSUME_PPOLL): Likewise.
13523         (__ASSUME_ATFCTS): Likewise.
13524         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13525         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13526         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13527         (__ASSUME_UTIMENSAT): Define unconditionally.
13528         (__ASSUME_PRIVATE_FUTEX): Likewise.
13529         (__ASSUME_FALLOCATE): Likewise.
13530         (__ASSUME_O_CLOEXEC): Likewise.
13531         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13532         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13533         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13534         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13535         (__ASSUME_IN_NONBLOCK): Likewise.
13536         (__ASSUME_PIPE2): Likewise.
13537         (__ASSUME_EVENTFD2): Likewise.
13538         (__ASSUME_SIGNALFD4): Likewise.
13539         (__ASSUME_DUP3): Likewise.
13540         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13541         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13542         (__ASSUME_AT_RANDOM): Likewise.
13543         (__ASSUME_PREADV): Likewise.
13544         (__ASSUME_PWRITEV): Likewise.
13545         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13546         (__ASSUME_F_GETOWN_EX): Define unconditionally.
13547         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13548         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13549         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13550         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13551         (__ASSUME_O_CLOEXEC): Define unconditionally.
13552         (__ASSUME_PSELECT): Do not undefine conditionally.
13553         (__ASSUME_PPOLL): Likewise.
13554         (__ASSUME_ATFCTS): Likewise.
13555         (__ASSUME_SET_ROBUST_LIST): Likewise.
13556         (__ASSUME_UTIMENSAT): Likewise.
13557         (__ASSUME_FDATASYNC): Define unconditionally.
13558         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13559         (__ASSUME_SIGFRAME_V2): Likewise.
13560         )__ASSUME_EVENTFD2): Likewise.
13561         (__ASSUME_SIGNALFD4): Likewise.
13562         (__ASSUME_PSELECT): Do not undefine conditionally.
13563         (__ASSUME_PPOLL): Likewise.
13564         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13565         (__ASSUME_PSELECT): Define unconditionally.
13566         (__ASSUME_PPOLL): Likewise.
13567         (__ASSUME_O_CLOEXEC): Likewise.
13568         (__ASSUME_SOCK_CLOEXEC): Likewise.
13569         (__ASSUME_IN_NONBLOCK): Likewise.
13570         (__ASSUME_PIPE2): Likewise.
13571         (__ASSUME_EVENTFD2): Likewise.
13572         (__ASSUME_SIGNALFD4): Likewise.
13573         (__ASSUME_DUP3): Likewise.
13574         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13575         (__ASSUME_O_CLOEXEC): Likewise.
13576         (__ASSUME_SOCK_CLOEXEC): Likewise.
13577         (__ASSUME_IN_NONBLOCK): Likewise.
13578         (__ASSUME_PIPE2): Likewise.
13579         (__ASSUME_EVENTFD2): Likewise.
13580         (__ASSUME_SIGNALFD4): Likewise.
13581         (__ASSUME_DUP3): Likewise.
13582         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13583         (__ASSUME_EVENTFD2): Likewise.
13584         (__ASSUME_SIGNALFD4): Likewise.
13585         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13587 2014-05-12  Andreas Schwab  <schwab@suse.de>
13589         [BZ #16932]
13590         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13591         (_nss_nis_gethostbyname4_r): Return error if item length is larger
13592         than maximum RPC packet size.
13593         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13594         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13595         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13596         (_nss_nis_getservbyport_r): Likewise.
13598 2014-05-12  Will Newton  <will.newton@linaro.org>
13600         * malloc/Makefile (tests): Add tst-mallopt.
13601         * malloc/tst-mallopt.c: New file.
13603 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13605         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13606         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13608 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13610         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13611         (tst-tlsmod6.so): Likewise.
13613 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13615         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13617 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
13619         [BZ #16064]
13620         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13621         and <dl-procinfo.h>.
13622         (__fegetenv): Save SSE state in envp->__eip if supported.
13623         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13624         envp->__eip if supported.
13625         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13626         and <dl-procinfo.h>.
13627         (__fesetenv): Always set __eip, __cs_selector, __opcode,
13628         __data_offset and __data_selector in environment to 0.  Set SSE
13629         state if supported.
13630         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13631         test-fenv-sse.
13632         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13633         -mfpmath=sse.
13634         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13636 2014-05-09  Will Newton  <will.newton@linaro.org>
13638         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13639         and libc_relro_required for ARM.
13640         * sysdeps/arm/preconfigure: Regenerate.
13642 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
13643             Stefan Liebler  <stli@linux.vnet.ibm.com>
13645         * config.make.in (enable-lock-elision): New Makefile variable.
13646         * configure.ac: Likewise.
13647         * configure: Regenerate.
13648         * sysdeps/s390/configure.ac:
13649         Add check for gcc transactions support.
13650         * sysdeps/s390/configure: Regenerate.
13651         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13652         Build elision files if enabled.
13653         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13654         Add lock elision support for s390.
13655         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13656         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13657         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13658         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13659         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13660         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13661         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13662         Likewise.
13663         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13664         Likewise.
13665         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13666         Likewise.
13667         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13668         Likewise.
13669         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13670         (__lll_timedlock_elision, __lll_lock_elision)
13671         (__lll_unlock_elision, __lll_trylock_elision)
13672         (lll_timedlock_elision, lll_lock_elision)
13673         (lll_unlock_elision, lll_trylock_elision): Add.
13674         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13675         (pthread_mutex_t): Add lock elision support for s390.
13677 2014-05-14  Wilco  <wdijkstr@arm.com>
13679         * sysdeps/arm/fclrexcpt.c: Cleanup.
13680         * sysdeps/arm/fedisblxcpt.c: Cleanup.
13681         * sysdeps/arm/feenablxcpt.c: Cleanup.
13682         * sysdeps/arm/fegetenv.c: Cleanup.
13683         * sysdeps/arm/fegetexcept.c: Cleanup.
13684         * sysdeps/arm/fegetround.c: Cleanup.
13685         * sysdeps/arm/feholdexcpt.c: Cleanup.
13686         * sysdeps/arm/fesetenv.c: Cleanup.
13687         * sysdeps/arm/fesetround.c: Cleanup.
13688         * sysdeps/arm/feupdateenv.c: Cleanup.
13689         * sysdeps/arm/fgetexcptflg.c: Cleanup.
13690         * sysdeps/arm/fraiseexcpt.c: Cleanup.
13691         * sysdeps/arm/fsetexcptflg.c: Cleanup.
13692         * sysdeps/arm/ftestexcept.c: Cleanup.
13693         * sysdeps/arm/get-rounding-mode.h: Cleanup.
13694         * sysdeps/arm/setfpucw.c: Cleanup.
13696 2014-05-09  Will Newton  <will.newton@linaro.org>
13698         * sysdeps/arm/armv7/strcmp.S: New file.
13699         * NEWS: Mention addition of ARMv7 optimized strcmp.
13701 2014-05-08  Roland McGrath  <roland@hack.frob.com>
13703         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13704         look for %.ac rather than %.in.
13706         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13707         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13708         * sysdeps/mach/hurd/configure: Regenerated.
13709         * sysdeps/unix/sysv/linux/configure: Regenerated.
13711         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13713 2014-05-07  Steve Ellcey  <sellcey@mips.com>
13715         [BZ# 16922]
13716         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13717         (LONG_SUB): Ditto.
13718         (PTR_SUB): Ditto.
13720 2014-05-07  Andreas Schwab  <schwab@suse.de>
13722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13723         when skipping over non-matching result from nscd.
13725 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
13727         [BZ #16876]
13728         * nptl/sockperf.c (client): Check socket return value.
13730         [BZ #16877]
13731         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13732         nscd security class.
13734 2014-05-06  Roland McGrath  <roland@hack.frob.com>
13736         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13737         * sysdeps/arm/unwind.h: ... here.
13739 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
13741         [BZ# 16916]
13742         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13743         Define.
13745 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13747         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13748         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13749         multiarch strncpy for PPC64.
13750         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13751         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13752         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13753         multiarch optimizations.
13754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13755         (__libc_ifunc_impl_list): Likewise.
13756         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13757         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13758         multiarch stpncpy for PPC64.
13759         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13760         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13762 2014-05-06  Andreas Schwab  <schwab@suse.de>
13764         [BZ #16912]
13765         * gmon/mcount.c (_MCOUNT_DECL): Use
13766         atomic_compare_and_exchange_bool_acq instead of
13767         catomic_compare_and_exchange_bool_acq.
13769 2014-05-05  Roland McGrath  <roland@hack.frob.com>
13771         * elf/Makefile (others, install-bin): Remove pldd.
13772         (pldd-modules): Variable removed.
13773         ($(objpfx)pldd): Target removed.
13774         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13775         (others, install-bin): Append pldd here.
13776         ($(objpfx)pldd): New target.
13778         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13779         to 0, so the first #if test emitted later doesn't see it undefined.
13780         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13781         * sysdeps/gnu/errlist.c: Regenerated.
13783 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13785         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13786         [libc_hidden_builtin_def]: Define to empty value.
13787         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13788         [libc_hidden_builtin_def]: Likewise.
13789         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13790         [libc_hidden_builtin_def]: Likewise.
13791         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13792         [libc_hidden_builtin_def]: Likewise.
13793         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13794         __redirect_memcpy and define ifunc as default hidden symbol.
13795         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13796         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13798 2014-05-04  Adam Conrad  <adconrad@0c3.net>
13800         * locale/iso-4217.def: Reintroduce XDR currency.
13802 2014-05-04  Allan McRae  <allan@archlinux.org>
13804         * po/eo.po: Update Esperanto translation from translation project.
13806 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
13808         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13809         and FEATURE_INDEX_MAX to 1.
13810         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13812 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13814         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13815         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13816         * iconvdata/big5.c (ONE_DIRECTION): Define.
13817         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13818         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13819         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13820         * iconvdata/cp932.c (ONE_DIRECTION): Define.
13821         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13822         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13823         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13824         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13825         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13826         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13827         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13828         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13829         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13830         * iconvdata/gbk.c (ONE_DIRECTION): Define.
13831         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13832         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13833         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13834         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13835         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13836         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13837         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13838         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13839         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13840         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13841         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13842         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13843         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13844         * iconvdata/iso646.c (ONE_DIRECTION): Define.
13845         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13846         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13847         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13848         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13849         * iconvdata/johab.c (ONE_DIRECTION): Define.
13850         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13851         * iconvdata/sjis.c (ONE_DIRECTION): Define.
13852         * iconvdata/t.61.c (ONE_DIRECTION): Define.
13853         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13854         * iconvdata/tscii.c (ONE_DIRECTION): Define.
13855         * iconvdata/uhc.c (ONE_DIRECTION): Define.
13856         * iconvdata/unicode.c (ONE_DIRECTION): Define.
13857         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13858         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13859         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13861 2014-05-01  Roland McGrath  <roland@hack.frob.com>
13863         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13864         (_IO_JUMPS_OFFSET): Define to 0.
13866         * nptl/sysdeps/pthread/bits/libc-lock.h
13867         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13868         (__libc_lock_define_initialized_recursive): Always define using
13869         initializer.  Modern compilers treat uninitialized (implicit zero) and
13870         explicit zero initializers the same (i.e. put the datum in bss).
13872 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13874         * nscd/nscd-client.h: Include <string.h>.
13876 2014-05-01  David S. Miller  <davem@davemloft.net>
13878         [BZ #16885]
13879         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13880         multiple zero bytes exist at the end of a string.
13881         Reported by Aurelien Jarno <aurelien@aurel32.net>
13883         * string/test-strcmp.c (check): Add explicit test for situations where
13884         there are multiple zero bytes after the first.
13886 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13888         [BZ #16890]
13889         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13890         when compiling wprintf.
13891         * stdio-common/tstdiomisc.c (t3): New function.
13892         (main): Call it.
13894 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13896         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13897         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13898         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13899         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13901 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13903         * stdlib/longlong.h: Updated from GCC.
13905 2014-05-01  Will Newton  <will.newton@linaro.org>
13906             Bernard Ogden  <bernie.ogden@linaro.org>
13908         * NEWS: Update fixed bug list.
13910         [BZ #15119]
13911         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13913 2014-04-30  David S. Miller  <davem@davemloft.net>
13915         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13916         (libc_feholdexcept_setround_sparc_ctx): New function.
13917         (libc_fesetenv_sparc_ctx): Likewise.
13918         (libc_feupdateenv_sparc_ctx): Likewise.
13919         (libc_feholdsetround_sparc_ctx): Likewise.
13920         (libc_feholdexcept_setround_ctx): Define.
13921         (libc_feholdexcept_setroundf_ctx): Likewise.
13922         (libc_feholdexcept_setroundl_ctx): Likewise.
13923         (libc_fesetenv_ctx): Likewise.
13924         (libc_fesetenvf_ctx): Likewise.
13925         (libc_fesetenvl_ctx): Likewise.
13926         (libc_feupdateenv_ctx): Likewise.
13927         (libc_feupdateenvf_ctx): Likewise.
13928         (libc_feupdateenvl_ctx): Likewise.
13929         (libc_feresetround_ctx): Likewise.
13930         (libc_feresetroundf_ctx): Likewise.
13931         (libc_feresetroundl_ctx): Likewise.
13932         (libc_feholdsetround_ctx): Likewise.
13933         (libc_feholdsetroundf_ctx): Likewise.
13934         (libc_feholdsetroundl_ctx): Likewise.
13936         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13937         with __USE_GNU instead of XOPEN cpp guards.
13939         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13940         0.
13942         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13943         with XOPEN cpp guards.
13945 2014-04-30  Julian Brown  <julian@codesourcery.com>
13947         [BZ #16888]
13948         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13949         handling.
13951 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
13953         [BZ #9894]
13954         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13955         Change to 2.6.32.
13956         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13957         * sysdeps/unix/sysv/linux/configure: Regenerated.
13958         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13959         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13960         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13961         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13962         * README: Update reference to required Linux kernel version.
13963         * manual/install.texi (Linux): Update reference to required Linux
13964         kernel headers version.
13965         * INSTALL: Regenerated.
13967         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13968         header inclusion.
13969         [POSIX] (limits.h): Likewise.
13970         [POSIX] (math.h): Likewise.
13971         [POSIX] (sys/wait.h): Likewise.
13972         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13973         function.
13974         [POSIX] (stddef.h): Do not allow header inclusion.
13976 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13978         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13980 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13982         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13983         Return immediately after lll_futex_wake.
13985 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13987         [BZ #16791]
13988         * nscd/nscd-client.h (datahead_init_common): Initialize entire
13989         structure.
13990         (datahead_init_pos): Call datahead_init_common early.
13991         (datahead_init_neg): Likewise.
13993         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13994         datahead_init_neg): New functions.
13995         * nscd/aicache.c (addhstaiX): Use them.
13996         * nscd/grpcache.c (cache_addgr): Likewise.
13997         * nscd/hstcache.c (cache_addhst): Likewise.
13998         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13999         * nscd/netgroupcache.c (do_notfound): Likewise.
14000         (addgetnetgrentX): Likewise.
14001         (addinnetgrX): Likewise.
14002         * nscd/pwdcache.c (cache_addpw): Likewise.
14003         * nscd/servicescache.c (cache_addserv): Likewise.
14005 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14006             Atsushi Onoe  <atsushi@onoe.org>
14008         [BZ #14308]
14009         [BZ #12994]
14010         [BZ #13651]
14011         * resolv/res_query.c (__libc_res_nsearch): Return if at least
14012         one response is valid.
14013         * resolv/res_send.c (send_dg): Check for validity of other
14014         response if the current response is a referral.
14016 2014-04-29  Steve Ellcey  <sellcey@mips.com>
14018         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14020 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
14022         [BZ #16823]
14023         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14024         Always divide by positive zero when computing -Inf result.
14025         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14026         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14028 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14030         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14031         FPSCR if value do not change.
14032         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14033         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14034         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14035         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14036         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14037         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14038         function.
14040 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
14042         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14043         * sysdeps/unix/sysv/linux/hppa: Move directory from
14044         ports/systeps/unix/sysv/linux/hppa.
14045         * README: Update listing for hppa-*-linux-gnu.
14047 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
14049         [BZ #16754]
14050         * manual/stdio.texi (Hook functions): Fix types of stream hook
14051         functions.
14052         [BZ #16854]
14053         * socket/sys/socket.h: Fix typo in comment.
14055 2014-04-28  Wilco  <wdijkstr@arm.com>
14057         * sysdeps/arm/fenv_private.h: New file.
14058         * sysdeps/arm/math_private.h: New file.
14059         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14061 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
14063         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14064         with __int128_t.
14065         (La_x86_64_retval): Likewise.
14067 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
14069         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14070         fpsr if value didn't change.
14071         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14072         to fpcr if value didn't change.
14073         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14074         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14075         fpsr or fpcr if value didn't change.
14076         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14077         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14078         fpcr if value didn't change.
14079         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14080         to fpsr if value didn't change.
14082 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14084         * nptl/tst-sem3.c: Use test-skeleton.c
14085         (main): Rename to do_test.  Use return instead of
14086         exit.
14087         * nptl/tst-sem4.c: Use test-skeleton.c
14088         (main): Rename to do_test.
14090 2014-04-22  David S. Miller  <davem@davemloft.net>
14092         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14093         (struct sigaction): New struct member __glibc_reserved0, change
14094         type of sa_flags to int.
14096 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
14098         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14099         (COUNT_LEADING_ZEROS_0): Define for AArch64.
14101 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14103         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14104         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14106 2014-04-22  Will Newton  <will.newton@linaro.org>
14107             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
14109         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14110         (__longjmp): Add longjmp and longjmp_target SystemTap
14111         probes.
14112         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14113         (__sigsetjmp): Add setjmp SystemTap probe.
14115 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
14117         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14118         match manual order.
14120 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14122         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14124         * sysdeps/powerpc/fpu/fenv_private.h
14125         (libc_feholdexcept_setroundl_ctx): Define to
14126         libc_feholdexcept_setround_ppc_ctx.
14127         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14128         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14129         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14130         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14132 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14134         * sysdeps/aarch64/math-tests.h: New file.
14136 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
14138         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14139         New.
14140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14141         Check and set bit_AVX2_Usable.
14142         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14143         macro.
14144         (bit_AVX2): Likewise.
14145         (index_AVX2_Usable): Likewise.
14146         (CPUID_AVX2): Likewise.
14147         (HAS_AVX2): Likewise.
14149 2014-04-17  Will Newton  <will.newton@linaro.org>
14151         * manual/setjmp.texi (System V contexts): Add note that
14152         calling setcontext on a context created by a call to a
14153         signal handler is undefined.  Update text to note that
14154         setcontext from a signal handler is possible but not
14155         recommended.
14157         [BZ #16629]
14158         * stdlib/tst-setcontext.c: Include signal.h.
14159         (main): Check that the signal stack before and
14160         after swapcontext is the same.
14162         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14163         Re-implement to restore registers in user code and avoid
14164         rt_sigreturn system call.
14166 2014-04-17  Wilco  <wdijkstr@arm.com>
14168         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14169         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14170         * math/test-fenv.c: Skip exception trap tests on targets which only
14171         support non-stop mode.
14173 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14174             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14176         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14177         (libc_feholdsetround_aarch64_ctx)
14178         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14179         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14180         (libc_feresetround_ctx, libc_feresetroundf_ctx)
14181         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14182         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14183         (libc_feresetround_noexl_ctx): Define.
14185 2014-04-16  Richard Henderson  <rth@redhat.com>
14187         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14189         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14190         unwind tables.
14192         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14193         const from the non-libc, non-ldso copy.
14195         * sysdeps/alpha/libm-test-ulps: Regenerate.
14197 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
14198             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14200         * sysdeps/aarch64/fpu/math_private.h: New file.
14202 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14204         * sysdeps/aarch64/libm-test-ulps: Regenerate.
14206 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
14208         [BZ #16275]
14209         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14210         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14211         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14212         Intel MPX bound registers before _dl_profile_fixup.
14213         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14214         registers after _dl_profile_fixup.  Save and restore bound
14215         registers bnd0/bnd1 when calling _dl_call_pltexit.
14216         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14217         (LR_BND_OFFSET): Likewise.
14218         (LRV_BND0_OFFSET): Likewise.
14219         (LRV_BND1_OFFSET): Likewise.
14221 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14223         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14224         to...
14225         * sysdeps/mach/hurd/i386/tls.h: ... here.
14226         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14227         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14228         fields.
14230 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14232         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14234 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14236         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14238 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14240         [BZ #14770]
14241         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14242         * sysdeps/s390/configure: Regenerate.
14244         [BZ #16824]
14245         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14246         Set round-to-nearest internally to reduce error accumulation.
14248 2014-04-16  Alan Modra  <amodra@gmail.com>
14250         [BZ #16740]
14251         [BZ #16619]
14252         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14253         * math/libm-test.inc (frexp_test_data): Add tests.
14254         * NEWS: Update fixed bug list.
14256 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14258         * benchtests/Makefile: Depend on libraries in build directory.
14259         (bench-math): Separate out math tests.
14260         (bench-pthread): Separate out pthread tests.
14261         (bench): Include math and pthread tests.
14263 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
14265         [BZ #16831]
14266         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14267         _dl_debug_initialize.
14269         * configure.ac: Remove SELinux header check.
14270         * configure: Regenerate.
14271         * nscd/selinux.c (perms): Array of const char* to permission names.
14272         (nscd_request_avc_has_perm): Call security_deny_unknown to find
14273         default policy. Call string_to_security_class and string_to_av_perm to
14274         translate strings. Enforce default policy and call avs_has_perm with
14275         results of translated strings.
14277 2014-04-13  David S. Miller  <davem@davemloft.net>
14279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14281 2014-04-12  Allan McRae  <allan@archlinux.org>
14283         [BZ #16838]
14284         * manual/string.texi (Collation Functions): Fix qsort argument
14285         order in example.
14286         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14288 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
14290         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14291         Make the test a no-op if there are no exceptions defined.
14293 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14295         * elf/Makefile (tests): make tst-dlopen-aout conditional on
14296         enable-hardcoded-path-in-tests
14298 2014-04-11  Will Newton  <will.newton@linaro.org>
14300         * benchtests/Makefile (extra-objs): Add json-lib.o.
14301         (bench-func): Tidy up JSON output.
14302         * benchtests/bench-skeleton.c: Include json-lib.h.
14303         (main): Use JSON library functions to do output of
14304         benchmark results.
14305         * benchtests/bench-timing-type.c (main): Output the
14306         timing type simply, leaving formatting to the user.
14307         * benchtests/json-lib.c: New file.
14308         * benchtests/json-lib.h: Likewise.
14310 2014-04-11  Torvald Riegel  <triegel@redhat.com>
14312         [BZ #15215]
14313         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14314         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
14315         memory barriers.  Add comments.
14316         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14317         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14318         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14319         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14320         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14321         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14323 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14325         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14326         * sysdeps/s390/s390-64/configure.ac: ... this ...
14327         * sysdeps/s390/configure.ac: ... to here.
14328         * sysdeps/s390/s390-32/configure: Delete file.
14329         * sysdeps/s390/s390-64/configure: Delete file.
14330         * sysdeps/s390/configure: Regenerate.
14332 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
14334         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14336 2014-04-11  Will Newton  <will.newton@linaro.org>
14338         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14339         to zero if it is not defined elsewhere.  (mtrim): Test
14340         the value of MALLOC_DEBUG with #if rather than #ifdef.
14342 2014-04-10 Torvald Riegel  <triegel@redhat.com>
14344         * benchtests/pthread_once-inputs: New file.
14345         * benchtests/pthread_once-source.c: New file.
14346         * benchtests/README: Update documentation.
14348 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14349             H.J. Lu  <hongjiu.lu@intel.com>
14351         [BZ #16275]
14352         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14353         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14354         * sysdeps/x86_64/configure: Regenerated.
14355         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14356         macro.
14357         (REGISTER_SAVE_RAX): Likewise.
14358         (REGISTER_SAVE_RCX): Likewise.
14359         (REGISTER_SAVE_RDX): Likewise.
14360         (REGISTER_SAVE_RSI): Likewise.
14361         (REGISTER_SAVE_RDI): Likewise.
14362         (REGISTER_SAVE_R8): Likewise.
14363         (REGISTER_SAVE_R9): Likewise.
14364         (REGISTER_SAVE_BND0): Likewise.
14365         (REGISTER_SAVE_BND1): Likewise.
14366         (REGISTER_SAVE_BND2): Likewise.
14367         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
14368         bound registers when calling _dl_fixup.
14370 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14372         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14373         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14374         of its definition.
14375         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14376         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14377         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14378         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14379         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14380         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14381         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14383 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
14385         [BZ #15514]
14386         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14387         pathconf(_PC_NAME_MAX).
14389 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14391         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14392         Remove macro usage.
14393         (__PTHREAD_SPINS): Move definition to ...
14394         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14395         (__PTHREAD_SPINS): ... here.
14396         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14397         (__PTHREAD_SPIN): Likewise.
14398         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14399         (__PTHREAD_SPIN): Likewise.
14400         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14401         (__PTHREAD_SPIN): Likewise.
14402         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14403         (__PTHREAD_SPIN): Likewise.
14404         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14405         (__PTHREAD_SPIN): Likewise.
14406         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14407         (__PTHREAD_SPIN): Likewise.
14408         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14409         (__PTHREAD_SPIN): Likewise.
14410         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14411         (__PTHREAD_SPIN): Likewise.
14412         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14413         (__PTHREAD_SPIN): Likewise.
14414         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14415         (__PTHREAD_SPIN): Likewise.
14416         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14417         (__PTHREAD_SPIN): Likewise.
14418         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14419         (__PTHREAD_SPIN): Likewise.
14421         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14422         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14423         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14424         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14425         imply folder.
14426         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14427         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14428         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14429         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14430         correct imply path.
14431         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14432         strlen symbol for non multi-arch builds.
14433         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14434         missing hidden_def and weak_alias.
14436 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
14438         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14440 2014-04-07  Will Newton  <will.newton@linaro.org>
14442         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14443         and contents.  [!_LIBC] Remove #ifndef and contents.
14444         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
14445         * string/memccpy.c (__memccpy): Use ANSI prototype.
14446         * string/memfrob.c (memfrob): Likewise.
14447         * string/strcoll.c (STRCOLL): Likewise.
14448         * string/strlen.c (strlen): Likewise.
14449         * string/strtok.c (STRTOK): Likewise.
14450         * string/strcat.c: Remove unused #include of memcopy.h.
14451         (strcat): Use ANSI prototype.
14452         * string/strchr.c: Remove unused #include of memcopy.h.
14453         (strchr): Use ANSI prototype.
14454         * string/strcmp.c: Remove unused #include of memcopy.h.
14455         (strcmp): Use ANSI prototype.
14456         * string/strcpy.c: Remove unused #include of memcopy.h.
14457         (strcpy): Use ANSI prototype.
14459 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14461         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14462         * config.make.in (config-extra-cppflags): Set it from
14463         libc_extra_cppflags.
14464         * configure.ac (libc_extra_cflags): Make it accumulate over
14465         configure fragments.
14466         (libc_extra_cppflags): New flag.
14467         * configure. Regenerate.
14468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14469         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14470         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14473         [BZ #16815]
14474         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14475         result for FE_DOWNWARD rounding mode.
14476         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14477         Likewise.
14478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14480 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
14482         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14483         in function argument name.
14485 2014-04-03  David Svoboda  <svoboda@cert.org>
14487         [BZ #5666]
14488         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14489         explicitly.
14491 2014-04-03  Roland McGrath  <roland@hack.frob.com>
14493         * elf/dl-unmap-segments.h: New file.
14494         * sysdeps/generic/ldsodefs.h
14495         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14496         * elf/dl-close.c: Include <dl-unmap-segments.h>.
14497         * elf/dl-fptr.c: Likewise.
14498         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14499         * sysdeps/aarch64/tlsdesc.c: Likewise.
14500         * sysdeps/arm/tlsdesc.c: Likewise.
14501         * sysdeps/i386/tlsdesc.c: Likewise.
14502         * sysdeps/tile/dl-runtime.c: Likewise.
14503         * sysdeps/x86_64/tlsdesc.c: Likewise.
14504         * elf/dl-load.h: New file.
14505         * elf/dl-load.c: Include it.
14506         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14507         Macros moved to dl-load.h.
14508         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14509         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14510         Use _dl_unmap_segments in place of __munmap.
14511         Break out segment-mapping loop into ...
14512         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14514 2014-04-03  Will Newton  <will.newton@linaro.org>
14516         * elf/dl-lookup.c (do_lookup_x): Remove comment
14517         referring to nested function and move variable
14518         declarations down to before first use.
14520 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
14522         [BZ #16799]
14523         [BZ #16800]
14524         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14525         with 0 numerator.
14526         * math/s_catanf.c (__catanf): Likewise.
14527         * math/s_catanh.c (__catanh): Likewise.
14528         * math/s_catanhf.c (__catanhf): Likewise.
14529         * math/s_catanhl.c (__catanhl): Likewise.
14530         * math/s_catanl.c (__catanl): Likewise.
14531         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14532         by positive zero when computing -Inf result.
14533         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14534         (catanh_test): Likewise.
14535         * sysdeps/i386/fpu/libm-test-ulps: Update.
14536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14538         [BZ #16789]
14539         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14540         instead of using underflowing value in computing result.
14541         * math/s_clog10.c (__clog10): Likewise.
14542         * math/s_clog10f.c (__clog10f): Likewise.
14543         * math/s_clog10l.c (__clog10l): Likewise.
14544         * math/s_clogf.c (__clogf): Likewise.
14545         * math/s_clogl.c (__clogl): Likewise.
14546         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14547         (clog10_test): Likewise.
14548         * sysdeps/i386/fpu/libm-test-ulps: Update.
14549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14551 2014-04-02  Alan Modra  <amodra@gmail.com>
14553         [BZ #16739]
14554         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14555         output when value is near a power of two.  Use int64_t for lx and
14556         remove casts.  Use decimal rather than hex exponent constants.
14557         Don't use long double multiplication when double will suffice.
14558         * math/libm-test.inc (nextafter_test_data): Add tests.
14559         * NEWS: Add 16739 and 16786 to bug list.
14561         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14563         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14565 2014-04-01  Will Newton  <will.newton@linaro.org>
14567         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14568         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
14570 2014-04-01  Florian Weimer  <fweimer@redhat.com>
14572         [BZ #13347]
14573         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14574         * nptl/tst-setuid2.c: New file.
14575         * nptl/Makefile (xtests): Add tst-setuid2.
14577 2014-04-01  Alan Modra  <amodra@gmail.com>
14579         [BZ #16786]
14580         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14582 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14584         [BZ #6803]
14585         [BZ #6804]
14586         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14587         set errno as appropriate.
14588         * math/w_scalbf.c (__scalbf): Likewise.
14589         * math/w_scalbl.c (__scalbl): Likewise.
14590         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14591         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14592         * math/libm-test.inc (scalb_test_data): Add errno expectations.
14593         Add more NaN tests.
14595         [BZ #16349]
14596         * math/w_atan2.c: Include <errno.h>.
14597         (__atan2): Set errno for result underflowing to zero.
14598         * math/w_atan2f.c: Include <errno.h>.
14599         (__atan2f): Set errno for result underflowing to zero.
14600         * math/w_atan2l.c: Include <errno.h>.
14601         (__atan2l): Set errno for result underflowing to zero.
14602         * math/auto-libm-test-in: Don't allow missing errno for some atan2
14603         tests.
14604         * math/auto-libm-test-out: Regenerated.
14606 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14608         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14609         Encode instruction correctly in little endian.
14610         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14611         Likewise.
14612         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14613         Likewise.
14614         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14615         Likewise.
14616         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14617         Likewise.
14619 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14621         [BZ #9894]
14622         * sysdeps/unix/sysv/linux/kernel-features.h
14623         [__sparc__ && !__arch64__ && !__sparc_v9__]
14624         (__ASSUME_SET_ROBUST_LIST): Do not define.
14625         [__sparc__ && !__arch64__ && !__sparc_v9__]
14626         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14627         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14628         Likewise.
14629         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14630         (__ASSUME_FUTEX_LOCK_PI): Undefine.
14631         (__ASSUME_REQUEUE_PI): Likewise.
14632         (__ASSUME_SET_ROBUST_LIST): Likewise.
14633         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14634         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14635         Undefine.
14636         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14637         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14638         Likewise.
14639         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14640         Likewise.
14641         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14642         Likewise.
14643         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14644         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14645         Undefine.
14646         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14647         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14648         Likewise.
14650         [BZ #16648]
14651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14652         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14653         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14655 2014-03-31  Will Newton  <will.newton@linaro.org>
14657         * benchtests/Makefile (bench): Add ffs and ffsll to list
14658         of tests.
14659         * benchtests/ffs-inputs: New file.
14660         * benchtests/ffsll-inputs: Likewise.
14662 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
14664         [BZ #16770]
14665         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14666         too large before casting to int.
14667         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14668         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14669         * math/libm-test.inc (scalb_test_data): Add more tests.
14671 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14673         * benchtests/Makefile (DETAILED_OPT): New make option.
14674         (bench-func): Run benchmark program with -d if DETAILED_OPT is
14675         set.
14676         * benchtests/bench-skeleton.c: Include stdbool.h.
14677         (main): Store and print timings per input.
14678         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14679         member to each argument value.
14680         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14681         (_print_arg_data): Initialize per-input timing to 0.
14683         * benchtests/Makefile (timing-type): New binary.
14684         (bench-clean): Also remove bench-timing-type.
14685         (bench): New target for timing-type.
14686         (bench-func): Print output in JSON format.
14687         * benchtests/bench-skeleton.c (main): Print output in JSON
14688         format.
14689         * benchtests/bench-timing-type.c: New file.
14690         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14691         (TIMING_PRINT_STATS): Remove.
14692         * benchtests/scripts/bench.py (_print_arg_data): Store variant
14693         name separately.
14695         * benchtests/bench-modf.c: Remove.
14696         * benchtests/modf-inputs: New inputs file.
14698 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
14700         [BZ #16362]
14701         * math/s_clog10.c (M_PI_LOG10E): New macro.
14702         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14703         imaginary parts are 0.
14704         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14705         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14706         imaginary parts are 0.
14707         * math/s_clog10l.c (M_PI_LOG10El): New macro.
14708         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14709         imaginary parts are 0.
14710         * math/libm-test.inc (clog10_test_data): Update expected results
14711         for when real and imaginary parts are 0.
14713 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
14715         * elf/dl-load.c: Finish conversion of __builtin_expect into
14716         __glibc_{un}likely.
14718 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
14720         [BZ #16348]
14721         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14722         1+x for argument with exponent below -67.
14723         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14724         Likewise.
14725         * math/auto-libm-test-in: Add more tests of exp.
14726         * math/auto-libm-test-out: Regenerated.
14728 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14730         [BZ #16759]
14731         * inet/getnetgrent_r.c (get_nonempty_val): New function.
14732         (nscd_getnetgrent): Use it.
14734         [BZ #16760]
14735         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14736         of stpcpy.
14738 2014-03-27  Andi Kleen  <ak@linux.intel.com>
14740         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14741         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14742         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14743         (lll_robust_unlock): Remove out of line section. Use cfi
14744         intrinsics.
14745         (LLL_STUB_UNWIND_INFO*): Remove.
14746         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14747         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14748         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14749         (lll_robust_unlock): Remove out of line section. Use cfi
14750         intrinsics.
14751         (LLL_STUB_UNWIND_INFO*): Remove.
14753 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14755         [BZ #16758]
14756         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14757         blank values.
14759 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14761         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14763 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
14765         [BZ #16198]
14766         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14767         fnstenv.
14768         * math/test-fenv-preserve.c: New file.
14769         * math/Makefile (tests): Add test-fenv-preserve.
14771 2014-03-26  Will Newton <will.newton@linaro.org>
14773         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14775 2014-03-25  Roland McGrath  <roland@hack.frob.com>
14777         * scripts/versionlist.awk: Partition the version sets and emit all
14778         GLIBC_* (sorted) before all others (sorted).
14780 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14782         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14783         GLIBC_2.2.5 version.
14785 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14787         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14788         calls.
14790         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14791         previous change.
14793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14795 2014-03-25  Andreas Schwab  <schwab@suse.de>
14797         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14798         label to be used after in6ailist is initialized.
14800 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14802         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14803         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14805 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14807         [BZ #16357]
14808         [BZ #16599]
14809         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14810         min_plus_half.
14811         (fp_formats): Update initializers.
14812         (init_fp_formats): Initialize new field.
14813         (output_for_one_input_case): Allow underflow for results up to
14814         min_plus_half.
14815         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14816         * math/auto-libm-test-in: Don't mark some underflows from asin and
14817         atanh as spurious.
14818         * math/auto-libm-test-out: Regenerated.
14819         * sysdeps/i386/fpu/libm-test-ulps: Update.
14820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14822 2014-03-25  Andreas Schwab  <schwab@suse.de>
14824         * libio/Makefile (tst-ftell-partial-wide-ENV)
14825         (tst-ftell-active-handler-ENV): Define.
14827 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
14829         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14831 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14833         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14835 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14837         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14838         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14839         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14841 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14843         [BZ #16634]
14844         * elf/dl-load.c (open_verify): Add mode parameter.
14845         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14846         (open_path): Change from boolean 'secure' to complete flag 'mode'
14847         (_dl_map_object): Adjust.
14848         * elf/Makefile (tests): Add tst-dlopen-aout.
14849         * elf/tst-dlopen-aout.c: New test.
14851 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
14853         [BZ #16714]
14854         * sysdeps/unix/sysv/linux/s390/bits/stat.h
14855         (struct stat): Rename member pad0 to __glibc_reserved0.
14857         [BZ #16712]
14858         * sysdeps/s390/s390-32/bits/wordsize.h
14859         (__WORDSIZE32_SIZE_ULONG): New define.
14860         * sysdeps/s390/s390-64/bits/wordsize.h
14861         (__WORDSIZE32_SIZE_ULONG): Likewise.
14862         * sysdeps/generic/stdint.h (SIZE_MAX):
14863         Define as UL if __WORDSIZE32_SIZE_ULONG.
14865         [BZ #16713]
14866         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14867         (__glibc_reserved0): New variable.
14868         (sa_flags): Change type to int.
14870         * posix/Makefile (before-compile): Use += before-compile instead
14871         of a :=.
14873         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14874         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14876 2014-03-20  Andreas Schwab  <schwab@suse.de>
14878         [BZ #16743]
14879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14880         non-matching result from nscd.
14882 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14884         * scripts/bench.py: Moved to ...
14885         * benchtests/scripts/bench.py: ... here.
14886         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14888 2014-03-24  Andreas Schwab  <schwab@suse.de>
14890         [BZ #16002]
14891         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14892         alloca_account and account alloca use for struct in6ailist.
14894 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14896         [BZ #16284]
14897         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14898         rounding mode to recompute results that overflow to infinity or
14899         underflow to zero.
14900         * math/auto-libm-test-in: Don't mark tests as expected to fail for
14901         bug 16284.
14902         * math/auto-libm-test-out: Regenerated.
14903         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14904         (ccosh_test): Likewise.
14905         (csin_test_data): Use plus_oflow.
14906         (csin_test): Use ALL_RM_TEST.
14907         (csinh_test_data): Use plus_oflow.
14908         (csinh_test): Use ALL_RM_TEST.
14909         * sysdeps/i386/fpu/libm-test-ulps: Update.
14910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14912 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
14914         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14915         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14916         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14918         [BZ #16731]
14919         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14920         when x - 1 is zero.
14921         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14922         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14923         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14924         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14925         argument is 1.
14926         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14927         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14928         zero.
14929         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14930         * sysdeps/i386/fpu/libm-test-ulps: Update.
14931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14933 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14935         * scripts/bench.pl: Remove file.
14936         * scripts/bench.py: New benchmark script.
14937         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14938         * benchtests/README: Mention python dependency.
14939         * scripts/pylintrc: New file.
14940         * scripts/pylint: New file.
14942         * bits/mathdef.h: Use #ifdef instead of #if.
14943         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14944         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14945         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14946         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14947         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14948         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14950 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14951             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14953         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14955         and strpbrk-ppc64 objects.
14956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14957         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14958         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14959         multiarch strpbrk for POWER7.
14960         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14961         multiarch strpbrk for PPC64.
14962         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14963         ifunc selector.
14964         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14965         strpbrk for POWER7.
14967 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14969         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14970         (atan_test): Likewise.
14971         (atanh_test_data): Use NO_TEST_INLINE for two tests.
14972         (atanh_test): Use ALL_RM_TEST.
14973         (atan2_test_data): Likewise.
14974         (cabs_test): Likewise.
14975         (cacosh_test): Likewise.
14976         (carg_test): Likewise.
14977         (casin_test): Likewise.
14978         (casinh_test): Likewise.
14979         (cbrt_test): Likewise.
14980         (csqrt_test): Likewise.
14981         (erf_test): Likewise.
14982         (erfc_test): Likewise.
14983         (pow10_test): Likewise.
14984         (exp2_test): Likewise.
14985         (hypot_test): Likewise.
14986         (j0_test): Likewise.
14987         (j1_test): Likewise.
14988         (lgamma_test): Likewise.
14989         (gamma_test): Likewise.
14990         (sincos_test): Likewise.
14991         (tanh_test): Likewise.
14992         (y0_test): Likewise.
14993         (y1_test): Likewise.
14994         * sysdeps/i386/fpu/libm-test-ulps: Update.
14995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14997 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14999         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15001         and strcspn-ppc64 objects.
15002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15003         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15004         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15005         multiarch strcspn for POWER7.
15006         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15007         multiarch strcspn for PPC64.
15008         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15009         ifunc selector.
15010         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15011         strcspn for POWER7.
15013 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15015         * math/gen-libm-test.pl (generate_testfile): Expect only function
15016         name as argument to AUTO_TESTS_* and pass results for all rounding
15017         modes to parse_args.
15018         (parse_auto_input): Separate inputs of automatic tests from
15019         outputs before storing in %auto_tests.
15020         * math/libm-test.inc (acos_test_data): Update call to
15021         AUTO_TESTS_f_f.
15022         (acos_test): Use ALL_RM_TEST.
15023         (acos_tonearest_test_data): Remove.
15024         (acos_test_tonearest): Likewise.
15025         (acos_towardzero_test_data): Likewise.
15026         (acos_test_towardzero): Likewise.
15027         (acos_downward_test_data): Likewise.
15028         (acos_test_downward): Likewise.
15029         (acos_upward_test_data): Likewise.
15030         (acos_test_upward): Likewise.
15031         (acosh_test_data): Update call to AUTO_TESTS_f_f.
15032         (asin_test_data): Likewise.
15033         (asin_test): Use ALL_RM_TEST.
15034         (asin_tonearest_test_data): Remove.
15035         (asin_test_tonearest): Likewise.
15036         (asin_towardzero_test_data): Likewise.
15037         (asin_test_towardzero): Likewise.
15038         (asin_downward_test_data): Likewise.
15039         (asin_test_downward): Likewise.
15040         (asin_upward_test_data): Likewise.
15041         (asin_test_upward): Likewise.
15042         (asinh_test_data): Update call to AUTO_TESTS_f_f.
15043         (atan_test_data): Likewise.
15044         (atanh_test_data): Likewise.
15045         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15046         (cabs_test_data): Update call to AUTO_TESTS_c_f.
15047         (carg_test_data): Likewise.
15048         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15049         (ccos_test_data): Update call to AUTO_TESTS_c_c.
15050         (ccosh_test_data): Likewise.
15051         (cexp_test_data): Likewise.
15052         (clog_test_data): Likewise.
15053         (clog10_test_data): Likewise.
15054         (cos_test_data): Update call to AUTO_TESTS_f_f.
15055         (cos_test): Use ALL_RM_TEST.
15056         (cos_tonearest_test_data): Remove.
15057         (cos_test_tonearest): Likewise.
15058         (cos_towardzero_test_data): Likewise.
15059         (cos_test_towardzero): Likewise.
15060         (cos_downward_test_data): Likewise.
15061         (cos_test_downward): Likewise.
15062         (cos_upward_test_data): Likewise.
15063         (cos_test_upward): Likewise.
15064         (cosh_test_data): Update call to AUTO_TESTS_f_f.
15065         (cosh_test): Use ALL_RM_TEST.
15066         (cosh_tonearest_test_data): Remove.
15067         (cosh_test_tonearest): Likewise.
15068         (cosh_towardzero_test_data): Likewise.
15069         (cosh_test_towardzero): Likewise.
15070         (cosh_downward_test_data): Likewise.
15071         (cosh_test_downward): Likewise.
15072         (cosh_upward_test_data): Likewise.
15073         (cosh_test_upward): Likewise.
15074         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15075         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15076         (ctan_test_data): Likewise.
15077         (ctan_test): Use ALL_RM_TEST.
15078         (ctan_tonearest_test_data): Remove.
15079         (ctan_test_tonearest): Likewise.
15080         (ctan_towardzero_test_data): Likewise.
15081         (ctan_test_towardzero): Likewise.
15082         (ctan_downward_test_data): Likewise.
15083         (ctan_test_downward): Likewise.
15084         (ctan_upward_test_data): Likewise.
15085         (ctan_test_upward): Likewise.
15086         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15087         (ctanh_test): Use ALL_RM_TEST.
15088         (ctanh_tonearest_test_data): Remove.
15089         (ctanh_test_tonearest): Likewise.
15090         (ctanh_towardzero_test_data): Likewise.
15091         (ctanh_test_towardzero): Likewise.
15092         (ctanh_downward_test_data): Likewise.
15093         (ctanh_test_downward): Likewise.
15094         (ctanh_upward_test_data): Likewise.
15095         (ctanh_test_upward): Likewise.
15096         (erf_test_data): Update call to AUTO_TESTS_f_f.
15097         (erfc_test_data): Likewise.
15098         (exp_test_data): Likewise.
15099         (exp_test): Use ALL_RM_TEST.
15100         (exp_tonearest_test_data): Remove.
15101         (exp_test_tonearest): Likewise.
15102         (exp_towardzero_test_data): Likewise.
15103         (exp_test_towardzero): Likewise.
15104         (exp_downward_test_data): Likewise.
15105         (exp_test_downward): Likewise.
15106         (exp_upward_test_data): Likewise.
15107         (exp_test_upward): Likewise.
15108         (exp10_test_data): Update call to AUTO_TESTS_f_f.
15109         (exp10_test): Use ALL_RM_TEST.
15110         (exp10_tonearest_test_data): Remove.
15111         (exp10_test_tonearest): Likewise.
15112         (exp10_towardzero_test_data): Likewise.
15113         (exp10_test_towardzero): Likewise.
15114         (exp10_downward_test_data): Likewise.
15115         (exp10_test_downward): Likewise.
15116         (exp10_upward_test_data): Likewise.
15117         (exp10_test_upward): Likewise.
15118         (exp2_test_data): Update call to AUTO_TESTS_f_f.
15119         (expm1_test_data): Likewise.
15120         (expm1_test): Use ALL_RM_TEST.
15121         (expm1_tonearest_test_data): Remove.
15122         (expm1_test_tonearest): Likewise.
15123         (expm1_towardzero_test_data): Likewise.
15124         (expm1_test_towardzero): Likewise.
15125         (expm1_downward_test_data): Likewise.
15126         (expm1_test_downward): Likewise.
15127         (expm1_upward_test_data): Likewise.
15128         (expm1_test_upward): Likewise.
15129         (fma_test_data): Update call to AUTO_TESTS_fff_f.
15130         (fma_test): Use ALL_RM_TEST.
15131         (fma_towardzero_test_data): Remove.
15132         (fma_test_towardzero): Likewise.
15133         (fma_downward_test_data): Likewise.
15134         (fma_test_downward): Likewise.
15135         (fma_upward_test_data): Likewise.
15136         (fma_test_upward): Likewise.
15137         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15138         (j0_test_data): Update call to AUTO_TESTS_f_f.
15139         (j1_test_data): Likewise.
15140         (jn_test_data): Update call to AUTO_TESTS_if_f.
15141         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15142         (log_test_data): Update call to AUTO_TESTS_f_f.
15143         (log10_test_data): Likewise.
15144         (log1p_test_data): Likewise.
15145         (log2_test_data): Likewise.
15146         (pow_test_data): Update call to AUTO_TESTS_ff_f.
15147         (pow_tonearest_test_data): Likewise.
15148         (sin_test_data): Update call to AUTO_TESTS_f_f.
15149         (sin_test): Use ALL_RM_TEST.
15150         (sin_tonearest_test_data): Remove.
15151         (sin_test_tonearest): Likewise.
15152         (sin_towardzero_test_data): Likewise.
15153         (sin_test_towardzero): Likewise.
15154         (sin_downward_test_data): Likewise.
15155         (sin_test_downward): Likewise.
15156         (sin_upward_test_data): Likewise.
15157         (sin_test_upward): Likewise.
15158         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15159         (sinh_test_data): Update call to AUTO_TESTS_f_f.
15160         (sinh_test): Use ALL_RM_TEST.
15161         (sinh_tonearest_test_data): Remove.
15162         (sinh_test_tonearest): Likewise.
15163         (sinh_towardzero_test_data): Likewise.
15164         (sinh_test_towardzero): Likewise.
15165         (sinh_downward_test_data): Likewise.
15166         (sinh_test_downward): Likewise.
15167         (sinh_upward_test_data): Likewise.
15168         (sinh_test_upward): Likewise.
15169         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15170         (sqrt_test): Use ALL_RM_TEST.
15171         (sqrt_tonearest_test_data): Remove.
15172         (sqrt_test_tonearest): Likewise.
15173         (sqrt_towardzero_test_data): Likewise.
15174         (sqrt_test_towardzero): Likewise.
15175         (sqrt_downward_test_data): Likewise.
15176         (sqrt_test_downward): Likewise.
15177         (sqrt_upward_test_data): Likewise.
15178         (sqrt_test_upward): Likewise.
15179         (tan_test_data): Update call to AUTO_TESTS_f_f.
15180         (tan_test): Use ALL_RM_TEST.
15181         (tan_tonearest_test_data): Remove.
15182         (tan_test_tonearest): Likewise.
15183         (tan_towardzero_test_data): Likewise.
15184         (tan_test_towardzero): Likewise.
15185         (tan_downward_test_data): Likewise.
15186         (tan_test_downward): Likewise.
15187         (tan_upward_test_data): Likewise.
15188         (tan_test_upward): Likewise.
15189         (tanh_test_data): Update call to AUTO_TESTS_f_f.
15190         (tgamma_test_data): Likewise.
15191         (y0_test_data): Likewise.
15192         (y1_test_data): Likewise.
15193         (yn_test_data): Update call to AUTO_TESTS_if_f.
15194         (main): Do not call removed functions.
15196 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15198         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15199         (ldexp_test_data): Remove.
15200         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
15201         scalbn_test_data.
15202         (scalb_test): Use ALL_RM_TEST.
15204 2014-03-19  Andreas Schwab  <schwab@suse.de>
15206         * nscd/nscd.service: Also invalidate netgroup cache on reload.
15208 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15210         [BZ #16649]
15211         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15212         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15213         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15214         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15215         (__ASSUME_PREADV): Undefine.
15216         (__ASSUME_PWRITEV): Likewise.
15218 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15220         * bits/mman-linux.h: Add comment about non-Linux use.
15221         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15222         bits/mman-linux.h resting place.
15224         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15225         * bits/mman-linux.h: ... here.
15227 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15229         * conform/conformtest.pl: Add standard definition when calling C
15230         preprocessor on data files.
15231         (checknamespace): Remove unused variable.
15233 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
15235         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15236         minus_oflow, plus_uflow and minus_uflow in expected results.
15237         * math/libm-test.inc (scalbn_test_data): Add more tests of
15238         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
15239         minus_uflow.
15240         (scalbn_test): Use ALL_RM_TEST.
15241         (scalbln_test_data): Add more tests of negative arguments.  Use
15242         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15243         (scalbln_test): Use ALL_RM_TEST.
15245 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15247         * scripts/abilist.awk: Ignore symbols marked with .hidden.
15249 2014-03-18  Will Newton  <will.newton@linaro.org>
15251         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15252         inaccurate comment.
15254 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
15256         * Makerules [!subdir] (check-abi): Exit with error status if a
15257         test failed.
15259 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
15261         * math/libm-test.inc (nearbyint_test_data): Include all tests used
15262         for rint.  Include results for all rounding modes.
15263         (nearbyint_test): Use ALL_RM_TEST.
15264         (rint_test_data): Include all tests used for nearbyint.
15266 2014-03-17  Will Newton  <will.newton@linaro.org>
15268         * nptl/sysdeps/pthread/pthread.h: Revert previous
15269         change.
15271         * sysdeps/generic/ldsodefs.h: Revert previous
15272         change.
15274         * libio/genops.c: Revert previous change.
15275         * libio/libioP.h: Likewise.
15276         * stdio-common/vfprintf.c: Likewise.
15278         * sysdeps/generic/math_private.h: Revert previous
15279         change.
15281         * sysdeps/generic/math_private.h: Check whether
15282         HAVE_RM_CTX is defined with #ifdef rather
15283         than #if.
15285         * argp/argp-fmtstream.h: Check whether
15286         __STRICT_ANSI__ is defined with #ifdef rather
15287         than #if.
15288         * argp/argp.h: Likewise.
15290         * libio/genops.c: Check whether
15291         _IO_JUMPS_OFFSET is defined with #ifdef rather
15292         than #if.
15293         * libio/libioP.h: Likewise.
15294         * stdio-common/vfprintf.c: Likewise.
15296         * sysdeps/generic/ldsodefs.h: Check whether
15297         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15298         than #if.
15300         * nptl/sysdeps/pthread/pthread.h: Check
15301         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15302         its value.
15304 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15306         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15307         setting O_APPEND.
15308         * libio/tst-ftell-active-handler.c (do_append_test): Add a
15309         test case.
15311         [BZ #16680]
15312         * libio/fileops.c (_IO_file_open): Seek to end of file but
15313         don't cache the offset.
15314         (get_file_offset): Remove function.
15315         (do_ftell): Use cached offset when available.
15316         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15317         don't cache the offset.
15318         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15319         case.
15320         (do_one_test): Call it.
15321         (do_ftell_test): Fix up expected old offset for a+ mode.
15322         * libio/wfileops.c (do_ftell_wide): Used cached offset when
15323         available.
15325         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15326         up test status with function return status.
15327         (do_write_test): Likewise.
15328         (do_append_test): Likewise.
15330         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15331         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15332         Remove.
15334 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
15336         * math/gen-libm-test.pl (parse_args): Handle results specified for
15337         each rounding mode separately.
15338         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15339         tests and results from lrint_tonearest_test_data,
15340         lrint_towardzero_test_data, lrint_downward_test_data and
15341         lrint_upward_test_data.
15342         (lrint_test): Use ALL_RM_TEST.
15343         (lrint_tonearest_test_data): Remove.
15344         (lrint_test_tonearest): Likewise.
15345         (lrint_towardzero_test_data): Likewise.
15346         (lrint_test_towardzero): Likewise.
15347         (lrint_downward_test_data): Likewise.
15348         (lrint_test_downward): Likewise.
15349         (lrint_upward_test_data): Likewise.
15350         (lrint_test_upward): Likewise.
15351         (llrint_test_data): Merge in per-rounding-mode tests and results
15352         from llrint_tonearest_test_data, llrint_towardzero_test_data,
15353         llrint_downward_test_data and llrint_upward_test_data.
15354         (llrint_test): Use ALL_RM_TEST.
15355         (llrint_tonearest_test_data): Remove.
15356         (llrint_test_tonearest): Likewise.
15357         (llrint_towardzero_test_data): Likewise.
15358         (llrint_test_towardzero): Likewise.
15359         (llrint_downward_test_data): Likewise.
15360         (llrint_test_downward): Likewise.
15361         (llrint_upward_test_data): Likewise.
15362         (llrint_test_upward): Likewise.
15363         (rint_test_data): Merge in per-rounding-mode tests and results
15364         from rint_tonearest_test_data, rint_towardzero_test_data,
15365         rint_downward_test_data and rint_upward_test_data.  Add
15366         per-rounding-mode results for tests not in those arrays.
15367         (rint_test): Use ALL_RM_TEST.
15368         (rint_tonearest_test_data): Remove.
15369         (rint_test_tonearest): Likewise.
15370         (rint_towardzero_test_data): Likewise.
15371         (rint_test_towardzero): Likewise.
15372         (rint_downward_test_data): Likewise.
15373         (rint_test_downward): Likewise.
15374         (rint_upward_test_data): Likewise.
15375         (rint_test_upward): Likewise.
15376         (main): Don't call removed functions.
15378 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15380         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15381         "Compiled on ..." crapola.  It is anti-useful.
15383 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
15385         * scripts/evaluate-test.sh: Handle fourth argument to determine
15386         whether test run should stop on failure.
15387         * Makeconfig (stop-on-test-failure): New variable.
15388         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15389         $(stop-on-test-failure).
15390         * Makefile (tests): Give a summary of results from testing and
15391         exit with failure status if they include an ERROR or FAIL.
15392         (xtests): Likewise.
15393         * manual/install.texi (Configuring and compiling): Mention
15394         stop-on-test-failure=y.
15395         * INSTALL: Regenerated.
15397 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15399         * scripts/versionlist.awk: New file.
15400         * Makerules [$(build-shared) = yes]
15401         (postclean-generated): Add Versions.def, not Versions.def.v and
15402         Versions.def.v.i.
15403         ($(common-objpfx)Versions.def.v.i): Target removed.
15404         ($(common-objpfx)Versions.def): New target.
15405         ($(common-objpfx)Versions.all): Depend on that rather that
15406         $(common-objpfx)Versions.def.v.
15407         * Versions.def: File removed.
15409         * Makeconfig (+gccwarn): Add -Wundef.
15410         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15411         a dl-sysdep.h breaking its contract.
15412         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15413         * include/stackinfo.h: New file.
15414         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15415         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15416         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15417         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15418         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15419         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15420         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15421         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15422         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15423         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15424         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15425         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15426         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15427         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15428         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15430 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15432         [BZ #16707]
15433         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15434         implementation.
15435         * math/libm-test.inc (round_test_data): Add more tests.
15437         [BZ #16706]
15438         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15439         implementation.
15440         * math/libm-test.inc (nearbyint_test_data): Add more tests.
15442         [BZ #16701]
15443         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15444         implementation.
15445         * math/libm-test.inc (ceil_test_data): Add more tests.
15447         * math/libm-test.inc (trunc_test_data): Add more tests related to
15448         BZ#16414.
15450 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15452         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15453         with #if rather than #ifdef.
15454         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15456 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
15458         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15459         first.  Disable AVX-512 GCC support if assembler doesn't support
15460         it.
15461         * sysdeps/x86_64/configure: Regenerated.
15463 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
15465         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15466         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15467         (__old_pthread_attr_setstack): Likewise.
15468         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15469         [!_STACK_GROWS_DOWN]: Likewise.
15471 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
15473         * config.make.in (have-bash2): Delete.
15474         * configure.ac (libc_cv_have_bash2): Delete.
15475         * configure: Regenerate.
15476         * elf/Makefile (common-ldd-rewrite): Rename to ...
15477         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
15478         (sh-ldd-rewrite): Delete.
15479         (bash-ldd-rewrite): Delete.
15480         (have-bash2): Delete checks.
15481         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15482         ldd-rewrite.
15484         * config.make.in (have-ksh): Delete.
15485         (KSH): Delete.
15486         * configure.ac (libc_cv_have_ksh): Delete.
15487         * configure: Regenerate.
15489         * elf/Makefile: Delete $(have-ksh) check.
15490         ($(objpfx)sotruss): Change KSH to BASH.
15491         * elf/sotruss.ksh: Rename to ...
15492         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
15493         function style to match POSIX.  Drop ksh vim mode setting.
15495         * manual/time.texi (Specifying the Time Zone with TZ): Change
15496         Tuesday to Thursday.
15498         * debug/tst-longjmp_chk2.c: Update header comment.
15499         (stackoverflow_handler): Add comment.  Call assert on pass value.
15501 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
15503         [BZ #16194]
15504         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15505         (HAVE_AVX512_ASM_SUPPORT): Likewise.
15506         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15507         (La_x86_64_vector): Add zmm.
15508         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15509         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15510         ($(objpfx)tst-audit10): New target.
15511         ($(objpfx)tst-audit10.out): Likewise.
15512         (tst-audit10-ENV): New.
15513         (AVX512-CFLAGS): Likewise.
15514         (CFLAGS-tst-audit10.c): Likewise.
15515         (CFLAGS-tst-auditmod10a.c): Likewise.
15516         (CFLAGS-tst-auditmod10b.c): Likewise.
15517         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15518         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15519         * sysdeps/x86_64/configure: Regenerated.
15520         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15521         AVX-512 zmm register support.
15522         (_dl_x86_64_save_sse): Likewise.
15523         (_dl_x86_64_restore_sse): Likewise.
15524         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15525         size vector registers.
15526         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15527         (ZMM_SIZE): Likewise.
15528         * sysdeps/x86_64/tst-audit10.c: New file.
15529         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15530         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15532 2014-03-13  Roland McGrath  <roland@hack.frob.com>
15534         * configure.ac (HAVE_EHDR_START): New check.
15535         * configure: Regenerated.
15536         * config.h.in (HAVE_EHDR_START): New #undef.
15537         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15538         assuming the lowest-addressed segment maps the start of the file.
15540 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
15542         * INSTALL: Regenerated.
15544 2014-03-13  Will Newton  <will.newton@linaro.org>
15546         * manual/setjmp.texi (System V contexts): Improve
15547         clarity and grammar of documentation.
15549 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15551         [BZ #16381]
15552         * elf/Makefile (tests): Add tst-pie2.
15553         (tests-pie): Add tst-pie2.
15554         * elf/tst-pie2.c: New file.
15555         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15556         for ET_EXEC.
15557         * elf/rtld.c (map_doit): Load executable as lt_executable.
15558         (dl_main): Likewise.
15560 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
15562         [BZ #16642]
15563         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15564         (__ASSUME_PSELECT): Undefine.
15566 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15568         [BZ #16689]
15569         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15570         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15571         static build.
15572         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15573         selector for static builds.
15575 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15577         [BZ #16695]
15578         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15579         key in the buffer.
15581 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15583         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15584         IFUNC selector for static builds.
15586 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
15588         * sysdeps/mips/math_private.h [__mips_hard_float]
15589         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15590         libc_feresetround_mips_ctx.
15591         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15592         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15593         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15595         [BZ #16677]
15596         * math/s_nextafter.c (__nextafter): Do not return value from
15597         overflowing computation.
15598         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15599         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15600         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15601         Likewise.
15602         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15603         Likewise.
15604         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15605         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15607 2014-03-11  Roland McGrath  <roland@hack.frob.com>
15609         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15610         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15611         Move sfi_sp use from the load-multiple (that no longer sets sp) to
15612         the new mov targetting sp.
15614 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15616         [BZ #16683]
15617         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15618         Define it for static builds as well.
15619         (NO_BZERO_IMPL): Likewise.
15621 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15623         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15624         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15625         multiarch strspn for PPC64.
15626         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15627         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15629         (__libc_ifunc_impl_list): Likewise.
15630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15631         multiarch optimizations
15632         * string/strspn.c (strspn): Using macro to redefine symbol name.
15634 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15635             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15637         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15638         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15639         multiarch strncat for PPC64.
15640         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15641         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15643         (__libc_ifunc_impl_list): Likewise.
15644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15645         multiarch optimizations
15647 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15649         [BZ #16639]
15650         * nscd/nscd.service: Make service type forking.
15652 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15654         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15655         sign in non default rounding modes.
15656         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15658 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
15660         * math/libm-test.inc (ALL_RM_TEST): New macro.
15661         (ceil_test): Use ALL_RM_TEST.
15662         (cimag_test): Likewise.
15663         (conj_test): Likewise.
15664         (copysign_test): Likewise.
15665         (cproj_test): Likewise.
15666         (creal_test): Likewise.
15667         (fabs_test): Likewise.
15668         (floor_test): Likewise.
15669         (fmax_test): Likewise.
15670         (fmin_test): Likewise.
15671         (fmod_test): Likewise.
15672         (fpclassify_test): Likewise.
15673         (frexp_test): Likewise.
15674         (ilogb_test): Likewise.
15675         (isfinite_test): Likewise.
15676         (finite_test): Likewise.
15677         (isgreater_test): Likewise.
15678         (isgreaterequal_test): Likewise.
15679         (isinf_test): Likewise.
15680         (isless_test): Likewise.
15681         (islessequal_test): Likewise.
15682         (islessgreater_test): Likewise.
15683         (isnan_test): Likewise.
15684         (isnormal_test): Likewise.
15685         (issignaling_test): Likewise.
15686         (isunordered_test): Likewise.
15687         (logb_test): Likewise.
15688         (logb_downward_test_data): Remove.
15689         (logb_test_downward): Likewise.
15690         (lround_test): Use ALL_RM_TEST.
15691         (llround_test): Likewise.
15692         (modf_test): Likewise.
15693         (nexttoward_test): Likewise.
15694         (remainder_test): Likewise.
15695         (drem_test): Likewise.
15696         (remainder_tonearest_test_data): Likewise.
15697         (remainder_test_tonearest): Likewise.
15698         (drem_test_tonearest): Likewise.
15699         (remainder_towardzero_test_data): Likewise.
15700         (remainder_test_towardzero): Likewise.
15701         (drem_test_towardzero): Likewise.
15702         (remainder_downward_test_data): Likewise.
15703         (remainder_test_downward): Likewise.
15704         (drem_test_downward): Likewise.
15705         (remainder_upward_test_data): Likewise.
15706         (remainder_test_upward): Likewise.
15707         (drem_test_upward): Likewise.
15708         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
15709         (round_test): Use ALL_RM_TEST.
15710         (signbit_test): Likewise.
15711         (trunc_test): Likewise.
15712         (significand_test): Likewise.
15713         (main): Don't call removed functions.
15715 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15717         [BZ #16674]
15718         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15719         || __USE_XOPEN2K8].
15720         (ILL_ILLOPN): Likewise.
15721         (ILL_ILLADR): Likewise.
15722         (ILL_ILLTRP): Likewise.
15723         (ILL_PRVOPC): Likewise.
15724         (ILL_PRVREG): Likewise.
15725         (ILL_COPROC): Likewise.
15726         (ILL_BADSTK): Likewise.
15727         (FPE_INTDIV): Likewise.
15728         (FPE_INTOVF): Likewise.
15729         (FPE_FLTDIV): Likewise.
15730         (FPE_FLTOVF): Likewise.
15731         (FPE_FLTUND): Likewise.
15732         (FPE_FLTRES): Likewise.
15733         (FPE_FLTINV): Likewise.
15734         (FPE_FLTSUB): Likewise.
15735         (SEGV_MAPERR): Likewise.
15736         (SEGV_ACCERR): Likewise.
15737         (BUS_ADRALN): Likewise.
15738         (BUS_ADRERR): Likewise.
15739         (BUS_OBJERR): Likewise.
15740         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15741         (TRAP_TRACE): Likewise.
15742         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15743         __USE_XOPEN2K8].
15744         (CLD_KILLED): Likewise.
15745         (CLD_DUMPED): Likewise.
15746         (CLD_TRAPPED): Likewise.
15747         (CLD_STOPPED): Likewise.
15748         (CLD_CONTINUED): Likewise.
15749         (POLL_IN): Likewise.
15750         (POLL_OUT): Likewise.
15751         (POLL_MSG): Likewise.
15752         (POLL_ERR): Likewise.
15753         (POLL_PRI): Likewise.
15754         (POLL_HUP): Likewise.
15755         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15756         Likewise.
15757         (ILL_ILLOPN): Likewise.
15758         (ILL_ILLADR): Likewise.
15759         (ILL_ILLTRP): Likewise.
15760         (ILL_PRVOPC): Likewise.
15761         (ILL_PRVREG): Likewise.
15762         (ILL_COPROC): Likewise.
15763         (ILL_BADSTK): Likewise.
15764         (FPE_INTDIV): Likewise.
15765         (FPE_INTOVF): Likewise.
15766         (FPE_FLTDIV): Likewise.
15767         (FPE_FLTOVF): Likewise.
15768         (FPE_FLTUND): Likewise.
15769         (FPE_FLTRES): Likewise.
15770         (FPE_FLTINV): Likewise.
15771         (FPE_FLTSUB): Likewise.
15772         (SEGV_MAPERR): Likewise.
15773         (SEGV_ACCERR): Likewise.
15774         (BUS_ADRALN): Likewise.
15775         (BUS_ADRERR): Likewise.
15776         (BUS_OBJERR): Likewise.
15777         (BUS_MCEERR_AR): Likewise.
15778         (BUS_MCEERR_AO): Likewise.
15779         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15780         (TRAP_TRACE): Likewise.
15781         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15782         __USE_XOPEN2K8].
15783         (CLD_KILLED): Likewise.
15784         (CLD_DUMPED): Likewise.
15785         (CLD_TRAPPED): Likewise.
15786         (CLD_STOPPED): Likewise.
15787         (CLD_CONTINUED): Likewise.
15788         (POLL_IN): Likewise.
15789         (POLL_OUT): Likewise.
15790         (POLL_MSG): Likewise.
15791         (POLL_ERR): Likewise.
15792         (POLL_PRI): Likewise.
15793         (POLL_HUP): Likewise.
15794         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15795         (ILL_ILLOPN): Likewise.
15796         (ILL_ILLADR): Likewise.
15797         (ILL_ILLTRP): Likewise.
15798         (ILL_PRVOPC): Likewise.
15799         (ILL_PRVREG): Likewise.
15800         (ILL_COPROC): Likewise.
15801         (ILL_BADSTK): Likewise.
15802         (FPE_INTDIV): Likewise.
15803         (FPE_INTOVF): Likewise.
15804         (FPE_FLTDIV): Likewise.
15805         (FPE_FLTOVF): Likewise.
15806         (FPE_FLTUND): Likewise.
15807         (FPE_FLTRES): Likewise.
15808         (FPE_FLTINV): Likewise.
15809         (FPE_FLTSUB): Likewise.
15810         (SEGV_MAPERR): Likewise.
15811         (SEGV_ACCERR): Likewise.
15812         (BUS_ADRALN): Likewise.
15813         (BUS_ADRERR): Likewise.
15814         (BUS_OBJERR): Likewise.
15815         (BUS_MCEERR_AR): Likewise.
15816         (BUS_MCEERR_AO): Likewise.
15817         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15818         (TRAP_TRACE): Likewise.
15819         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15820         __USE_XOPEN2K8].
15821         (CLD_KILLED): Likewise.
15822         (CLD_DUMPED): Likewise.
15823         (CLD_TRAPPED): Likewise.
15824         (CLD_STOPPED): Likewise.
15825         (CLD_CONTINUED): Likewise.
15826         (POLL_IN): Likewise.
15827         (POLL_OUT): Likewise.
15828         (POLL_MSG): Likewise.
15829         (POLL_ERR): Likewise.
15830         (POLL_PRI): Likewise.
15831         (POLL_HUP): Likewise.
15832         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15833         Likewise.
15834         (ILL_ILLOPN): Likewise.
15835         (ILL_ILLADR): Likewise.
15836         (ILL_ILLTRP): Likewise.
15837         (ILL_PRVOPC): Likewise.
15838         (ILL_PRVREG): Likewise.
15839         (ILL_COPROC): Likewise.
15840         (ILL_BADSTK): Likewise.
15841         (ILL_BADIADDR): Likewise.
15842         (ILL_BREAK): Likewise.
15843         (FPE_INTDIV): Likewise.
15844         (FPE_INTOVF): Likewise.
15845         (FPE_FLTDIV): Likewise.
15846         (FPE_FLTOVF): Likewise.
15847         (FPE_FLTUND): Likewise.
15848         (FPE_FLTRES): Likewise.
15849         (FPE_FLTINV): Likewise.
15850         (FPE_FLTSUB): Likewise.
15851         (FPE_DECOVF): Likewise.
15852         (FPE_DECDIV): Likewise.
15853         (FPE_DECERR): Likewise.
15854         (FPE_INVASC): Likewise.
15855         (FPE_INVDEC): Likewise.
15856         (SEGV_MAPERR): Likewise.
15857         (SEGV_ACCERR): Likewise.
15858         (SEGV_PSTKOVF): Likewise.
15859         (BUS_ADRALN): Likewise.
15860         (BUS_ADRERR): Likewise.
15861         (BUS_OBJERR): Likewise.
15862         (BUS_MCEERR_AR): Likewise.
15863         (BUS_MCEERR_AO): Likewise.
15864         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15865         (TRAP_TRACE): Likewise.
15866         (TRAP_BRANCH): Likewise.
15867         (TRAP_HWBKPT): Likewise.
15868         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15869         __USE_XOPEN2K8].
15870         (CLD_KILLED): Likewise.
15871         (CLD_DUMPED): Likewise.
15872         (CLD_TRAPPED): Likewise.
15873         (CLD_STOPPED): Likewise.
15874         (CLD_CONTINUED): Likewise.
15875         (POLL_IN): Likewise.
15876         (POLL_OUT): Likewise.
15877         (POLL_MSG): Likewise.
15878         (POLL_ERR): Likewise.
15879         (POLL_PRI): Likewise.
15880         (POLL_HUP): Likewise.
15881         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15882         (ILL_ILLOPN): Likewise.
15883         (ILL_ILLADR): Likewise.
15884         (ILL_ILLTRP): Likewise.
15885         (ILL_PRVOPC): Likewise.
15886         (ILL_PRVREG): Likewise.
15887         (ILL_COPROC): Likewise.
15888         (ILL_BADSTK): Likewise.
15889         (FPE_INTDIV): Likewise.
15890         (FPE_INTOVF): Likewise.
15891         (FPE_FLTDIV): Likewise.
15892         (FPE_FLTOVF): Likewise.
15893         (FPE_FLTUND): Likewise.
15894         (FPE_FLTRES): Likewise.
15895         (FPE_FLTINV): Likewise.
15896         (FPE_FLTSUB): Likewise.
15897         (SEGV_MAPERR): Likewise.
15898         (SEGV_ACCERR): Likewise.
15899         (BUS_ADRALN): Likewise.
15900         (BUS_ADRERR): Likewise.
15901         (BUS_OBJERR): Likewise.
15902         (BUS_MCEERR_AR): Likewise.
15903         (BUS_MCEERR_AO): Likewise.
15904         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15905         (TRAP_TRACE): Likewise.
15906         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15907         __USE_XOPEN2K8].
15908         (CLD_KILLED): Likewise.
15909         (CLD_DUMPED): Likewise.
15910         (CLD_TRAPPED): Likewise.
15911         (CLD_STOPPED): Likewise.
15912         (CLD_CONTINUED): Likewise.
15913         (POLL_IN): Likewise.
15914         (POLL_OUT): Likewise.
15915         (POLL_MSG): Likewise.
15916         (POLL_ERR): Likewise.
15917         (POLL_PRI): Likewise.
15918         (POLL_HUP): Likewise.
15919         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15920         (ILL_ILLOPN): Likewise.
15921         (ILL_ILLADR): Likewise.
15922         (ILL_ILLTRP): Likewise.
15923         (ILL_PRVOPC): Likewise.
15924         (ILL_PRVREG): Likewise.
15925         (ILL_COPROC): Likewise.
15926         (ILL_BADSTK): Likewise.
15927         (FPE_INTDIV): Likewise.
15928         (FPE_INTOVF): Likewise.
15929         (FPE_FLTDIV): Likewise.
15930         (FPE_FLTOVF): Likewise.
15931         (FPE_FLTUND): Likewise.
15932         (FPE_FLTRES): Likewise.
15933         (FPE_FLTINV): Likewise.
15934         (FPE_FLTSUB): Likewise.
15935         (SEGV_MAPERR): Likewise.
15936         (SEGV_ACCERR): Likewise.
15937         (BUS_ADRALN): Likewise.
15938         (BUS_ADRERR): Likewise.
15939         (BUS_OBJERR): Likewise.
15940         (BUS_MCEERR_AR): Likewise.
15941         (BUS_MCEERR_AO): Likewise.
15942         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15943         (TRAP_TRACE): Likewise.
15944         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15945         __USE_XOPEN2K8].
15946         (CLD_KILLED): Likewise.
15947         (CLD_DUMPED): Likewise.
15948         (CLD_TRAPPED): Likewise.
15949         (CLD_STOPPED): Likewise.
15950         (CLD_CONTINUED): Likewise.
15951         (POLL_IN): Likewise.
15952         (POLL_OUT): Likewise.
15953         (POLL_MSG): Likewise.
15954         (POLL_ERR): Likewise.
15955         (POLL_PRI): Likewise.
15956         (POLL_HUP): Likewise.
15957         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15958         (ILL_ILLOPN): Likewise.
15959         (ILL_ILLADR): Likewise.
15960         (ILL_ILLTRP): Likewise.
15961         (ILL_PRVOPC): Likewise.
15962         (ILL_PRVREG): Likewise.
15963         (ILL_COPROC): Likewise.
15964         (ILL_BADSTK): Likewise.
15965         (FPE_INTDIV): Likewise.
15966         (FPE_INTOVF): Likewise.
15967         (FPE_FLTDIV): Likewise.
15968         (FPE_FLTOVF): Likewise.
15969         (FPE_FLTUND): Likewise.
15970         (FPE_FLTRES): Likewise.
15971         (FPE_FLTINV): Likewise.
15972         (FPE_FLTSUB): Likewise.
15973         (SEGV_MAPERR): Likewise.
15974         (SEGV_ACCERR): Likewise.
15975         (BUS_ADRALN): Likewise.
15976         (BUS_ADRERR): Likewise.
15977         (BUS_OBJERR): Likewise.
15978         (BUS_MCEERR_AR): Likewise.
15979         (BUS_MCEERR_AO): Likewise.
15980         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15981         (TRAP_TRACE): Likewise.
15982         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15983         __USE_XOPEN2K8].
15984         (CLD_KILLED): Likewise.
15985         (CLD_DUMPED): Likewise.
15986         (CLD_TRAPPED): Likewise.
15987         (CLD_STOPPED): Likewise.
15988         (CLD_CONTINUED): Likewise.
15989         (POLL_IN): Likewise.
15990         (POLL_OUT): Likewise.
15991         (POLL_MSG): Likewise.
15992         (POLL_ERR): Likewise.
15993         (POLL_PRI): Likewise.
15994         (POLL_HUP): Likewise.
15995         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15996         (ILL_ILLOPN): Likewise.
15997         (ILL_ILLADR): Likewise.
15998         (ILL_ILLTRP): Likewise.
15999         (ILL_PRVOPC): Likewise.
16000         (ILL_PRVREG): Likewise.
16001         (ILL_COPROC): Likewise.
16002         (ILL_BADSTK): Likewise.
16003         (ILL_DBLFLT): Likewise.
16004         (ILL_HARDWALL): Likewise.
16005         (FPE_INTDIV): Likewise.
16006         (FPE_INTOVF): Likewise.
16007         (FPE_FLTDIV): Likewise.
16008         (FPE_FLTOVF): Likewise.
16009         (FPE_FLTUND): Likewise.
16010         (FPE_FLTRES): Likewise.
16011         (FPE_FLTINV): Likewise.
16012         (FPE_FLTSUB): Likewise.
16013         (SEGV_MAPERR): Likewise.
16014         (SEGV_ACCERR): Likewise.
16015         (BUS_ADRALN): Likewise.
16016         (BUS_ADRERR): Likewise.
16017         (BUS_OBJERR): Likewise.
16018         (BUS_MCEERR_AR): Likewise.
16019         (BUS_MCEERR_AO): Likewise.
16020         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16021         (TRAP_TRACE): Likewise.
16022         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16023         __USE_XOPEN2K8].
16024         (CLD_KILLED): Likewise.
16025         (CLD_DUMPED): Likewise.
16026         (CLD_TRAPPED): Likewise.
16027         (CLD_STOPPED): Likewise.
16028         (CLD_CONTINUED): Likewise.
16029         (POLL_IN): Likewise.
16030         (POLL_OUT): Likewise.
16031         (POLL_MSG): Likewise.
16032         (POLL_ERR): Likewise.
16033         (POLL_PRI): Likewise.
16034         (POLL_HUP): Likewise.
16035         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16036         (ILL_ILLOPN): Likewise.
16037         (ILL_ILLADR): Likewise.
16038         (ILL_ILLTRP): Likewise.
16039         (ILL_PRVOPC): Likewise.
16040         (ILL_PRVREG): Likewise.
16041         (ILL_COPROC): Likewise.
16042         (ILL_BADSTK): Likewise.
16043         (FPE_INTDIV): Likewise.
16044         (FPE_INTOVF): Likewise.
16045         (FPE_FLTDIV): Likewise.
16046         (FPE_FLTOVF): Likewise.
16047         (FPE_FLTUND): Likewise.
16048         (FPE_FLTRES): Likewise.
16049         (FPE_FLTINV): Likewise.
16050         (FPE_FLTSUB): Likewise.
16051         (SEGV_MAPERR): Likewise.
16052         (SEGV_ACCERR): Likewise.
16053         (BUS_ADRALN): Likewise.
16054         (BUS_ADRERR): Likewise.
16055         (BUS_OBJERR): Likewise.
16056         (BUS_MCEERR_AR): Likewise.
16057         (BUS_MCEERR_AO): Likewise.
16058         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16059         (TRAP_TRACE): Likewise.
16060         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16061         __USE_XOPEN2K8].
16062         (CLD_KILLED): Likewise.
16063         (CLD_DUMPED): Likewise.
16064         (CLD_TRAPPED): Likewise.
16065         (CLD_STOPPED): Likewise.
16066         (CLD_CONTINUED): Likewise.
16067         (POLL_IN): Likewise.
16068         (POLL_OUT): Likewise.
16069         (POLL_MSG): Likewise.
16070         (POLL_ERR): Likewise.
16071         (POLL_PRI): Likewise.
16072         (POLL_HUP): Likewise.
16073         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16074         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16076         [BZ #16670]
16077         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16078         before #include of <time.h>.
16079         [!__USE_XOPEN2K] (__need_timespec): Likewise.
16080         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16081         (test-xfail-UNIX98/sched.h/conform): Likewise.
16083 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16085         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16086         error absence of trapping exception support.
16087         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16089 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16091         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16092         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16093         * timezone/Makefile (testdata): Move definition above include of
16094         Rules.
16095         (test-zones): New variable.
16096         (tests-special): Add zone files.
16097         (build-testdata): Use $(evaluate-test).
16099         * elf/Makefile (tests-special): Rename tests to end with .out.
16100         ($(objpfx)noload-mem): Likewise.
16101         ($(objpfx)tst-leaks1-mem): Likewise.
16102         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16103         * iconv/Makefile (xtests-special): Change test-iconvconfig to
16104         $(objpfx)test-iconvconfig.out.
16105         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
16106         set -e inside subshell and redirect output to file.
16107         * iconvdata/Makefile (generated): Rename tests to end with .out.
16108         Correct type.
16109         (tests-special): Rename tests to end with .out.
16110         ($(objpfx)mtrace-tst-loading): Likewise.
16111         * intl/Makefile (generated): Likewise.
16112         (tests-special): Likewise.
16113         ($(objpfx)mtrace-tst-gettext): Likewise.
16114         * misc/Makefile (generated): Likewise.
16115         (tests-special): Likewise.
16116         ($(objpfx)tst-error1-mem): Likewise.
16117         * nptl/Makefile (tests-special): Likewise.
16118         ($(objpfx)tst-stack3-mem): Likewise.
16119         (generated): Likewise.
16120         * posix/Makefile (generated): Likewise.
16121         (tests-special): Likewise.
16122         (xtests-special): Likewise.
16123         ($(objpfx)tst-fnmatch-mem): Likewise.
16124         ($(objpfx)bug-regex2-mem): Likewise.
16125         ($(objpfx)bug-regex14-mem): Likewise.
16126         ($(objpfx)bug-regex21-mem): Likewise.
16127         ($(objpfx)bug-regex31-mem): Likewise.
16128         ($(objpfx)tst-vfork3-mem): Likewise.
16129         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16130         ($(objpfx)tst-pcre-mem): Likewise.
16131         ($(objpfx)tst-boost-mem): Likewise.
16132         ($(objpfx)bug-ga2-mem): Likewise.
16133         ($(objpfx)bug-glob2-mem): Likewise.
16134         * resolv/Makefile (generate): Likewise.
16135         (tests-special): Likewise.
16136         (xtests-special): Likewise.
16137         (generated): Likewise.
16138         ($(objpfx)mtrace-tst-leaks): Likewise.
16139         ($(objpfx)mtrace-tst-leaks2): Likewise.
16141         * scripts/merge-test-results.sh: New file.
16142         * Makefile (tests-special-notdir): New variable.
16143         (tests): Run merge-test-results.sh.
16144         (xtests): Likewise.
16145         * Rules (tests-special-notdir): New variable.
16146         (xtests-special-notdir): Likewise.
16147         (tests): Run merge-test-results.sh
16148         (xtests): Likewise.
16150         * Makeconfig (test-xfail-name): New variable.
16151         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16152         compute variable name for expected failures.
16153         * conform/Makefile (conformtest-headers-data): New variable.
16154         (conformtest-standards): Likewise.
16155         (conformtest-headers-ISO): Likewise.
16156         (conformtest-headers-ISO99): Likewise.
16157         (conformtest-headers-ISO11): Likewise.
16158         (conformtest-headers-POSIX): Likewise.
16159         (conformtest-headers-XPG3): Likewise.
16160         (conformtest-headers-XPG4): Likewise.
16161         (conformtest-headers-UNIX98): Likewise.
16162         (conformtest-headers-XOPEN2K): Likewise.
16163         (conformtest-headers-POSIX2008): Likewise.
16164         (conformtest-headers-XOPEN2K8): Likewise.
16165         (conformtest-header-list-base): Likewise.
16166         (conformtest-header-list-tests): Likewise.
16167         (conformtest-header-base): Likewise.
16168         (conformtest-header-tests): Likewise.
16169         (tests-special): Add $(conformtest-header-list-tests).  If
16170         [$(fast-check) && !$(cross-compiling)], add
16171         $(conformtest-header-tests) instead of
16172         $(objpfx)run-conformtest.out.
16173         (generated): Add $(conformtest-header-list-base).  If
16174         [$(fast-check) && !$(cross-compiling)], add
16175         $(conformtest-header-base).  Remove previous setting.
16176         ($(conformtest-header-list-tests)): New target.
16177         (test-xfail-run-conformtest): Remove variable.
16178         ($(objpfx)run-conformtest.out): Remove target.
16179         (test-xfail-ISO11/complex.h/conform): New variable.
16180         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16181         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16182         (test-xfail-XPG3/varargs.h/conform): Likewise.
16183         (test-xfail-XPG4/varargs.h/conform): Likewise.
16184         (test-xfail-UNIX98/varargs.h/conform): Likewise.
16185         (test-xfail-XPG4/ndbm.h/conform): Likewise.
16186         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16187         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16188         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16189         (test-xfail-XPG3/fcntl.h/conform): Likewise.
16190         (test-xfail-XPG3/ftw.h/conform): Likewise.
16191         (test-xfail-XPG3/grp.h/conform): Likewise.
16192         (test-xfail-XPG3/langinfo.h/conform): Likewise.
16193         (test-xfail-XPG3/limits.h/conform): Likewise.
16194         (test-xfail-XPG3/pwd.h/conform): Likewise.
16195         (test-xfail-XPG3/search.h/conform): Likewise.
16196         (test-xfail-XPG3/signal.h/conform): Likewise.
16197         (test-xfail-XPG3/stdio.h/conform): Likewise.
16198         (test-xfail-XPG3/stdlib.h/conform): Likewise.
16199         (test-xfail-XPG3/string.h/conform): Likewise.
16200         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16201         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16202         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16203         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16204         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16205         (test-xfail-XPG3/sys/types.h/conform): Likewise.
16206         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16207         (test-xfail-XPG3/termios.h/conform): Likewise.
16208         (test-xfail-XPG3/time.h/conform): Likewise.
16209         (test-xfail-XPG3/unistd.h/conform): Likewise.
16210         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16211         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16212         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16213         (test-xfail-XPG4/netdb.h/conform): Likewise.
16214         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16215         (test-xfail-XPG4/signal.h/conform): Likewise.
16216         (test-xfail-XPG4/stdio.h/conform): Likewise.
16217         (test-xfail-XPG4/stdlib.h/conform): Likewise.
16218         (test-xfail-XPG4/stropts.h/conform): Likewise.
16219         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16220         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16221         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16222         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16223         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16224         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16225         (test-xfail-XPG4/sys/time.h/conform): Likewise.
16226         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16227         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16228         (test-xfail-XPG4/termios.h/conform): Likewise.
16229         (test-xfail-XPG4/ucontext.h/conform): Likewise.
16230         (test-xfail-XPG4/unistd.h/conform): Likewise.
16231         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16232         (test-xfail-POSIX/sched.h/conform): Likewise.
16233         (test-xfail-POSIX/signal.h/conform): Likewise.
16234         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16235         (test-xfail-POSIX/tar.h/conform): Likewise.
16236         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16237         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16238         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16239         (test-xfail-UNIX98/netdb.h/conform): Likewise.
16240         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16241         (test-xfail-UNIX98/sched.h/conform): Likewise.
16242         (test-xfail-UNIX98/signal.h/conform): Likewise.
16243         (test-xfail-UNIX98/stdio.h/conform): Likewise.
16244         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16245         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16246         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16247         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16248         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16249         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16250         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16251         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16252         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16253         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16254         (test-xfail-UNIX98/unistd.h/conform): Likewise.
16255         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16256         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16257         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16258         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16259         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16260         (test-xfail-XOPEN2K/math.h/conform): Likewise.
16261         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16262         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16263         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16264         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16265         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16266         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16267         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16268         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16269         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16270         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16271         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16272         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16273         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16274         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16275         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16276         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16277         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16278         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16279         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16280         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16281         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16282         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16283         (test-xfail-POSIX2008/signal.h/conform): Likewise.
16284         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16285         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16286         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16287         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16288         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16289         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16290         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16291         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16292         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16293         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16294         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16295         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16296         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16297         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16298         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16299         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16300         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16301         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16302         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16303         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16304         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16305         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16306         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16307         (conformtest-cc-flags): Likewise.
16308         ($(conformtest-header-tests): New target.
16309         * conform/check-header-lists.sh: New file.
16310         * conform/run-conformtest.sh: Remove.
16312         * conform/conformtest.pl: Allow ' and \ in values given for
16313         constants.
16314         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16315         inclusion.
16316         [POSIX] (sys/types.h): Likewise.
16317         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16318         inclusion.
16319         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16320         inclusion.
16321         * conform/data/signal.h-data (SIGIO): Remove expectation.
16322         [XPG3] (SIGBUS): Do not expect.
16323         [POSIX || XPG3] (SIGPOLL): Likewise.
16324         [POSIX || XPG3] (SIGPROF): Likewise.
16325         [POSIX || XPG3] (SIGSYS): Likewise.
16326         [XPG3] (SIGTRAP): Likewise.
16327         [POSIX || XPG3] (SIGURG): Likewise.
16328         [POSIX || XPG3] (SIGVTALRM): Likewise.
16329         [POSIX || XPG3] (SIGXCPU): Likewise.
16330         [POSIX || XPG3] (SIGXFSZ): Likewise.
16331         [POSIX] (SA_SIGINFO): Expect.
16332         [XPG3] (siginfo_t): Do not expect type or contents.
16333         [POSIX] (si_pid): Do not expect element.
16334         [POSIX] (si_uid): Likewise.
16335         [POSIX] (si_addr): Likewise.
16336         [POSIX] (si_status): Likewise.
16337         [POSIX] (si_band): Likewise.
16338         [XPG4] (si_value): Likewise.
16339         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16340         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16341         [POSIX || XPG3] (ILL_ILLADR): Likewise.
16342         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16343         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16344         [POSIX || XPG3] (ILL_PRVREG): Likewise.
16345         [POSIX || XPG3] (ILL_COPROC): Likewise.
16346         [POSIX || XPG3] (ILL_BADSTK): Likewise.
16347         [POSIX || XPG3] (FPE_INTDIV): Likewise.
16348         [POSIX || XPG3] (FPE_INTOVF): Likewise.
16349         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16350         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16351         [POSIX || XPG3] (FPE_FLTUND): Likewise.
16352         [POSIX || XPG3] (FPE_FLTRES): Likewise.
16353         [POSIX || XPG3] (FPE_FLTINV): Likewise.
16354         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16355         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16356         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16357         [POSIX || XPG3] (BUS_ADRALN): Likewise.
16358         [POSIX || XPG3] (BUS_ADRERR): Likewise.
16359         [POSIX || XPG3] (BUS_OBJERR): Likewise.
16360         [POSIX || XPG3] (CLD_EXITED): Likewise.
16361         [POSIX || XPG3] (CLD_KILLED): Likewise.
16362         [POSIX || XPG3] (CLD_DUMPED): Likewise.
16363         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16364         [POSIX || XPG3] (CLD_STOPPED): Likewise.
16365         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16366         [POSIX || XPG3] (POLL_IN): Likewise.
16367         [POSIX || XPG3] (POLL_OUT): Likewise.
16368         [POSIX || XPG3] (POLL_MSG): Likewise.
16369         [POSIX || XPG3] (POLL_ERR): Likewise.
16370         [POSIX || XPG3] (POLL_PRI): Likewise.
16371         [POSIX || XPG3] (POLL_HUP): Likewise.
16372         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16373         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16374         (SIG*): Do not allow.
16375         [XPG3] (si_*): Likewise.
16376         [XPG3] (SI_*): Likewise.
16377         [XPG3 || XPG4] (sigev_*): Likewise.
16378         [XPG3 || XPG4] (SIGEV_*): Likewise.
16379         [XPG3 || XPG4] (sival_*): Likewise.
16380         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16381         [POSIX || XPG3] (BUS_*): Likewise.
16382         [POSIX || XPG3] (CLD_*): Likewise.
16383         [POSIX || XPG3] (FPE_*): Likewise.
16384         [POSIX || XPG3] (ILL_*): Likewise.
16385         [POSIX || XPG3] (POLL_*): Likewise.
16386         [POSIX || XPG3] (SEGV_*): Likewise.
16387         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16388         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16389         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16390         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16391         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16392         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16393         Specify type and value.
16394         (TVERSLEN): Likewise.
16395         (REGTYPE): Likewise.
16396         (AREGTYPE): Likewise.
16397         (LNKTYPE): Likewise.
16398         (SYMTYPE): Likewise.
16399         (CHRTYPE): Likewise.
16400         (BLKTYPE): Likewise.
16401         (DIRTYPE): Likewise.
16402         (FIFOTYPE): Likewise.
16403         (CONTTYPE): Likewise.
16404         (TSUID): Likewise.
16405         (TSGID): Likewise.
16406         (TSVTX): Likewise.
16407         (TUREAD): Likewise.
16408         (TUWRITE): Likewise.
16409         (TUEXEC): Likewise.
16410         (TGREAD): Likewise.
16411         (TGWRITE): Likewise.
16412         (TGEXEC): Likewise.
16413         (TOREAD): Likewise.
16414         (TOWRITE): Likewise.
16415         (TOEXEC): Likewise.
16416         [POSIX] (TSVTX): Expect constant.
16418 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
16420         * Makefile (tests): Change dependencies to ....
16421         (tests-special): ... additions to this variable.
16422         (tests): Depend on $(tests-special).
16423         * Makerules (check-abi-list): New variable.
16424         (check-abi): Depend on $(check-abi-list).
16425         [$(subdir) = elf] (tests-special): Add
16426         $(objpfx)check-abi-libc.out.
16427         [$(build-shared) = yes && subdir] (tests-special): Add
16428         $(check-abi-list).
16429         [$(build-shared) = yes && subdir] (tests): Do not depend on
16430         check-abi.
16431         * Rules (tests): Depend on $(tests-special).
16432         (xtests): Depend on $(xtests-special).
16433         * catgets/Makefile (tests): Change dependencies to ....
16434         (tests-special): ... additions to this variable.
16435         * conform/Makefile (tests): Change dependencies to ....
16436         (tests-special): ... additions to this variable.
16437         * elf/Makefile (tests): Change dependencies to ....
16438         (tests-special): ... additions to this variable.
16439         * grp/Makefile (tests): Change dependencies to ....
16440         (tests-special): ... additions to this variable.
16441         * iconv/Makefile (xtests): Change dependencies to ....
16442         (xtests-special): ... additions to this variable.
16443         * iconvdata/Makefile (tests): Change dependencies to ....
16444         (tests-special): ... additions to this variable.
16445         * intl/Makefile (tests): Change dependencies to ....
16446         (tests-special): ... additions to this variable.  Also add
16447         $(objpfx)tst-gettext.out.
16448         * io/Makefile (tests): Change dependencies to ....
16449         (tests-special): ... additions to this variable.
16450         * libio/Makefile (tests): Change dependencies to ....
16451         (tests-special): ... additions to this variable.
16452         * malloc/Makefile (tests): Change dependencies to ....
16453         (tests-special): ... additions to this variable.
16454         * misc/Makefile (tests): Change dependencies to ....
16455         (tests-special): ... additions to this variable.
16456         * nptl/Makefile (tests): Change dependencies to ....
16457         (tests-special): ... additions to this variable.
16458         * nptl_db/Makefile (tests): Change dependencies to ....
16459         (tests-special): ... additions to this variable.
16460         * posix/Makefile (tests): Change dependencies to ....
16461         (tests-special): ... additions to this variable.
16462         (xtests): Change dependencies to ....
16463         (xtests-special): ... additions to this variable.
16464         * resolv/Makefile (tests): Change dependencies to ....
16465         (tests-special): ... additions to this variable.
16466         (xtests): Change dependencies to ....
16467         (xtests-special): ... additions to this variable.
16468         * stdio-common/Makefile (tests): Change dependencies to ....
16469         (tests-special): ... additions to this variable.
16470         (do-tst-unbputc): Remove target.
16471         (do-tst-printf): Likewise.
16472         * stdlib/Makefile (tests): Change dependencies to ....
16473         (tests-special): ... additions to this variable.
16474         * string/Makefile (tests): Change dependencies to ....
16475         (tests-special): ... additions to this variable.
16476         * sysdeps/x86/Makefile (tests): Change dependencies to ....
16477         (tests-special): ... additions to this variable.
16479         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16480         whole file.
16481         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16482         whole file.
16483         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16484         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16486         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16487         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16488         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16489         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16490         * conform/data/libgen.h-data [XPG3]: Likewise.
16491         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16492         * conform/data/ndbm.h-data [XPG3]: Likewise.
16493         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16494         * conform/data/netdb.h-data [XPG3]: Likewise.
16495         * conform/data/netinet/in.h-data [XPG3]: Likewise.
16496         * conform/data/poll.h-data [XPG3]: Likewise.
16497         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16498         * conform/data/strings.h-data [XPG3]: Likewise.
16499         * conform/data/stropts.h-data [XPG3]: Likewise.
16500         * conform/data/sys/mman.h-data [XPG3]: Likewise.
16501         * conform/data/sys/resource.h-data [XPG3]: Likewise.
16502         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16503         Likewise.
16504         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16505         * conform/data/sys/time.h-data [XPG3]: Likewise.
16506         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16507         * conform/data/sys/uio.h-data [XPG3]: Likewise.
16508         * conform/data/sys/un.h-data [XPG3]: Likewise.
16509         * conform/data/syslog.h-data [XPG3]: Likewise.
16510         * conform/data/ucontext.h-data [XPG3]: Likewise.
16511         * conform/data/utmpx.h-data [XPG3]: Likewise.
16512         * conform/data/varargs.h-data [UNIX98]: Enable file.
16514         * manual/Makefile (INSTALL_INFO): Remove variable setting.
16516         * math/libm-test.inc (struct test_f_f_data): Move expected results
16517         into structure for each rounding mode.
16518         (struct test_ff_f_data): Likewise.
16519         (struct test_ff_f_data_nexttoward): Likewise.
16520         (struct test_fi_f_data): Likewise.
16521         (struct test_fl_f_data): Likewise.
16522         (struct test_if_f_data): Likewise.
16523         (struct test_fff_f_data): Likewise.
16524         (struct test_c_f_data): Likewise.
16525         (struct test_f_f1_data): Likewise.
16526         (struct test_fF_f1_data): Likewise.
16527         (struct test_ffI_f1_data): Likewise.
16528         (struct test_c_c_data): Likewise.
16529         (struct test_cc_c_data): Likewise.
16530         (struct test_f_i_data): Likewise.
16531         (struct test_ff_i_data): Likewise.
16532         (struct test_f_l_data): Likewise.
16533         (struct test_f_L_data): Likewise.
16534         (struct test_fFF_11_data): Likewise.
16535         (RM_): New macro.
16536         (RM_FE_DOWNWARD): Likewise.
16537         (RM_FE_TONEAREST): Likewise.
16538         (RM_FE_TOWARDZERO): Likewise.
16539         (RM_FE_UPWARD): Likewise.
16540         (RUN_TEST_LOOP_f_f): Update references to expected results.
16541         (RUN_TEST_LOOP_2_f): Likewise.
16542         (RUN_TEST_LOOP_fff_f): Likewise.
16543         (RUN_TEST_LOOP_c_f): Likewise.
16544         (RUN_TEST_LOOP_f_f1): Likewise.
16545         (RUN_TEST_LOOP_fF_f1): Likewise.
16546         (RUN_TEST_LOOP_fI_f1): Likewise.
16547         (RUN_TEST_LOOP_ffI_f1): Likewise.
16548         (RUN_TEST_LOOP_c_c): Likewise.
16549         (RUN_TEST_LOOP_cc_c): Likewise.
16550         (RUN_TEST_LOOP_f_i): Likewise.
16551         (RUN_TEST_LOOP_f_i_tg): Likewise.
16552         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16553         (RUN_TEST_LOOP_f_b): Likewise.
16554         (RUN_TEST_LOOP_f_b_tg): Likewise.
16555         (RUN_TEST_LOOP_f_l): Likewise.
16556         (RUN_TEST_LOOP_f_L): Likewise.
16557         (RUN_TEST_LOOP_fFF_11): Likewise.
16558         * math/gen-libm-test.pl (parse_args): Output four copies of
16559         expected results for each test.
16561         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16562         (__ASSUME_UTIMES): Remove.
16563         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16564         (__ASSUME_UTIMES): Likewise.
16566         * math/gen-auto-libm-tests.c: Update comment on output format.
16567         (output_for_one_input_case): Generate before-rounding and
16568         after-rounding information as conditions on output flags not
16569         floating-point format.
16570         * math/auto-libm-test-out: Regenerated.
16571         * math/gen-libm-test.pl (cond_value): New function.
16572         (or_cond_value): Use cond_value.
16573         (generate_testfile): Handle conditional exceptions.
16575 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
16577         * math/libm-test.inc (max_valid_error): New variable.
16578         (init_max_error): Take new argument specifying whether function
16579         results are exactly determined.  Set max_valid_error and bound
16580         other variables for errors based on this argument.
16581         (set_max_error): Do not record results above max_valid_error.
16582         (check_float_internal): Only accept errors of up to 0.5ulps if
16583         also at most max_valid_error.
16584         (START): Take new argument EXACT and pass it to init_max_error.
16585         (acos_test): Update call to START.
16586         (acos_test_tonearest): Likewise.
16587         (acos_test_towardzero): Likewise.
16588         (acos_test_downward): Likewise.
16589         (acos_test_upward): Likewise.
16590         (acosh_test): Likewise.
16591         (asin_test): Likewise.
16592         (asin_test_tonearest): Likewise.
16593         (asin_test_towardzero): Likewise.
16594         (asin_test_downward): Likewise.
16595         (asin_test_upward): Likewise.
16596         (asinh_test): Likewise.
16597         (atan_test): Likewise.
16598         (atanh_test): Likewise.
16599         (atan2_test): Likewise.
16600         (cabs_test): Likewise.
16601         (cacos_test): Likewise.
16602         (cacosh_test): Likewise.
16603         (carg_test): Likewise.
16604         (casin_test): Likewise.
16605         (casinh_test): Likewise.
16606         (catan_test): Likewise.
16607         (catanh_test): Likewise.
16608         (cbrt_test): Likewise.
16609         (ccos_test): Likewise.
16610         (ccosh_test): Likewise.
16611         (ceil_test): Likewise.
16612         (cexp_test): Likewise.
16613         (cimag_test): Likewise.
16614         (clog_test): Likewise.
16615         (clog10_test): Likewise.
16616         (conj_test): Likewise.
16617         (copysign_test): Likewise.
16618         (cos_test): Likewise.
16619         (cos_test_tonearest): Likewise.
16620         (cos_test_towardzero): Likewise.
16621         (cos_test_downward): Likewise.
16622         (cos_test_upward): Likewise.
16623         (cosh_test): Likewise.
16624         (cosh_test_tonearest): Likewise.
16625         (cosh_test_towardzero): Likewise.
16626         (cosh_test_downward): Likewise.
16627         (cosh_test_upward): Likewise.
16628         (cpow_test): Likewise.
16629         (cproj_test): Likewise.
16630         (creal_test): Likewise.
16631         (csin_test): Likewise.
16632         (csinh_test): Likewise.
16633         (csqrt_test): Likewise.
16634         (ctan_test): Likewise.
16635         (ctan_test_tonearest): Likewise.
16636         (ctan_test_towardzero): Likewise.
16637         (ctan_test_downward): Likewise.
16638         (ctan_test_upward): Likewise.
16639         (ctanh_test): Likewise.
16640         (ctanh_test_tonearest): Likewise.
16641         (ctanh_test_towardzero): Likewise.
16642         (ctanh_test_downward): Likewise.
16643         (ctanh_test_upward): Likewise.
16644         (erf_test): Likewise.
16645         (erfc_test): Likewise.
16646         (exp_test): Likewise.
16647         (exp_test_tonearest): Likewise.
16648         (exp_test_towardzero): Likewise.
16649         (exp_test_downward): Likewise.
16650         (exp_test_upward): Likewise.
16651         (exp10_test): Likewise.
16652         (exp10_test_tonearest): Likewise.
16653         (exp10_test_towardzero): Likewise.
16654         (exp10_test_downward): Likewise.
16655         (exp10_test_upward): Likewise.
16656         (pow10_test): Likewise.
16657         (exp2_test): Likewise.
16658         (expm1_test): Likewise.
16659         (expm1_test_tonearest): Likewise.
16660         (expm1_test_towardzero): Likewise.
16661         (expm1_test_downward): Likewise.
16662         (expm1_test_upward): Likewise.
16663         (fabs_test): Likewise.
16664         (fdim_test): Likewise.
16665         (floor_test): Likewise.
16666         (fma_test): Likewise.
16667         (fma_test_towardzero): Likewise.
16668         (fma_test_downward): Likewise.
16669         (fma_test_upward): Likewise.
16670         (fmax_test): Likewise.
16671         (fmin_test): Likewise.
16672         (fmod_test): Likewise.
16673         (fpclassify_test): Likewise.
16674         (frexp_test): Likewise.
16675         (hypot_test): Likewise.
16676         (ilogb_test): Likewise.
16677         (isfinite_test): Likewise.
16678         (finite_test): Likewise.
16679         (isgreater_test): Likewise.
16680         (isgreaterequal_test): Likewise.
16681         (isinf_test): Likewise.
16682         (isless_test): Likewise.
16683         (islessequal_test): Likewise.
16684         (islessgreater_test): Likewise.
16685         (isnan_test): Likewise.
16686         (isnormal_test): Likewise.
16687         (issignaling_test): Likewise.
16688         (isunordered_test): Likewise.
16689         (j0_test): Likewise.
16690         (j1_test): Likewise.
16691         (jn_test): Likewise.
16692         (ldexp_test): Likewise.
16693         (lgamma_test): Likewise.
16694         (gamma_test): Likewise.
16695         (lrint_test): Likewise.
16696         (lrint_test_tonearest): Likewise.
16697         (lrint_test_towardzero): Likewise.
16698         (lrint_test_downward): Likewise.
16699         (lrint_test_upward): Likewise.
16700         (llrint_test): Likewise.
16701         (llrint_test_tonearest): Likewise.
16702         (llrint_test_towardzero): Likewise.
16703         (llrint_test_downward): Likewise.
16704         (llrint_test_upward): Likewise.
16705         (log_test): Likewise.
16706         (log10_test): Likewise.
16707         (log1p_test): Likewise.
16708         (log2_test): Likewise.
16709         (logb_test): Likewise.
16710         (logb_test_downward): Likewise.
16711         (lround_test): Likewise.
16712         (llround_test): Likewise.
16713         (modf_test): Likewise.
16714         (nearbyint_test): Likewise.
16715         (nextafter_test): Likewise.
16716         (nexttoward_test): Likewise.
16717         (pow_test): Likewise.
16718         (pow_test_tonearest): Likewise.
16719         (pow_test_towardzero): Likewise.
16720         (pow_test_downward): Likewise.
16721         (pow_test_upward): Likewise.
16722         (remainder_test): Likewise.
16723         (drem_test): Likewise.
16724         (remainder_test_tonearest): Likewise.
16725         (drem_test_tonearest): Likewise.
16726         (remainder_test_towardzero): Likewise.
16727         (drem_test_towardzero): Likewise.
16728         (remainder_test_downward): Likewise.
16729         (drem_test_downward): Likewise.
16730         (remainder_test_upward): Likewise.
16731         (drem_test_upward): Likewise.
16732         (remquo_test): Likewise.
16733         (rint_test): Likewise.
16734         (rint_test_tonearest): Likewise.
16735         (rint_test_towardzero): Likewise.
16736         (rint_test_downward): Likewise.
16737         (rint_test_upward): Likewise.
16738         (round_test): Likewise.
16739         (scalb_test): Likewise.
16740         (scalbn_test): Likewise.
16741         (scalbln_test): Likewise.
16742         (signbit_test): Likewise.
16743         (sin_test): Likewise.
16744         (sin_test_tonearest): Likewise.
16745         (sin_test_towardzero): Likewise.
16746         (sin_test_downward): Likewise.
16747         (sin_test_upward): Likewise.
16748         (sincos_test): Likewise.
16749         (sinh_test): Likewise.
16750         (sinh_test_tonearest): Likewise.
16751         (sinh_test_towardzero): Likewise.
16752         (sinh_test_downward): Likewise.
16753         (sinh_test_upward): Likewise.
16754         (sqrt_test): Likewise.
16755         (sqrt_test_tonearest): Likewise.
16756         (sqrt_test_towardzero): Likewise.
16757         (sqrt_test_downward): Likewise.
16758         (sqrt_test_upward): Likewise.
16759         (tan_test): Likewise.
16760         (tan_test_tonearest): Likewise.
16761         (tan_test_towardzero): Likewise.
16762         (tan_test_downward): Likewise.
16763         (tan_test_upward): Likewise.
16764         (tanh_test): Likewise.
16765         (tgamma_test): Likewise.
16766         (trunc_test): Likewise.
16767         (y0_test): Likewise.
16768         (y1_test): Likewise.
16769         (yn_test): Likewise.
16770         (significand_test): Likewise.
16772         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16773         individual tests in comment.
16774         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16775         (prev_max_error): New variable.
16776         (prev_real_max_error): Likewise.
16777         (prev_imag_max_error): Likewise.
16778         (compare_ulp_data): Don't refer to test names in comment.
16779         (find_test_ulps): Remove function.
16780         (find_function_ulps): Likewise.
16781         (find_complex_function_ulps): Likewise.
16782         (init_max_error): Take function name as argument.  Look up ulps
16783         for that function.
16784         (print_ulps): Remove function.
16785         (print_max_error): Use prev_max_error instead of calling
16786         find_function_ulps.
16787         (print_complex_max_error): Use prev_real_max_error and
16788         prev_imag_max_error instead of calling find_complex_function_ulps.
16789         (check_float_internal): Take max_ulp parameter instead of calling
16790         find_test_ulps.  Don't call print_ulps.
16791         (check_float): Update call to check_float_internal.
16792         (check_complex): Update calls to check_float_internal.
16793         (START): Pass argument to init_max_error.
16794         * math/gen-libm-test.pl (%results): Don't include "kind"
16795         information.
16796         (parse_ulps): Don't handle ulps of individual tests.
16797         (print_ulps_file): Likewise.
16798         (output_ulps): Likewise.
16799         * math/README.libm-test: Update.
16800         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16801         individual tests.
16802         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16803         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16804         * sysdeps/arm/libm-test-ulps: Likewise.
16805         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16806         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16807         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16808         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16809         * sysdeps/microblaze/libm-test-ulps: Likewise.
16810         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16811         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16812         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16813         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16814         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16815         * sysdeps/sh/libm-test-ulps: Likewise.
16816         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16817         * sysdeps/tile/libm-test-ulps: Likewise.
16818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16820 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
16822         * math/libm-test.inc (print_complex_max_error): Check separately
16823         whether real and imaginary errors are within allowed range and
16824         pass 0 to print_complex_function_ulps instead of value within
16825         allowed range.
16827 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16829         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16830         formatting.
16831         (get_handles_fopen): Likewise.
16832         (do_write_test): Likewise.
16834         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16836         * libio/fileops.c (do_ftell): Use cached offset when
16837         available.
16838         * libio/iofwide.c (do_ftell_wide): Likewise.
16839         * libio/iofdopen.c (_IO_new_fdopen): Don't use
16840         _IO_file_attach.
16841         * libio/wfileops.c (_IO_fwide): Don't cache offset.
16843         [BZ #16532]
16844         * libio/libioP.h (get_file_offset): New function.
16845         * libio/fileops.c (get_file_offset): Likewise.
16846         (do_ftell): Likewise.
16847         (_IO_new_file_seekoff): Split out ftell logic.
16848         * libio/wfileops.c (do_ftell_wide): Likewise.
16849         (_IO_wfile_seekoff): Split out ftell logic.
16850         * libio/tst-ftell-active-handler.c: New test case.
16851         * libio/Makefile (tests): Add it.
16853 2014-03-03  Roland McGrath  <roland@hack.frob.com>
16855         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16856         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16858 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16860         [BZ #16639]
16861         * nscd/connections.c (nscd_init): Call do_exit.
16862         (start_threads): Call do_exit and notify_parent.
16863         (begin_drop_privileges): Call do_exit.
16864         (finish_drop_privileges): Likewise.
16865         * nscd/selinux.c (preserve_capabilities): Likewise.
16866         (install_real_capabilities): Likewise.
16867         (nscd_selinux_enabled): Likewise.
16868         (avc_create_thread): Likewise.
16869         (avc_alloc_lock): Likewise.
16870         (nscd_avc_init): Likewise.
16871         * nscd/nscd.c (parent_fd): New static variable.
16872         (main): Create a pipe between parent and child processes.
16873         Skip closing parent_fd.
16874         (monitor_child): New function.
16875         (do_exit): Likewise.
16876         (notify_parent): Likewise.
16877         * nscd/nscd.h (notify_parent): Likewise.
16878         (do_exit): Likewise.
16880 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
16882         * malloc/malloc.c (__libc_calloc): Revert last change.
16884 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16888 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16890         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16892         implementation.
16893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16894         (__libc_ifunc_impl_list): Likewise.
16895         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16896         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16897         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16898         * string/strrchr.c: Define STRRCHR.
16900 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
16902         * benchtest/bench-strtok.c (simple_strtok): Delete.
16903         (strtok_string): Use as benchmark.
16904         * string/strtok (STRTOK): New macro.
16906 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
16908         * manual/threads.texi: Add header and standard comments to all
16909         functions.
16911         * elf/dl-lookup.c (check_match): New function.
16912         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16913         (do_lookup_x): Remove nested function check_match. Use non-nested
16914         function check_match.
16916 2014-02-28  Roland McGrath  <roland@hack.frob.com>
16918         * csu/Makefile (generated, before-compile): Use += rather than =.
16919         * catgets/Makefile (generated, generated-dirs): Likewise.
16920         * debug/Makefile (generated): Likewise.
16921         * dlfcn/Makefile (generated): Likewise.
16922         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16923         * iconvdata/Makefile (before-compile, generated): Likewise.
16924         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16925         * libio/Makefile (generated): Likewise.
16926         * malloc/Makefile (generated): Likewise.
16927         * manual/Makefile (generated, generated-dirs): Likewise.
16928         * misc/Makefile (generated): Likewise.
16929         * posix/Makefile (generated): Likewise.
16930         * resolv/Makefile (generated): Likewise.
16931         * sunrpc/Makefile (generated, generated-dirs): Likewise.
16932         * timezone/Makefile (generated, generated-dirs): Likewise.
16934         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16936 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16938         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16939         power8 implementation.
16940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16941         file: POWER8 llround ifunc implementation.
16942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16943         (__lllround): Add POWER8 implementation.
16944         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16945         POWER8 llround implementation.
16947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16948         power8 implementation.
16949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16950         file: POWER8 llrint ifunc implementation.
16951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16952         Add POWER8 implementation.
16953         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16954         POWER8 llrint implementation.
16956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16957         power8 implementation.
16958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16959         file: POWER8 finite ifunc implementation.
16960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16961         Add POWER8 implementation.
16962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16963         Likewise.
16964         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16965         POWER8 finite implementation.
16966         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16968         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16969         power8 implementation.
16970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16971         file: POWER8 isinf ifunc implementation.
16972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16973         POWER8 implementation.
16974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16975         Likewise.
16976         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16977         isinf implementation.
16978         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16980         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16981         (INIT_ARCH): Add hwcap2 initialization.
16982         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16983         power8 implementation.
16984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16985         file: POWER8 isnan ifunc implementation.
16986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16987         POWER8 implementation.
16988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16989         Likewise.
16990         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16991         isnan implementation.
16992         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16994 2014-02-27  Joey Ye  <joey.ye@arm.com>
16996         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16997         (_FP_NANFRAC_Q): Set to zero.
16999 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17001         [BZ #16623]
17002         * math/auto-libm-test-in: New test inputs.
17003         * math/auto-libm-test-out: Regenerate.
17004         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17005         and DA.
17006         (__cos): Likewise.
17007         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17009 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
17011         * scripts/evaluate-test.sh: Take new argument indicating whether
17012         failure is expected.
17013         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17014         indicating whether failure is expected.
17015         * conform/Makefile (test-xfail-run-conformtest): New variable.
17016         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17017         level.
17018         * posix/Makefile (test-xfail-annexc): New variable.
17019         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17021 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
17023         * argp/Makefile: Include Makeconfig immediately after defining
17024         subdir.
17025         * assert/Makefile: Likewise.
17026         * benchtests/Makefile: Likewise.
17027         * catgets/Makefile: Likewise.
17028         * conform/Makefile: Likewise.
17029         * crypt/Makefile: Likewise.
17030         * csu/Makefile: Likewise.
17031         (all): Remove target.
17032         * ctype/Makefile: Include Makeconfig immediately after defining
17033         subdir.
17034         * debug/Makefile: Likewise.
17035         * dirent/Makefile: Likewise.
17036         * dlfcn/Makefile: Likewise.
17037         * gmon/Makefile: Likewise.
17038         * gnulib/Makefile: Likewise.
17039         * grp/Makefile: Likewise.
17040         * gshadow/Makefile: Likewise.
17041         * hesiod/Makefile: Likewise.
17042         * hurd/Makefile: Likewise.
17043         (all): Remove target.
17044         * iconvdata/Makefile: Include Makeconfig immediately after
17045         defining subdir.
17046         * inet/Makefile: Likewise.
17047         * intl/Makefile: Likewise.
17048         * io/Makefile: Likewise.
17049         * libio/Makefile: Likewise.
17050         (all): Remove target.
17051         * locale/Makefile: Include Makeconfig immediately after defining
17052         subdir.
17053         * login/Makefile: Likewise.
17054         * mach/Makefile: Likewise.
17055         (all): Remove target.
17056         * malloc/Makefile: Include Makeconfig immediately after defining
17057         subdir.
17058         (all): Remove target.
17059         * manual/Makefile: Include Makeconfig immediately after defining
17060         subdir.
17061         * math/Makefile: Likewise.
17062         * misc/Makefile: Likewise.
17063         * nis/Makefile: Likewise.
17064         * nss/Makefile: Likewise.
17065         * po/Makefile: Likewise.
17066         (all): Remove target.
17067         * posix/Makefile: Include Makeconfig immediately after defining
17068         subdir.
17069         * pwd/Makefile: Likewise.
17070         * resolv/Makefile: Likewise.
17071         * resource/Makefile: Likewise.
17072         * rt/Makefile: Likewise.
17073         * setjmp/Makefile: Likewise.
17074         * shadow/Makefile: Likewise.
17075         * signal/Makefile: Likewise.
17076         * socket/Makefile: Likewise.
17077         * soft-fp/Makefile: Likewise.
17078         * stdio-common/Makefile: Likewise.
17079         * stdlib/Makefile: Likewise.
17080         * streams/Makefile: Likewise.
17081         * string/Makefile: Likewise.
17082         * sunrpc/Makefile: Likewise.
17083         (all): Remove target.
17084         * sysvipc/Makefile: Include Makeconfig immediately after defining
17085         subdir.
17086         * termios/Makefile: Likewise.
17087         * time/Makefile: Likewise.
17088         * timezone/Makefile: Likewise.
17089         (all): Remove target.
17090         * wcsmbs/Makefile: Include Makeconfig immediately after defining
17091         subdir.
17092         * wctype/Makefile: Likewise.
17094 2014-02-26  Steve Ellcey  <sellcey@mips.com>
17096         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17097         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17098         (libc_feholdexcept_setround_mips): Ditto.
17099         (libc_feholdsetround): New.
17100         (libc_feholdsetroundf): New.
17101         (libc_feholdsetroundl): New.
17102         (libc_feupdateenv_test_mips): New.
17103         (libc_feupdateenv_test): New.
17104         (libc_feupdateenv_testf): New.
17105         (libc_feupdateenv_testl): New.
17106         (libc_feresetround): New.
17107         (libc_feresetroundf): New.
17108         (libc_feresetroundl): New.
17109         (libc_fetestexcept_mips): New.
17110         (libc_fetestexcept): New.
17111         (libc_fetestexceptf): New.
17112         (libc_fetestexceptl): New.
17113         (HAVE_RM_CTX): New.
17114         (libc_feholdexcept_setround_mips_ctx): New.
17115         (libc_feholdexcept_setround_ctx): New.
17116         (libc_feholdexcept_setroundf_ctx): New.
17117         (libc_feholdexcept_setroundl_ctx): New.
17118         (libc_fesetenv_mips_ctx): New.
17119         (libc_fesetenv_ctx): New.
17120         (libc_fesetenv_ctxf): New.
17121         (libc_fesetenv_ctxl): New.
17122         (libc_feupdateenv_mips_ctx): New.
17123         (libc_feupdateenv_ctx): New.
17124         (libc_feupdateenvf_ctx): New.
17125         (libc_feupdateenvl_ctx): New.
17126         (libc_feholdsetround_mips_ctx): New.
17127         (libc_feholdsetround_ctx): New.
17128         (libc_feholdsetroundf_ctx): New.
17129         (libc_feholdsetroundl_ctx): New.
17130         (libc_feresetround_mips_ctx): New.
17131         (libc_feresetround_ctx): New.
17132         (libc_feresetroundf_ctx): New.
17133         (libc_feresetroundl_ctx): New.
17135 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
17137         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17139         * manual/ipc.texi: New file.
17140         * manual/Makefile (chapters): Add ipc.
17141         * manual/job.texi: Add "Inter-Process Communication" to next.
17142         * manual/process.texi: Add "Inter-Process Communication" to prev.
17144 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17148 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
17150         * malloc/malloc.c (__libc_calloc): Simplify implementation.
17152         * manual/arith.texi: Fix spaces after sentences.
17153         * manual/charset.texi: Likewise.
17154         * manual/errno.texi: Likewise.
17155         * manual/install.texi: Likewise.
17156         * manual/llio.texi: Likewise.
17157         * manual/locale.texi: Likewise.
17158         * manual/maint.texi: Likewise.
17159         * manual/math.texi: Likewise.
17160         * manual/memory.texi: Likewise.
17161         * manual/message.texi: Likewise.
17162         * manual/probes.texi: Likewise.
17163         * manual/resource.texi: Likewise.
17164         * manual/signal.texi: Likewise.
17165         * manual/socket.texi: Likewise.
17166         * manual/stdio.texi: Likewise.
17167         * manual/string.texi: Likewise.
17168         * manual/time.texi: Likewise.
17169         * manual/users.texi: Likewise.
17171 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
17173         [BZ #16632]
17174         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17175         _DEFAULT_SOURCE is defined.
17177 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
17178             Carlos O'Donell  <carlos@redhat.com>
17180         [BZ #16613]
17181         * elf/dl-tls.c (_dl_count_modids): New function.
17182         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17183         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17184         audit library and increment generation counter.
17185         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17186         * elf/tst-audit9.c: New file.
17187         * elf/tst-auditmod9a.c: New file.
17188         * elf/tst-auditmod9b.c: New file.
17189         * elf/Makefile: Add rules to build and run tst-audit9.
17191 2014-02-25  Florian Weimer  <fweimer@redhat.com>
17193         [BZ #15347]
17194         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17196 2014-02-25  Will Newton  <will.newton@linaro.org>
17198         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17199         (__longjmp): Restore sp and lr before restoring callee
17200         saved registers.  Add longjmp and longjmp_target
17201         SystemTap probe point.
17202         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17203         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17204         Define to zero to match jmpbuf layout.
17205         * sysdeps/arm/setjmp.S: Include stap-probe.h.
17206         (__sigsetjmp): Save sp and lr before saving callee
17207         saved registers.  Add setjmp SystemTap probe point.
17209 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17211         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17213 2014-02-24  Andreas Schwab  <schwab@suse.de>
17215         [BZ #15804]
17216         * elf/pldd.c (wait_for_ptrace_stop): New function.
17217         (main): Call it after attaching.
17219 2014-02-22  Roland McGrath  <roland@hack.frob.com>
17221         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17222         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17223         Versions files is now verboten.
17224         * hurd/Versions (libc: GLIBC_2.0):
17225         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17226         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17227         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17228         * mach/Versions: Likewise.
17230         * csu/Versions: Remove unused %include.
17231         * resolv/Versions: Likewise.
17233 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
17235         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17236         ($(objpfx)check-local-headers.out): Likewise.
17237         ($(objpfx)begin-end-check.out): Likewise.
17238         * Makerules (check-abi-%.out): Likewise.
17239         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17240         ($(objpfx)test2.cat): Likewise.
17241         ($(objpfx)de/libc.cat): Likewise.
17242         ($(objpfx)test-gencat.out): Likewise.
17243         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17244         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17245         ($(objpfx)noload-mem): Likewise.
17246         ($(objpfx)tst-pathopt.out): Likewise.
17247         ($(objpfx)tst-rtld-load-self.out): Likewise.
17248         ($(objpfx)tst-array1-cmp.out): Likewise.
17249         ($(objpfx)tst-array1-static-cmp.out): Likewise.
17250         ($(objpfx)tst-array2-cmp.out): Likewise.
17251         ($(objpfx)tst-array3-cmp.out): Likewise.
17252         ($(objpfx)tst-array4-cmp.out): Likewise.
17253         ($(objpfx)tst-array5-cmp.out): Likewise.
17254         ($(objpfx)tst-array5-static-cmp.out): Likewise.
17255         ($(objpfx)check-textrel.out): Likewise.
17256         ($(objpfx)check-execstack.out): Likewise.
17257         ($(objpfx)check-localplt.out): Likewise.
17258         ($(objpfx)order2-cmp.out): Likewise.
17259         ($(objpfx)tst-leaks1-mem): Likewise.
17260         ($(objpfx)tst-leaks1-static-mem): Likewise.
17261         ($(objpfx)tst-initorder-cmp.out): Likewise.
17262         ($(objpfx)tst-initorder2-cmp.out): Likewise.
17263         ($(objpfx)tst-unused-dep.out): Likewise.
17264         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17265         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17266         * iconv/Makefile (test-iconvconfig): Likewise.
17267         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17268         ($(objpfx)iconv-test.out): Likewise.
17269         ($(objpfx)tst-tables.out): Likewise.
17270         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17271         ($(objpfx)tst-gettext.out): Likewise.
17272         ($(objpfx)tst-translit.out): Likewise.
17273         ($(objpfx)tst-gettext2.out): Likewise.
17274         ($(objpfx)tst-gettext4.out): Likewise.
17275         ($(objpfx)tst-gettext6.out): Likewise.
17276         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17277         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17278         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17279         ($(objpfx)tst-fopenloc-mem.out): Likewise.
17280         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17281         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17282         * posix/Makefile ($(objpfx)globtest.out): Likewise.
17283         ($(objpfx)wordexp-tst.out): Likewise.
17284         ($(objpfx)annexc.out): Likewise.
17285         ($(objpfx)tst-fnmatch-mem): Likewise.
17286         ($(objpfx)bug-regex2-mem): Likewise.
17287         ($(objpfx)bug-regex14-mem): Likewise.
17288         ($(objpfx)bug-regex21-mem): Likewise.
17289         ($(objpfx)bug-regex31-mem): Likewise.
17290         ($(objpfx)tst-vfork3-mem): Likewise.
17291         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17292         ($(objpfx)tst-pcre-mem): Likewise.
17293         ($(objpfx)tst-boost-mem): Likewise.
17294         ($(objpfx)tst-getconf.out): Likewise.
17295         ($(objpfx)bug-ga2-mem): Likewise.
17296         ($(objpfx)bug-glob2-mem): Likewise.
17297         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17298         ($(objpfx)mtrace-tst-leaks2): Likewise.
17299         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17300         ($(objpfx)tst-printf.out): Likewise.
17301         ($(objpfx)tst-setvbuf1.out): Likewise.
17302         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17303         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17304         ($(objpfx)tst-fmtmsg.out): Likewise.
17305         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17306         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17308         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17309         * bits/sigaction.h [__USE_MISC]: Likewise.
17310         * bits/waitstatus.h: Update #endif comments.
17311         * ctype/ctype.h: Likewise.
17312         * dirent/dirent.h: Likewise.
17313         [__USE_MISC]: Remove redundant conditionals.
17314         * grp/grp.h: Update #endif comments.
17315         [__USE_GNU]: Remove redundant conditionals.
17316         [__USE_MISC]: Likewise.
17317         * inet/netinet/in.h [__USE_GNU]: Likewise.
17318         * io/sys/stat.h [__USE_MISC]: Likewise.
17319         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17320         * libio/bits/stdio.h: Update #endif comments.
17321         [__USE_MISC]: Remove redundant conditionals.
17322         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17323         * libio/stdio.h: Update #endif comments.
17324         [__USE_MISC]: Remove redundant conditionals.
17325         * math/bits/math-finite.h [__USE_MISC]: Likewise.
17326         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17327         * math/math.h: Update #else and #endif comments.
17328         [__USE_MISC]: Remove redundant conditionals.
17329         * misc/sys/uio.h: Update #endif comments.
17330         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17331         * posix/glob.h [__USE_MISC]: Likewise.
17332         * posix/sys/types.h: Update #endif comments.
17333         [__USE_MISC]: Remove redundant conditionals.
17334         * posix/sys/wait.h: Update #endif comments.
17335         [__USE_MISC]: Remove redundant conditionals.
17336         * posix/unistd.h: Update #endif comments.
17337         [__USE_MISC]: Remove redundant conditionals.
17338         * pwd/pwd.h [__USE_GNU]: Likewise.
17339         [__USE_MISC]: Likewise.
17340         * resolv/netdb.h [__USE_GNU]: Likewise.
17341         * signal/signal.h: Update #endif comments.
17342         [__USE_MISC]: Remove redundant conditionals.
17343         * stdlib/stdlib.h: Update #else and #endif comments.
17344         [__USE_MISC]: Remove redundant conditionals.
17345         [__USE_GNU]: Likewise.
17346         * string/bits/string2.h [__USE_MISC]: Likewise.
17347         * string/string.h: Update #endif comments.
17348         [__USE_MISC]: Remove redundant conditionals.
17349         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17350         Likewise.
17351         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17352         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17353         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17354         Likewise.
17355         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17356         Likewise.
17357         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17358         comments.
17359         [__USE_MISC]: Remove redundant conditionals.
17360         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17361         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17362         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17363         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17364         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17365         Likewise.
17366         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17367         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17368         Likewise.
17369         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17370         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17371         Likewise.
17372         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17373         Likewise.
17374         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17375         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17376         Likewise.
17377         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17378         Likewise.
17379         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17380         * sysdeps/x86/bits/string.h: Update #endif comments.
17381         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17382         conditionals.
17383         * time/sys/time.h: Update #endif comments.
17384         * time/time.h: Likewise.
17385         [__USE_MISC]: Remove redundant conditionals.
17387 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
17389         [BZ #16600]
17390         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17392 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
17394         * Versions.def (librt): Add GLIBC_2.17.
17396 2014-02-21  Adam Conrad  <adconrad@0c3.net>
17398         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17399         synonym for _SYS_AUXV_H to allow direct inclusion.
17400         * sysdeps/sparc/bits/hwcap.h: Likewise.
17401         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17402         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17403         * sysdeps/sparc/sysdep.h: Likewise.
17405 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17407         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17409 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17411         * benchtests/bench-strrchr.c: Print length instead of position.
17413 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
17415         [BZ #16611]
17416         * sysdeps/unix/sysv/linux/kernel-features.h
17417         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17418         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17419         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17420         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17421         Likewise.
17422         [__i386__ || __powerpc__ || __sh__ || __sparc__]
17423         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17424         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17425         (__ASSUME_SENDMMSG): Define instead of using previous
17426         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17427         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17428         (__ASSUME_SENDMMSG_SYSCALL): Define.
17429         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17430         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17431         Likewise.
17432         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17433         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17434         Likewise.
17435         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17436         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17437         Likewise.
17438         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17439         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17440         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17441         [__ASSUME_SENDMMSG]: Change conditionals to
17442         [__ASSUME_SENDMMSG_SOCKETCALL].
17443         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17444         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17445         Define.
17446         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17447         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17448         Likewise.
17449         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17450         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17451         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17452         [!__ASSUME_SENDMMSG]: Change conditional to
17453         [!__ASSUME_SENDMMSG_SOCKETCALL].
17454         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17455         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17456         Define.
17458         [BZ #16610]
17459         * sysdeps/unix/sysv/linux/kernel-features.h
17460         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17461         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17462         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17463         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17464         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17465         [__i386__ || __sparc__]
17466         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17467         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17468         (__ASSUME_RECVMMSG): Define instead of using previous
17469         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17470         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17471         (__ASSUME_RECVMMSG_SYSCALL): Define.
17472         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17473         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17474         Likewise.
17475         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17476         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17477         Likewise.
17478         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17479         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17480         Likewise.
17481         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17482         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17483         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17484         [__ASSUME_RECVMMSG]: Change condition to
17485         [__ASSUME_RECVMMSG_SOCKETCALL].
17486         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17487         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17488         Define.
17489         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17490         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17491         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17492         Likewise.
17493         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17494         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17495         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17496         [!__ASSUME_RECVMMSG]: Change condition to
17497         [!__ASSUME_RECVMMSG_SOCKETCALL].
17498         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17499         (__ASSUME_RECVMMSG_SYSCALL): Define.
17501         [BZ #16609]
17502         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17503         __powerpc__ || __s390__ || __sh__ || __sparc__]
17504         (__ASSUME_SOCKETCALL): Define.
17505         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17506         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17507         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17508         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17509         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17510         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17511         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17512         (__ASSUME_ACCEPT4): Define instead of using previous
17513         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17514         __powerpc__ || __sparc__ || __s390__)] condition.
17515         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17516         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17517         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17518         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17519         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17520         [!__ASSUME_ACCEPT4]: Change condition to
17521         [!__ASSUME_ACCEPT4_SOCKETCALL].
17522         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17523         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
17524         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17525         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17526         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17527         __ASSUME_ACCEPT4_SYSCALL.
17528         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17529         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17530         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17531         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17532         __ASSUME_ACCEPT4_SYSCALL.
17533         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17534         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17535         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17536         [__ASSUME_ACCEPT4]: Change condition to
17537         [__ASSUME_ACCEPT4_SOCKETCALL].
17538         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17539         (__ASSUME_SOCKETCALL): Define.
17540         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17541         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17542         (__ASSUME_SOCKETCALL): Define.
17543         (__ASSUME_ACCEPT4): Remove.
17544         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17545         Define.
17546         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17547         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17548         Likewise.
17549         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17550         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17552         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17553         macro.
17554         (HWCAP_ARM_LPAE): Likewise.
17555         (HWCAP_ARM_EVTSTRM): Likewise.
17556         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17557         Add vpfd32, lpae and evtstrm.
17558         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17559         Increase to 22.
17561 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
17563         * math/auto-libm-test-in: Add tests of clog10.
17564         * math/auto-libm-test-out: Regenerated.
17565         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17566         * sysdeps/i386/fpu/libm-test-ulps: Update.
17567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17569 2014-02-18  Andreas Schwab  <schwab@suse.de>
17571         [BZ #16574]
17572         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17573         Store non-zero if the second buffer was newly allocated.
17574         (send_dg): Likewise.
17575         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17576         to send_vc and send_dg.
17577         (res_nsend): Pass NULL for ansp2_malloced.
17578         * resolv/res_query.c (__libc_res_nquery): Add parameter
17579         answerp2_malloced and pass it down to __libc_res_nsend.
17580         (res_nquery): Pass additional NULL to __libc_res_nquery.
17581         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17582         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
17583         second answer buffer if answerp2_malloced was set.
17584         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17585         (__libc_res_nquerydomain): Add parameter
17586         answerp2_malloced and pass it down to __libc_res_nquery.
17587         (res_nquerydomain): Pass additional NULL to
17588         __libc_res_nquerydomain.
17589         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17590         additional NULL to __libc_res_nsend and __libc_res_nquery.
17591         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17592         additional NULL to __libc_res_nsearch.
17593         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
17594         parameter of __libc_res_nsearch to check for separately allocated
17595         second buffer.
17596         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17597         __libc_res_nquery.
17598         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17599         additional NULL to __libc_res_nquery.
17600         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17601         __libc_res_nsearch.
17602         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17603         * include/resolv.h: Update prototypes of __libc_res_nquery,
17604         __libc_res_nsearch, __libc_res_nsend.
17606 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
17608         * math/auto-libm-test-in: Add tests of fma.
17609         * math/auto-libm-test-out: Regenerated.
17610         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17611         (fma_towardzero_test_data): Likewise.
17612         (fma_downward_test_data): Likewise.
17613         (fma_upward_test_data): Likewise.
17614         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17615         mpc_mode.
17616         (rounding_modes): Add values for new field.
17617         (func_calc_method): Add value mpfr_fff_f.
17618         (func_calc_desc): Add mpfr_fff_f union field.
17619         (test_function): Add field exact_args.
17620         (FUNC): Add macro argument EXACT_ARGS.
17621         (FUNC_mpfr_f_f): Update call to FUNC.
17622         (FUNC_mpfr_f_f): Likewise.
17623         (FUNC_mpfr_ff_f): Likewise.
17624         (FUNC_mpfr_if_f): Likewise.
17625         (FUNC_mpc_c_f): Likewise.
17626         (FUNC_mpc_c_c): Likewise.
17627         (test_functions): Add fma.  Update calls to FUNC.
17628         (handle_input_arg): Add argument exact_args.
17629         (add_test): Update call to handle_input_arg.
17630         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
17631         (output_for_one_input_case): Update call to calc_generic_results.
17632         Recalculate exact zero results in each rounding mode.
17634         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17635         non-negative before setting low bit.
17636         * math/auto-libm-test-in: Mark one asin test possibly having
17637         spurious underflow.
17638         * math/auto-libm-test-out: Regenerated.
17639         * sysdeps/i386/fpu/libm-test-ulps: Update.
17640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17642 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
17644         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17645         * sysdeps/unix/sysv/linux/microblaze: Move directory from
17646         ports/sysdeps/unix/sysv/linux/microblaze.
17647         * README: Add missing listing for microblaze*-*-linux-gnu.
17649 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
17651         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17652         duplicate code
17654 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
17656         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17657         * sysdeps/unix/sysv/linux/ia64: Move directory from
17658         ports/sysdeps/unix/sysv/linux/ia64.
17659         * README: Update listing for ia64-*-linux-gnu.
17661 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
17662             Joseph Myers  <joseph@codesourcery.com>
17664         * Makeconfig (test-name): New variable.
17665         (evaluate-test): Likewise.
17666         * Makerules (do-test-clean): Remove .test-result files.
17667         (common-mostlyclean): Likewise.
17668         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17669         * scripts/evaluate-test.sh: New file.
17671 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
17673         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17674         separate $(objpfx)tst-fopenloc-cmp.out and
17675         $(objpfx)tst-fopenloc-mem.out targets.
17676         (tests): Update dependencies.
17677         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17678         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17679         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17680         (tst-rxspencer-no-utf8-ARGS): New variable.
17681         (tst-rxspencer-no-utf8-ENV): Likewise.
17682         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17683         instead of $(objpfx)tst-rxspencer-mem.
17684         ($(objpfx)tst-rxspencer-mem): Change target to
17685         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
17686         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17687         * posix/tst-rxspencer-no-utf8.c: New file.
17689         * elf/Makefile ($(objpfx)order.out): Remove rule.
17690         [$(run-built-tests) = yes] (tests): Depend on
17691         $(objpfx)order-cmp.out.
17692         ($(objpfx)order-cmp.out): New rule.
17693         [$(run-built-tests) = yes] (tests): Depend on
17694         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17695         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17696         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17697         $(objpfx)tst-array5-static-cmp.out.
17698         ($(objpfx)tst-array1.out): Remove rule.
17699         ($(objpfx)tst-array1-cmp.out): New rule.
17700         ($(objpfx)tst-array1-static.out): Remove rule.
17701         ($(objpfx)tst-array1-static-cmp.out): New rule.
17702         ($(objpfx)tst-array2.out): Remove rule.
17703         ($(objpfx)tst-array2-cmp.out): New rule.
17704         ($(objpfx)tst-array3.out): Remove rule.
17705         ($(objpfx)tst-array3-cmp.out): New rule.
17706         ($(objpfx)tst-array4.out): Remove rule.
17707         ($(objpfx)tst-array4-cmp.out): New rule.
17708         ($(objpfx)tst-array5.out): Remove rule.
17709         ($(objpfx)tst-array5-cmp.out): New rule.
17710         ($(objpfx)tst-array5-static.out): Remove rule.
17711         ($(objpfx)tst-array5-static-cmp.out): New rule.
17712         [$(run-built-tests) = yes] (tests): Depend on
17713         $(objpfx)order2-cmp.out.
17714         ($(objpfx)order2.out): Remove rule.
17715         ($(objpfx)order2-cmp.out): New rule.
17716         ($(objpfx)tst-initorder.out): Remove rule.
17717         [$(run-built-tests) = yes] (tests): Depend on
17718         $(objpfx)tst-initorder-cmp.out.
17719         ($(objpfx)tst-initorder-cmp.out): New rule.
17720         ($(objpfx)tst-initorder2.out): Remove rule.
17721         [$(run-built-tests) = yes] (tests): Depend on
17722         $(objpfx)tst-initorder2-cmp.out.
17723         ($(objpfx)tst-initorder2-cmp.out): New rule.
17724         [$(run-built-tests) = yes] (tests): Depend on
17725         $(objpfx)tst-unused-dep-cmp.out.
17726         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17727         ($(objpfx)tst-unused-dep-cmp.out): New rule.
17728         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17729         on $(objpfx)tst-setvbuf1-cmp.out.
17730         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17731         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17732         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17733         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17734         ($(objpfx)tst-svc.out): Remove rule.
17735         ($(objpfx)tst-svc-cmp.out): New rule.
17737 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
17739         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17740         * ctype/ctype.h [__USE_MISC]: Likewise.
17741         * dirent/dirent.h [__USE_MISC]: Likewise.
17742         * grp/grp.h [__USE_MISC]: Likewise.
17743         * io/fcntl.h [__USE_MISC]: Likewise.
17744         * io/sys/stat.h [__USE_MISC]: Likewise.
17745         * libio/stdio.h [__USE_MISC]: Likewise.
17746         * posix/unistd.h [__USE_MISC]: Likewise.
17747         * pwd/pwd.h [__USE_MISC]: Likewise.
17748         * stdlib.h [__USE_MISC]: Likewise.
17749         * string/bits/string2.h [__USE_MISC]: Likewise.
17750         * string/string.h [__USE_MISC]: Likewise.
17751         * time/time.h [__USE_MISC]: Likewise.
17753 2014-02-13  Andreas Schwab  <schwab@suse.de>
17755         [BZ #16574]
17756         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17757         second answer buffer if it was separately allocated.
17759 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
17761         * sysdeps/mips/math-tests.h: Include <features.h>.
17762         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17763         (ROUNDING_TESTS_long_double): Do not define.
17764         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17765         (EXCEPTION_TESTS_long_double): Likewise.
17766         * sysdeps/mips/mips64/libm-test-ulps: Update.
17768         * include/features.h (__USE_BSD): Remove macro definitions.
17769         (__USE_SVID): Likewise.
17770         (_BSD_SOURCE): Likewise.
17771         (_SVID_SOURCE): Likewise.
17772         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17773         from definition of _DEFAULT_SOURCE.
17774         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17775         [_DEFAULT_SOURCE].
17776         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17777         * bits/mman.h [__USE_BSD]: Likewise.
17778         * bits/termios.h [__USE_BSD]: Likewise.
17779         * bits/waitstatus.h [__USE_BSD]: Likewise.
17780         * ctype/ctype.h [__USE_SVID]: Likewise.
17781         * dirent/dirent.h [__USE_BSD]: Likewise.
17782         * grp/grp.h [__USE_SVID]: Likewise.
17783         [__USE_BSD]: Likewise.
17784         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17785         * io/fcntl.h [__USE_BSD]: Likewise.
17786         * io/ftw.h [__USE_BSD]: Likewise.
17787         * io/sys/stat.h [__USE_BSD]: Likewise.
17788         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17789         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17790         * libio/stdio.h [__USE_SVID]: Likewise.
17791         [__USE_BSD]: Likewise.
17792         * math/math.h [__USE_SVID]: Likewise.
17793         [__USE_BSD]: Likewise.
17794         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17795         * misc/bits/syslog.h [__USE_BSD]: Likewise.
17796         * misc/search.h [__USE_SVID]: Likewise.
17797         * misc/sys/mman.h [__USE_BSD]: Likewise.
17798         * misc/sys/syslog.h [__USE_BSD]: Likewise.
17799         * misc/sys/uio.h [__USE_BSD]: Likewise.
17800         * posix/bits/unistd.h [__USE_BSD]: Likewise.
17801         * posix/glob.h [__USE_BSD]: Likewise.
17802         * posix/regex.h [__USE_BSD]: Likewise.
17803         * posix/sys/types.h [__USE_BSD]: Likewise.
17804         [__USE_SVID]: Likewise.
17805         * posix/sys/utsname.h [__USE_SVID]: Likewise.
17806         * posix/sys/wait.h [__USE_BSD]: Likewise.
17807         [__USE_SVID]: Likewise.
17808         * posix/unistd.h [__USE_BSD]: Likewise.
17809         [__USE_SVID]: Likewise.
17810         * pwd/pwd.h [__USE_SVID]: Likewise.
17811         * resolv/netdb.h [__USE_BSD]: Likewise.
17812         * setjmp/setjmp.h [__USE_BSD]: Likewise.
17813         * signal/signal.h [__USE_BSD]: Likewise.
17814         [__USE_SVID]: Likewise.
17815         * socket/sys/socket.h [__USE_BSD]: Likewise.
17816         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17817         * stdlib/stdlib.h [__USE_BSD]: Likewise.
17818         [__USE_SVID]: Likewise.
17819         * string/bits/string2.h [__USE_BSD]: Likewise.
17820         [__USE_SVID]: Likewise.
17821         * string/bits/string3.h [__USE_BSD]: Likewise.
17822         * string/endian.h [__USE_BSD]: Likewise.
17823         * string/string.h [__USE_SVID]: Likewise.
17824         [__USE_BSD]: Likewise.
17825         * string/strings.h [__USE_BSD]: Likewise.
17826         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17827         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17828         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17829         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17830         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17831         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17832         Likewise.
17833         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17834         Likewise.
17835         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17836         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17837         Likewise.
17838         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17839         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17840         Likewise.
17841         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17842         Likewise.
17843         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17844         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17845         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17846         Likewise.
17847         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17848         Likewise.
17849         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17850         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17851         * termios/termios.h [__USE_BSD]: Likewise.
17852         * time/sys/time.h [__USE_BSD]: Likewise.
17853         * time/time.h [__USE_BSD]: Likewise.
17854         [__USE_SVID]: Likewise.
17856         * Makefile (subdir_targets): Remove subdir_lint.out.
17858         * stdio-common/Makefile (do-tst-unbputc): Remove target.
17859         (do-tst-printf): Likewise.
17860         (tests): Depend directly on $(objpfx)tst-unbputc.out and
17861         $(objpfx)tst-printf.out.
17863         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17865         * Makerules (check-abi-%): Change target to
17866         $(objpfx)check-abi-%.out.
17867         (check-abi target): Update dependencies.
17868         (check-abi-pattern variable): Redirect output of diff to $@.
17869         (check-abi variable): Likewise.
17870         * elf/Makefile (check-abi): Update dependencies.
17872         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17873         unused.
17874         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17875         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17876         subnormal range.
17877         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17878         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17879         value has largest subnormal exponent.
17880         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17881         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17882         * sysdeps/aarch64/soft-fp/sfp-machine.h
17883         (_FP_TININESS_AFTER_ROUNDING): New macro.
17884         * sysdeps/alpha/soft-fp/sfp-machine.h
17885         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17886         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17887         Likewise.
17888         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17889         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17890         * sysdeps/mips/soft-fp/sfp-machine.h
17891         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17892         * sysdeps/powerpc/soft-fp/sfp-machine.h
17893         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17894         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17895         Likewise.
17896         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17897         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17898         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17899         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17900         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17901         Likewise.
17903 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
17905         [BZ #16545]
17906         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17907         model 1.
17909 2014-02-12  Richard Henderson  <rth@redhat.com>
17911         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17912         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17913         * sysdeps/unix/sysv/linux/alpha: Move directory from
17914         ports/sysdeps/unix/sysv/linux/alpha.
17915         * README: Update listing for alpha-*-linux-gnu.
17917 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
17919         * include/features.h: Update comment documenting feature test
17920         macros.
17921         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
17922         _DEFAULT_SOURCE.
17923         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17924         (_SVID_SOURCE): Likewise.
17925         (_DEFAULT_SOURCE): Update description of default features.
17926         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17927         with _GNU_SOURCE.
17928         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17929         (S_ISVTX): Likewise.
17930         * manual/math.texi (Mathematical Constants): Likewise.
17931         * manual/signal.texi (Interrupted Primitives): Likewise.
17932         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17933         * math/test-matherr.c (_SVID_SOURCE): Do not define.
17934         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17935         Don't refer to _SVID_SOURCE in warning text.
17937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17939         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17940         already defined.
17941         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17942         * sysdeps/mips/dl-lookup.c: Remove.
17943         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17945 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17947         [BZ #16447]
17948         * math/auto-libm-test-in: Add testcase for expl.
17949         * math/auto-libm-test-out: Regenerate.
17950         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17951         calculation of unsafe.
17952         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17954 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17956         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17957         * sysdeps/unix/sysv/linux/aarch64: Move directory from
17958         ports/sysdeps/unix/sysv/linux/aarch64.
17959         * README: Update listing for aarch64*-*-linux-gnu.
17961 2014-02-11  Will Newton  <will.newton@linaro.org>
17963         * manual/probes.texi (Mathematical Function Probes): Use
17964         "triggered" instead of "hit".
17966         * manual/probes.texi (Internal Probes): Add documentation
17967         of setjmp, longjmp and longjmp_target probes.
17969         * include/stap-probe.h: Add comment about probe argument
17970         format.
17972         * malloc/mtrace.c (attribute_hidden): Remove unused macro
17973         definition.  (tr_where, tr_freehook, tr_mallochook,
17974         tr_reallochook, tr_memalignhook): Use ANSI protoype.
17976 2014-02-11  David S. Miller  <davem@davemloft.net>
17978         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17979         processing int_tests.
17981 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17983         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17984         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17985         * sysdeps/unix/sysv/linux/mips: Move directory from
17986         ports/sysdeps/unix/sysv/linux/mips.
17987         * README: Update listing for mips-*-linux-gnu and
17988         mips64-*-linux-gnu.
17990 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
17992         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17993         * sysdeps/unix/sysv/linux/m68k: Move directory from
17994         ports/sysdeps/unix/sysv/linux/m68k.
17995         * README: Update listing for m68k-*-linux-gnu.
17997 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
17999         * sysdeps/tile: Move directory from ports/sysdeps/tile.
18000         * sysdeps/unix/sysv/linux/generic: Move directory from
18001         ports/sysdeps/unix/sysv/linux/generic.
18002         * sysdeps/unix/sysv/linux/tile: Move directory from
18003         ports/sysdeps/unix/sysv/linux/tile.
18004         * README: Update listing for tile*-*-linux-gnu.
18006 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
18008         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18009         __builtin_expect.
18010         * benchtests/bench-memmem.c (simple_memmem): Likewise.
18011         * catgets/open_catalog.c (__open_catalog): Likewise.
18012         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18013         * debug/confstr_chk.c: Likewise.
18014         * debug/fread_chk.c (__fread_chk): Likewise.
18015         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18016         * debug/getgroups_chk.c: Likewise.
18017         * debug/mbsnrtowcs_chk.c: Likewise.
18018         * debug/mbsrtowcs_chk.c: Likewise.
18019         * debug/mbstowcs_chk.c: Likewise.
18020         * debug/memcpy_chk.c: Likewise.
18021         * debug/memmove_chk.c: Likewise.
18022         * debug/mempcpy_chk.c: Likewise.
18023         * debug/memset_chk.c: Likewise.
18024         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18025         * debug/strcat_chk.c (__strcat_chk): Likewise.
18026         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18027         * debug/strncat_chk.c (__strncat_chk): Likewise.
18028         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18029         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18030         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18031         * debug/wcpncpy_chk.c: Likewise.
18032         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18033         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18034         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18035         * debug/wcsncpy_chk.c: Likewise.
18036         * debug/wcsnrtombs_chk.c: Likewise.
18037         * debug/wcsrtombs_chk.c: Likewise.
18038         * debug/wcstombs_chk.c: Likewise.
18039         * debug/wmemcpy_chk.c: Likewise.
18040         * debug/wmemmove_chk.c: Likewise.
18041         * debug/wmempcpy_chk.c: Likewise.
18042         * debug/wmemset_chk.c: Likewise.
18043         * dirent/scandirat.c (SCANDIRAT): Likewise.
18044         * dlfcn/dladdr1.c (dladdr1): Likewise.
18045         * dlfcn/dladdr.c (dladdr): Likewise.
18046         * dlfcn/dlclose.c (dlclose_doit): Likewise.
18047         * dlfcn/dlerror.c (__dlerror): Likewise.
18048         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18049         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18050         * dlfcn/dlopen.c (dlopen_doit): Likewise.
18051         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18052         * dlfcn/dlsym.c (dlsym_doit): Likewise.
18053         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18054         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18055         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18056         Likewise.
18057         * elf/dl-conflict.c: Likewise.
18058         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18059         * elf/dl-dst.h: Likewise.
18060         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18061         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18062         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18063         * elf/dl-init.c (call_init, _dl_init): Likewise.
18064         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18065         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18066         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18067         Likewise.
18068         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18069         Likewise.
18070         * elf/dl-minimal.c (__libc_memalign): Likewise.
18071         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18072         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18073         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18074         * elf/dl-sym.c (do_sym): Likewise.
18075         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18076         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18077         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18078         * elf/dl-writev.h (_dl_writev): Likewise.
18079         * elf/ldconfig.c (search_dir): Likewise.
18080         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18081         (dl_main): Likewise.
18082         * elf/setup-vdso.h (setup_vdso): Likewise.
18083         * grp/compat-initgroups.c (compat_call): Likewise.
18084         * grp/fgetgrent.c (fgetgrent): Likewise.
18085         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18086         * grp/putgrent.c (putgrent): Likewise.
18087         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18088         Likewise.
18089         * hurd/hurdinit.c: Likewise.
18090         * iconvdata/8bit-gap.c (struct): Likewise.
18091         * iconvdata/ansi_x3.110.c : Likewise.
18092         * iconvdata/big5.c : Likewise.
18093         * iconvdata/big5hkscs.c : Likewise.
18094         * iconvdata/cp1255.c: Likewise.
18095         * iconvdata/cp1258.c : Likewise.
18096         * iconvdata/cp932.c : Likewise.
18097         * iconvdata/euc-cn.c: Likewise.
18098         * iconvdata/euc-jisx0213.c : Likewise.
18099         * iconvdata/euc-jp.c: Likewise.
18100         * iconvdata/euc-jp-ms.c : Likewise.
18101         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18102         * iconvdata/gb18030.c : Likewise.
18103         * iconvdata/gbbig5.c (const): Likewise.
18104         * iconvdata/gbgbk.c: Likewise.
18105         * iconvdata/gbk.c : Likewise.
18106         * iconvdata/ibm1364.c : Likewise.
18107         * iconvdata/ibm930.c : Likewise.
18108         * iconvdata/ibm932.c: Likewise.
18109         * iconvdata/ibm933.c : Likewise.
18110         * iconvdata/ibm935.c : Likewise.
18111         * iconvdata/ibm937.c : Likewise.
18112         * iconvdata/ibm939.c : Likewise.
18113         * iconvdata/ibm943.c: Likewise.
18114         * iconvdata/iso_11548-1.c: Likewise.
18115         * iconvdata/iso-2022-cn.c : Likewise.
18116         * iconvdata/iso-2022-cn-ext.c : Likewise.
18117         * iconvdata/iso-2022-jp-3.c: Likewise.
18118         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18119         * iconvdata/iso-2022-kr.c : Likewise.
18120         * iconvdata/iso646.c (gconv_end): Likewise.
18121         * iconvdata/iso_6937-2.c : Likewise.
18122         * iconvdata/iso_6937.c : Likewise.
18123         * iconvdata/iso8859-1.c: Likewise.
18124         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18125         * iconvdata/shift_jisx0213.c : Likewise.
18126         * iconvdata/sjis.c : Likewise.
18127         * iconvdata/t.61.c : Likewise.
18128         * iconvdata/tcvn5712-1.c : Likewise.
18129         * iconvdata/tscii.c: Likewise.
18130         * iconvdata/uhc.c : Likewise.
18131         * iconvdata/unicode.c (gconv_end): Likewise.
18132         * iconvdata/utf-16.c (gconv_end): Likewise.
18133         * iconvdata/utf-32.c (gconv_end): Likewise.
18134         * iconvdata/utf-7.c (base64): Likewise.
18135         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18136         * iconv/gconv_close.c (__gconv_close): Likewise.
18137         * iconv/gconv_open.c (__gconv_open): Likewise.
18138         * iconv/gconv_simple.c (internal_ucs4_loop_single)
18139         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18140         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18141         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18142         (ucs4le_internal_loop_single): Likewise.
18143         * iconv/iconv.c (iconv): Likewise.
18144         * iconv/iconv_close.c: Likewise.
18145         * iconv/loop.c (SINGLE): Likewise.
18146         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18147         * include/atomic.h: Likewise.
18148         * inet/inet6_option.c (option_alloc): Likewise.
18149         * intl/bindtextdom.c (set_binding_values): Likewise.
18150         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18151         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18152         * intl/localealias.c (read_alias_file): Likewise.
18153         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18154         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18155         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18156         * libio/fmemopen.c (fmemopen): Likewise.
18157         * libio/iofgets.c (_IO_fgets): Likewise.
18158         * libio/iofgets_u.c (fgets_unlocked): Likewise.
18159         * libio/iofgetws.c (fgetws): Likewise.
18160         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18161         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18162         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18163         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18164         * locale/findlocale.c (_nl_find_locale): Likewise.
18165         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18166         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18167         Likewise.
18168         * locale/setlocale.c (setlocale): Likewise.
18169         * login/programs/pt_chown.c (main): Likewise.
18170         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18171         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18172         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18173         (mmap, mmap64, mremap, munmap): Likewise.
18174         * math/e_exp2l.c: Likewise.
18175         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18176         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18177         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18178         * math/s_catan.c (__catan): Likewise.
18179         * math/s_catanf.c (__catanf): Likewise.
18180         * math/s_catanh.c (__catanh): Likewise.
18181         * math/s_catanhf.c (__catanhf): Likewise.
18182         * math/s_catanhl.c (__catanhl): Likewise.
18183         * math/s_catanl.c (__catanl): Likewise.
18184         * math/s_ccosh.c (__ccosh): Likewise.
18185         * math/s_ccoshf.c (__ccoshf): Likewise.
18186         * math/s_ccoshl.c (__ccoshl): Likewise.
18187         * math/s_cexp.c (__cexp): Likewise.
18188         * math/s_cexpf.c (__cexpf): Likewise.
18189         * math/s_cexpl.c (__cexpl): Likewise.
18190         * math/s_clog10.c (__clog10): Likewise.
18191         * math/s_clog10f.c (__clog10f): Likewise.
18192         * math/s_clog10l.c (__clog10l): Likewise.
18193         * math/s_clog.c (__clog): Likewise.
18194         * math/s_clogf.c (__clogf): Likewise.
18195         * math/s_clogl.c (__clogl): Likewise.
18196         * math/s_csin.c (__csin): Likewise.
18197         * math/s_csinf.c (__csinf): Likewise.
18198         * math/s_csinh.c (__csinh): Likewise.
18199         * math/s_csinhf.c (__csinhf): Likewise.
18200         * math/s_csinhl.c (__csinhl): Likewise.
18201         * math/s_csinl.c (__csinl): Likewise.
18202         * math/s_csqrt.c (__csqrt): Likewise.
18203         * math/s_csqrtf.c (__csqrtf): Likewise.
18204         * math/s_csqrtl.c (__csqrtl): Likewise.
18205         * math/s_ctan.c (__ctan): Likewise.
18206         * math/s_ctanf.c (__ctanf): Likewise.
18207         * math/s_ctanh.c (__ctanh): Likewise.
18208         * math/s_ctanhf.c (__ctanhf): Likewise.
18209         * math/s_ctanhl.c (__ctanhl): Likewise.
18210         * math/s_ctanl.c (__ctanl): Likewise.
18211         * math/w_pow.c: Likewise.
18212         * math/w_powf.c: Likewise.
18213         * math/w_powl.c: Likewise.
18214         * math/w_scalb.c (sysv_scalb): Likewise.
18215         * math/w_scalbf.c (sysv_scalbf): Likewise.
18216         * math/w_scalbl.c (sysv_scalbl): Likewise.
18217         * misc/error.c (error_tail): Likewise.
18218         * misc/pselect.c (__pselect): Likewise.
18219         * nis/nis_callback.c (__nis_create_callback): Likewise.
18220         * nis/nis_call.c (__nisfind_server): Likewise.
18221         * nis/nis_creategroup.c (nis_creategroup): Likewise.
18222         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18223         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18224         * nis/nis_getservlist.c (nis_getservlist): Likewise.
18225         * nis/nis_lookup.c (nis_lookup): Likewise.
18226         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18227         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18228         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18229         * nis/nis_xdr.c (xdr_endpoint): Likewise.
18230         * nis/nss_compat/compat-grp.c (getgrent_next_file)
18231         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18232         * nis/nss_compat/compat-initgroups.c (add_group)
18233         (internal_getgrent_r): Likewise.
18234         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18235         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18236         * nis/nss_compat/compat-spwd.c (getspent_next_file)
18237         (internal_getspnam_r): Likewise.
18238         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18239         (_nss_nis_getaliasbyname_r): Likewise.
18240         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18241         (_nss_nis_getntohost_r): Likewise.
18242         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18243         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18244         (_nss_nis_getgrgid_r): Likewise.
18245         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18246         (internal_nis_gethostent_r, internal_gethostbyname2_r)
18247         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18248         (_nss_nis_gethostbyname4_r): Likewise.
18249         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18250         (initgroups_netid): Likewise.
18251         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18252         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18253         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18254         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18255         (_nss_nis_getprotobynumber_r): Likewise.
18256         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18257         (_nss_nis_getsecretkey): Likewise.
18258         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18259         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18260         (_nss_nis_getpwuid_r): Likewise.
18261         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18262         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18263         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18264         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18265         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18266         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18267         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18268         Likewise.
18269         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18270         (_nss_nisplus_getntohost_r): Likewise.
18271         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18272         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18273         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18274         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18275         Likewise.
18276         * nis/nss_nisplus/nisplus-initgroups.c
18277         (_nss_nisplus_initgroups_dyn): Likewise.
18278         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18279         (_nss_nisplus_getnetbyaddr_r): Likewise.
18280         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18281         (_nss_nisplus_getprotobynumber_r): Likewise.
18282         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18283         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18284         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18285         Likewise.
18286         * nis/nss_nisplus/nisplus-service.c
18287         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18288         (_nss_nisplus_getservbyport_r): Likewise.
18289         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18290         (_nss_nisplus_getspnam_r): Likewise.
18291         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18292         Likewise.
18293         * nscd/aicache.c (addhstaiX): Likewise.
18294         * nscd/cache.c (cache_search, prune_cache): Likewise.
18295         * nscd/connections.c (register_traced_file, send_ro_fd)
18296         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18297         (main_loop_epoll): Likewise.
18298         * nscd/grpcache.c (addgrbyX): Likewise.
18299         * nscd/hstcache.c (addhstbyX): Likewise.
18300         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18301         * nscd/mem.c (gc, mempool_alloc): Likewise.
18302         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18303         (addinnetgrX): Likewise.
18304         * nscd/nscd-client.h (__nscd_acquire_maplock)
18305         (__nscd_drop_map_ref): Likewise.
18306         * nscd/nscd_getai.c (__nscd_getai): Likewise.
18307         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18308         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18309         Likewise.
18310         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18311         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18312         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18313         (__nscd_get_map_ref): Likewise.
18314         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18315         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18316         Likewise.
18317         * nscd/pwdcache.c (addpwbyX): Likewise.
18318         * nscd/selinux.c (preserve_capabilities): Likewise.
18319         * nscd/servicescache.c (addservbyX): Likewise.
18320         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18321         * posix/fnmatch.c (fnmatch): Likewise.
18322         * posix/getopt.c (_getopt_internal_r): Likewise.
18323         * posix/glob.c (glob, glob_in_dir): Likewise.
18324         * posix/wordexp.c (exec_comm_child): Likewise.
18325         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18326         (getanswer_r, gaih_getanswer_slice): Likewise.
18327         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18328         * resolv/res_init.c: Likewise.
18329         * resolv/res_mkquery.c (res_nmkquery): Likewise.
18330         * resolv/res_query.c (__libc_res_nquery): Likewise.
18331         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18332         Likewise.
18333         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18334         * stdio-common/perror.c (perror): Likewise.
18335         * stdio-common/printf_fp.c (___printf_fp): Likewise.
18336         * stdio-common/tmpnam.c (tmpnam): Likewise.
18337         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18338         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18339         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18340         Likewise.
18341         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18342         * stdlib/putenv.c (putenv): Likewise.
18343         * stdlib/setenv.c (__add_to_environ): Likewise.
18344         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18345         * stdlib/strtol_l.c (INTERNAL): Likewise.
18346         * string/memmem.c (memmem): Likewise.
18347         * string/strerror.c (strerror): Likewise.
18348         * string/strnlen.c (__strnlen): Likewise.
18349         * string/test-memmem.c (simple_memmem): Likewise.
18350         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18351         * sunrpc/pm_getport.c (__get_socket): Likewise.
18352         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18353         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18354         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18355         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18356         Likewise.
18357         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18358         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18359         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18360         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18361         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18362         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18363         Likewise.
18364         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18365         Likewise.
18366         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18367         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18368         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18369         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18370         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18371         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18372         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18373         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18374         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18375         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18376         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18377         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18378         Likewise.
18379         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18380         Likewise.
18381         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18382         Likewise.
18383         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18384         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18385         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18386         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18387         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18388         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18389         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18390         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18391         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18392         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18393         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18394         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18395         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18396         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18398         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18399         Likewise.
18400         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18401         Likewise.
18402         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18403         Likewise.
18404         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18405         Likewise.
18406         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18407         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18408         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18409         Likewise.
18410         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18411         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18412         * sysdeps/posix/opendir.c (__opendirat): Likewise.
18413         * sysdeps/posix/sleep.c: Likewise.
18414         * sysdeps/posix/tempname.c: Likewise.
18415         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18416         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18417         Likewise.
18418         * sysdeps/powerpc/powerpc32/dl-machine.h
18419         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18420         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18421         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18422         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18423         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18424         Likewise.
18425         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18426         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18427         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18428         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18429         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18430         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18431         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18432         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18433         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18434         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18435         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18436         (elf_machine_lazy_rel): Likewise.
18437         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18438         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18439         (elf_machine_lazy_rel): Likewise.
18440         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18441         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18442         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18443         * sysdeps/unix/grantpt.c (grantpt): Likewise.
18444         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18445         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18446         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18447         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18448         Likewise.
18449         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18450         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18451         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18452         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18453         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18454         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18455         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18456         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18457         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18458         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18459         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18460         Likewise.
18461         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18462         (__posix_fallocate64_l64): Likewise.
18463         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18464         (posix_fallocate): Likewise.
18465         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18466         Likewise.
18467         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18468         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18469         (getifaddrs_internal): Likewise.
18470         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18471         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18472         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18473         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18474         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18475         (__posix_fallocate64_l64): Likewise.
18476         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18477         Likewise.
18478         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18479         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18480         (__get_clockfreq): Likewise.
18481         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18482         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18483         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18484         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18485         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18486         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18487         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18488         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18489         Likewise.
18490         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18491         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18492         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18493         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18494         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18495         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18496         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18497         Likewise.
18498         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18499         (posix_fallocate): Likewise.
18500         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18501         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18502         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18503         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18504         (elf_machine_rela, elf_machine_rela_relative)
18505         (elf_machine_lazy_rel): Likewise.
18506         * time/asctime.c (asctime_internal): Likewise.
18507         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18508         * time/tzset.c (__tzset_parse_tz): Likewise.
18509         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18510         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18511         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18512         * wcsmbs/wcsmbsload.h: Likewise.
18514         [BZ #15894]
18515         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18517         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18518         (arena_get2): Remove THREAD_STATS conditionals.
18519         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18520         (__malloc_stats, int): Likewise.
18522 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
18524         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18525         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
18527         * manual/setjmp.texi: Fix typos/grammar errors.
18529         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18530         Only return early when n is <= 0.  Delete unused return statement.
18532         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18533         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18534         * debug/tst-longjmp_chk3.c: New file.
18536         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18537         (test_main): Replace code with set_fortify_handler call.
18538         * debug/test-strcpy_chk.c: Likewise.
18539         * debug/tst-chk1.c: Likewise.
18540         * debug/tst-longjmp_chk.c: Likewise.
18541         * test-skeleton.c: Include fcntl.h & paths.h
18542         (set_fortify_handler): Define.
18544         * debug/tst-longjmp_chk.c: Add header comment and include
18545         ../test-skeleton.c.
18546         (do_test): Mark static.
18547         (TEST_FUNCTION): Define.
18549         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18550         (IP_PMTUDISC_INTERFACE): Likewise.
18551         (IP_MULTICAST_IF): Likewise.
18552         (IP_MULTICAST_TTL): Likewise.
18553         (IP_MULTICAST_LOOP): Likewise.
18554         (IP_ADD_MEMBERSHIP): Likewise.
18555         (IP_DROP_MEMBERSHIP): Likewise.
18556         (IP_UNBLOCK_SOURCE): Likewise.
18557         (IP_BLOCK_SOURCE): Likewise.
18558         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18559         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18560         (IP_MSFILTER): Likewise.
18561         (MCAST_JOIN_GROUP): Likewise.
18562         (MCAST_BLOCK_SOURCE): Likewise.
18563         (MCAST_UNBLOCK_SOURCE): Likewise.
18564         (MCAST_LEAVE_GROUP): Likewise.
18565         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18566         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18567         (MCAST_MSFILTER): Likewise.
18568         (IP_MULTICAST_ALL): Likewise.
18569         (IP_UNICAST_IF): Likewise.
18571         * timezone/Makefile: Delete $(have-ksh) check.
18572         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18573         * timezone/tzselect.ksh: Add +x mode bits.
18575         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18576         (ANON_INODE_FS_MAGIC): Likewise.
18577         (BDEVFS_MAGIC): Likewise.
18578         (BINFMTFS_MAGIC): Likewise.
18579         (BTRFS_TEST_MAGIC): Likewise.
18580         (CRAMFS_MAGIC_WEND): Likewise.
18581         (DEBUGFS_MAGIC): Likewise.
18582         (ECRYPTFS_SUPER_MAGIC): Likewise.
18583         (EXT3_SUPER_MAGIC): Likewise.
18584         (EXT4_SUPER_MAGIC): Likewise.
18585         (FUTEXFS_SUPER_MAGIC): Likewise.
18586         (HOSTFS_SUPER_MAGIC): Likewise.
18587         (HUGETLBFS_MAGIC): Likewise.
18588         (MINIX3_SUPER_MAGIC): Likewise.
18589         (MTD_INODE_FS_MAGIC): Likewise.
18590         (NILFS_SUPER_MAGIC): Likewise.
18591         (OPENPROM_SUPER_MAGIC): Likewise.
18592         (PIPEFS_MAGIC): Likewise.
18593         (PSTOREFS_MAGIC): Likewise.
18594         (QNX6_SUPER_MAGIC): Likewise.
18595         (RAMFS_MAGIC): Likewise.
18596         (REISERFS_SUPER_MAGIC_STRING): Likewise.
18597         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18598         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18599         (SECURITYFS_MAGIC): Likewise.
18600         (SELINUX_MAGIC): Likewise.
18601         (SMACK_MAGIC): Likewise.
18602         (SOCKFS_MAGIC): Likewise.
18603         (SQUASHFS_MAGIC): Likewise.
18604         (STACK_END_MAGIC): Likewise.
18605         (TMPFS_MAGIC): Likewise.
18606         (USBDEVICE_SUPER_MAGIC): Likewise.
18607         (V9FS_MAGIC): Likewise.
18608         (XENFS_SUPER_MAGIC): Likewise.
18609         (CRAMFS_MAGIC): Fix typo in comment.
18610         (EXT2_SUPER_MAGIC): Update comment.
18611         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18613 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
18615         * sysdeps/arm: Move directory from ports/sysdeps/arm.
18616         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18617         * sysdeps/unix/sysv/linux/arm: Move directory from
18618         ports/sysdeps/unix/sysv/linux/arm.
18619         * README: Update listing for arm-*-linux-gnueabi.
18621         * README: Remove mention of am33.
18623 2014-02-07  Roland McGrath  <roland@hack.frob.com>
18625         * bits/sigset.h (__sigemptyset): Use a statement expression rather
18626         than the comma operator, to avoid "rhs of comma has no effect"
18627         compiler warnings.
18628         (__sigfillset, __sigandset, __sigorset): Likewise.
18629         * include/signal.h (__sigemptyset): Likewise.
18630         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18632 2014-02-07  Allan McRae  <allan@archlinux.org>
18634         * version.h (RELEASE): Set to "development".
18635         (VERSION): Set to "2.19.90"
18636         * NEWS: Add 2.20 section.
18638 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
18640         [BZ #16529]
18641         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18643 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18645         * manual/contrib.texi: Update entry for Carlos O'Donell,
18646         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18648 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
18650         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18652         * sysdeps/unix/sysv/linux/kernel-features.h
18653         [__LINUX_KERNEL_VERSION >= 0x020621]
18654         (__ASSUME_PROC_PID_TASK_COMM): Define.
18656 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18658         [BZ #16398]
18659         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18660         conversion when destination buffer does not have enough space.
18661         * libio/tst-ftell-partial-wide.c: New test case.
18662         * libio/Makefile (tests): Add tst-ftell-partial-wide.
18664         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18665         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
18666         Leonard and Allan McRae.
18668 2014-02-04  David S. Miller  <davem@davemloft.net>
18670         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18671         32-bit.
18673 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18676         New file
18677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18678         New file
18679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18680         New file.
18681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18682         New file.
18683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18684         New file.
18685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18686         New file.
18687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18688         New file.
18689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18690         New file.
18691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18692         New file.
18693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18694         New file.
18695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18696         New file.
18697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18698         New file.
18699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18700         New file.
18702 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18704         * nptl/shlib-versions: Change powerpc*le start to 2.17.
18705         * shlib-versions: Likewise.
18707 2014-02-04  Roland McGrath  <roland@hack.frob.com>
18708             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18710         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18711         (abilist-pattern): New variable, set to %-le.abilist.
18713         * Makerules (abilist-pattern): New variable.
18714         (vpath): Use $(abilist-pattern) in place of %.abilist.
18715         (check-abi-% pattern rule): Likewise.
18716         (check-abi, update-abi): Likewise.
18718 2014-02-04  Eric Wong  <normalperson@yhbt.net>
18720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18722 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
18724         * manual/startup.texi: Add next, previous, and top entries for
18725         the `Program Arguments' and `Environment Variables' nodes.
18727 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
18729         * manual/macros.texi: Add comments before MTASC-safety macros.
18731         * manual/users.texi: Document MTASC-safety properties.
18733         * manual/threads.texi (pthread_key_create, pthread_key_delete)
18734         (pthread_getspecific, pthread_setspecific): Format with
18735         @deftypefun, and add @safety note.
18736         * manual/signal.texi: Move comments that analyze the above
18737         functions to their home place.
18739 2014-02-03  Allan McRae  <allan@archlinux.org>
18741         * po/sl.po: Update Slovenian translation from translation project.
18743 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
18745         * manual/time.texi (timegm): Add missing blank after @c.
18746         Reported by Joseph Myers <joseph@codesourcery.com>.
18748 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
18750         * manual/check-safety.sh: New.
18751         * manual/Makefile ($(objpfx)stamp-summary): Run it.
18753         * manual/terminal.texi: Document MTASC-safety properties.
18755         * manual/filesys.texi: Document MTASC-safety properties.
18757         * manual/errno.texi: Document MTASC-safety properties.
18759         * manual/intro.texi: Document safety identifiers and
18760         conditionals.
18762         * manual/string.texi (wcstok): Fix prototype.
18763         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18765         * manual/time.texi: Document MTASC-safety properties.
18767         * manual/string.texi: Document MTASC-safety properties.
18769         * manual/threads.texi: Document MTASC-safety properties.
18771         * manual/stdio.texi: Document MTASC-safety properties.
18773         * manual/syslog.texi: Document MTASC-safety properties.
18775         * manual/sysinfo.texi: Document MTASC-safety properties.
18777         * manual/startup.texi: Document MTASC-safety properties.
18779         * manual/socket.texi: Document MTASC-safety properties.
18781         * manual/signal.texi: Document MTASC-safety properties.
18783 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
18785         * manual/setjmp.texi: Document MTASC-safety properties.
18787         * manual/search.texi: Document MTASC-safety properties.
18789         * manual/resource.texi: Document MTASC-safety properties.
18791         * manual/process.texi: Document MTASC-safety properties.
18793         * manual/platform.texi: Document MTASC-safety properties.
18795         * manual/pipe.texi: Document MTASC-safety properties.
18797         * manual/pattern.texi: Document MTASC-safety properties.
18799         * manual/message.texi: Document MTASC-safety properties.
18801         [BZ #12751]
18802         * manual/memory.texi: Document MTASC-safety properties.
18804         * manual/math.texi: Document MTASC-safety properties.
18806         * manual/locale.texi: Document MTASC-safety properties.
18808         * manual/llio.texi: Document MTASC-safety properties.
18810         * manual/libdl.texi: New.
18812         * manual/lang.texi: Document MTASC-safety properties.
18814         * manual/job.texi: Document MTASC-safety properties.
18816         * manual/getopt.texi: Document MTASC-safety properties.
18818         * manual/ctype.texi: Document MTASC-safety properties.
18820 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
18822         [BZ #16046]
18823         * csu/libc-tls.c (static_map): Remove variable.
18824         (__libc_setup_tls): Use main executable's link map for TLS data.
18825         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18826         casing for LM_ID_BASE and GL(dl_nns).
18827         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18828         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
18829         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18830         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18831         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18832         member.
18833         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18834         l_phnum members.
18836 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
18838         * manual/debug.texi: Document MTASC-safety properties.
18840 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
18842         [BZ #16510]
18843         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18844         of __x86_64__ when disabling x87 inline functions.
18846 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
18848         * manual/charset.texi: Document MTASC-safety properties.
18850         * manual/crypt.texi: Document MTASC-safety properties.
18852         * manual/conf.texi: Document MTASC-safety properties.
18854         * manual/arith.texi: Document MTASC-safety properties.
18856         * manual/argp.texi: Document MTASC-safety properties.
18858         * manual/macros.texi: Introduce macros to document multi
18859         thread, asynchronous signal and asynchronous cancellation
18860         safety properties.
18861         * manual/intro.texi: Introduce the properties themselves.
18863 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18865         * sysdeps/sh/sh4/Makefile: New file.
18867 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
18869         * math/gen-libm-test.pl ($srcdir): New variable.
18870         ($auto_input): Use it.
18872 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18874         [BZ #16506]
18875         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18876         access beyond array bounds when parsing netgroups file.
18878         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18879         the old buffer before realloc.
18881 2014-01-27  Allan McRae  <allan@archlinux.org>
18883         * po/fr.po: Update French translation from translation project.
18885 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18887         * sysdeps/sh/libm-test-ulps: Regenerate.
18889 2014-01-24  David S. Miller  <davem@davemloft.net>
18891         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18893 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18895         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18896         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18898 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18900         [BZ #16474]
18901         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18902         string pointers after reallocation.
18904 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18906         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18907         __SH4A__ instead of __SH_FPU_ANY__.
18909 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18911         * sysdeps/sh/fpu_control.h: New file.
18912         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18913         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18914         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18915         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18916         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18917         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18918         * sysdeps/sh/sys/ucontext.h: Remove.
18919         * sysdeps/sh/sys: Remove directory.
18921 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18923         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18924         s390/sys/ucontext.h.
18925         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18926         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18928 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
18930         [BZ #15605]
18931         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18933 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18935         [BZ#16431]
18936         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18937         Adjust the vDSO correctly for internal calls.
18938         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18940 2014-01-20  Allan McRae  <allan@archlinux.org>
18942         * po/ca.po: Update Catalan translation from translation project.
18944 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
18946         * sysdeps/s390/sotruss-lib.c: New file.
18948 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18950         [BZ#16430]
18951         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18952         (__GI___gettimeofday): Alias for a different internal symbol to avoid
18953         local calls issues by not having a PLT stub required for IFUNC calls.
18954         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18956 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
18958         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18959         * math/test-fpucw-static.c: Likewise.
18961 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18963         [BZ #16453]
18964         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18966 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18968         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18969         implementation for powerpc.
18971 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
18973         [BZ #14782]
18974         * sysdeps/posix/system.c (__libc_system): Do not enable
18975         asynchronous cancellation.
18977 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18979         [BZ #16427]
18980         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18981         handling only for numbers special also in the IEEE case.
18983 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18985         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18987 2014-01-11  Allan McRae  <allan@archlinux.org>
18989         * po/bg.po: Update Bulgarian translation from translation project.
18991         * po/de.po: Update German translation from translation project.
18993 2014-01-10  Roland McGrath  <roland@hack.frob.com>
18995         * sysdeps/generic/gcc-compat.h: New file.
18997 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18999         * benchtests/asin-inputs: Correct slow inputs.
19000         * benchtests/acos-inputs: Likewise.
19002 2014-01-10  Allan McRae  <allan@archlinux.org>
19004         * po:sv.po: Update Swedish translation from translation project.
19006         * po/vi.po: Update Vietnamese translation from translation project.
19008         * po/eo.po: Update Esperanto translation from translation project.
19010         * po/cs.po: Update Czech translation from translation project.
19012         * po/nl.po: Update Dutch translation from translation project.
19014         * po/pl.po: Update Polish translation from translation project.
19016         * po/ru.po: Update Russian translation from translation project.
19018         * po/uk.po: Update Ukrainian translation from translation project.
19020 2014-01-08  Brooks Moses  <bmoses@google.com>
19022         * elf/dl-load.c: Fix comment typo.
19024 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
19026         * po/header.pot: Rename to...
19027         * po/pot.header: ... this.
19028         * po/Makefile: Use pot.header.
19030 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
19031             Maxim Kuvyrkov  <maxim@kugelworks.com>
19033         [BZ #16394]
19034         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19035         SRC and DEST against LEN.
19037 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19039         [BZ #16414]
19040         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19041         implementation.
19042         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19044 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19048 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
19050         [BZ #16408]
19051         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19052         for large positive arguments.
19054 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
19056         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19058         * math/auto-libm-test-in: Mark various tests with
19059         xfail-rounding:ldbl-128ibm.
19060         * math/auto-libm-test-out: Regenerated.
19062         [BZ #16407]
19063         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19064         Increase overflow threshold.
19066 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
19068         [BZ #14286]
19069         * stdio-common/vfprintf.c: Check for integer overflow.
19071 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19073         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19074         the first argument and return value of __tls_get_addr_internal.
19076 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19078         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19079         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19081 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19083         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19084         * sysdeps/s390/rtld-global-offsets.sym: New file.
19085         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19086         GLIBC_2.19 symbol.
19087         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19088         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19089         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19090         ... this.
19091         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19092         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19093         ... this.
19094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19095         Regenerate.
19096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19097         Regenerate.
19098         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19099         halfs of GPRs for high_gprs contexts.
19100         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19101         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
19102         field.
19103         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19104         uc_flags field.
19105         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19106         64 bit versions:
19107         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19108         for high GPRs (uc_high_gprs) and for future extensions
19109         (__reserved).
19110         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19111         for future extensions (__reserved).
19112         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19113         64 bit versions:
19114         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19115         SC_HIGHGPRS offset definition.
19116         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19117         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19119         * Versions.def: Add GLIBC_2.19 for libpthread.
19120         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19121         siglongjmp for libpthread with GLIBC_2.19 symver.
19122         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19123         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19124         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19125         * sysdeps/s390/__longjmp.c: New file.
19126         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19127         * sysdeps/s390/longjmp.c: New file.
19128         * sysdeps/s390/setjmp.S: New file.
19129         * sysdeps/s390/sigjmp.S: New file.
19130         * sysdeps/s390/v1-longjmp.c: New file.
19131         * sysdeps/s390/v1-setjmp.h: New file.
19132         * sysdeps/s390/v1-sigjmp.c: New file.
19133         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19134         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19135         GLIBC_2.19 version.
19136         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19137         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19138         versioned symbols for ____longjmp_chk.
19139         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19140         Likewise.
19141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19142         Regenerate.
19143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19144         Regenerate.
19145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19146         Regenerate.
19147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19148         Regenerate.
19149         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19150         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19151         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19152         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19153         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19154         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19155         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19156         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19157         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19158         * sysdeps/s390/rtld-__longjmp.c: New file.
19159         * sysdeps/s390/rtld-setjmp.S: New file.
19161 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
19163         [BZ #16400]
19164         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19165         Return -__logl (x) for small positive arguments without evaluating
19166         a polynomial.
19168 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
19170         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19171         Rename to ...
19172         (__ptrace_peeksiginfo_args): ... this.
19173         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19174         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19175         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19177 2014-01-06  Allan McRae  <allan@archlinux.org>
19179         * inet/netinet/in.h: Fix typo in comment.
19181 2014-01-05  Andreas Jaeger  <aj@suse.de>
19183         * sysdeps/i386/fpu/libm-test-ulps: Update.
19185 2014-01-05  Allan McRae  <allan@archlinux.org>
19187         * po/libc.pot: Regenerated.
19189         * malloc/memusagestat.c: Fix gettext call formatting.
19191 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
19193         * nscd/nscd.c: Improve usage() output.
19195 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
19197         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19198         * sysdeps/unix/sysv/linux/configure: Regenerated.
19199         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19200         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19202 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19204         [BZ #16390]
19205         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19206         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19208 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19210         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19211         extra tokens at end of #undef directive.
19212         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19213         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19214         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19216 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19218         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19220         * math/auto-libm-test-in: Mark various tests with
19221         xfail-rounding:ldbl-128ibm.
19222         * math/auto-libm-test-out: Regenerated.
19224 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
19226         [BZ #16386]
19227         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19228         numbers with subnormal high part when calculating exponent.
19230         [BZ #16385]
19231         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19232         fabs.
19234         [BZ #16384]
19235         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19236         M_LN2l.
19237         (__ieee754_acoshl): Use __log1pl not __log1p.
19239 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
19241         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19242         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19243         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19244         (grow_heap, heap_trim, _int_new_arena, get_free_list)
19245         (reused_arena, arena_get2): Convert to GNU style.
19246         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19247         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19248         (memalign_check, __malloc_set_state): Likewise.
19249         * malloc/mallocbug.c (main): Likewise.
19250         * malloc/malloc.c (__malloc_assert, malloc_init_state)
19251         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19252         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19253         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19254         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19255         (__posix_memalign, malloc_info): Likewise.
19256         * malloc/malloc.h: Likewise.
19257         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19258         (mallochook, memalignhook, reallochook, mabort): Likewise.
19259         * malloc/mcheck.h: Likewise.
19260         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19261         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19262         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19263         * malloc/morecore.c (__default_morecore): Likewise.
19264         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19265         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19266         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19267         (print_and_abort): Likewise.
19268         * malloc/obstack.h: Likewise.
19269         * malloc/set-freeres.c (__libc_freeres): Likewise.
19270         * malloc/tst-mallocstate.c (main): Likewise.
19271         * malloc/tst-mtrace.c (main): Likewise.
19272         * malloc/tst-realloc.c (do_test): Likewise.
19274 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19276         [BZ #16366]
19277         * nscd/netgroupcache.c (do_notfound): New function.
19278         (addgetnetgrentX): Use it.
19280         [BZ # 16365]
19281         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19282         NSS_STATUS_NOTFOUND.
19284 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
19286         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19289 2014-01-01  Allan McRae  <allan@archlinux.org>
19291         * scripts/update-copyrights: Update configure input file suffix.
19293         * NEWS: Update copyright year.
19294         * catgets/gencat.c: Likewise.
19295         * csu/version.c: Likewise.
19296         * debug/catchsegv.sh: Likewise.
19297         * debug/pcprofiledump.c: Likewise.
19298         * debug/xtrace.sh: Likewise.
19299         * elf/ldconfig.c: Likewise.
19300         * elf/ldd.bash.in: Likewise.
19301         * elf/pldd.c: Likewise.
19302         * elf/sotruss.ksh: Likewise.
19303         * elf/sprof.c: Likewise.
19304         * iconv/iconv_prog.c: Likewise.
19305         * iconv/iconvconfig.c: Likewise.
19306         * locale/programs/locale.c: Likewise.
19307         * locale/programs/localedef.c: Likewise.
19308         * login/programs/pt_chown.c: Likewise.
19309         * malloc/memusage.sh: Likewise.
19310         * malloc/memusagestat.c: Likewise.
19311         * malloc/mtrace.pl: Likewise.
19312         * manual/libc.texinfo: Likewise.
19313         * nscd/nscd.c: Likewise.
19314         * nss/getent.c: Likewise.
19315         * nss/makedb.c: Likewise.
19316         * posix/getconf.c: Likewise.
19317         * scripts/test-installation.pl: Likewise.
19319         * All files with FSF copyright notices: Update copyright dates
19320         using scripts/update-copyrights.
19321         * intl/plural.c: Regenerated.
19322         * locale/programs/charmap-kw.h: Likewise.
19323         * locale/programs/locfile-kw.h: Likewise.
19325 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
19327         * sysdeps/unix/sysv/linux/configure: Regenerated.
19328         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19329         the linux/fanotify.h header.
19330         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19331         HAVE_LINUX_FANOTIFY_H is defined.
19333 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19335         * benchtests/cos-inputs: New inputs.
19336         * benchtests/sin-inputs: Likewise.
19338         * benchtests/atan-inputs: New inputs. Fix name of multiple
19339         precision fallback inputs.
19341         * benchtests/atanh-inputs: New inputs.
19342         * benchtests/tanh-inputs: Likewise.
19344         * benchtests/acosh-inputs: New inputs.
19345         * benchtests/asinh-inputs: Likewise.
19347         * benchtests/cosh-inputs: New inputs.
19348         * benchtests/sinh-inputs: Likewise.
19350         * benchtests/acos-inputs: Add more inputs.
19351         * benchtests/asin-inputs: Likewise.
19353 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
19355         [BZ #16375]
19356         * manual/arith.texi: Fix spelling.
19357         * manual/charset.texi: Likewise.
19358         * manual/errno.texi: Likewise.
19359         * manual/filesys.texi: Likewise.
19360         * manual/lang.texi: Likewise.
19361         * manual/llio.texi: Likewise.
19362         * manual/locale.texi: Likewise.
19363         * manual/message.texi: Likewise.
19364         * manual/resource.texi: Likewise.
19365         * manual/search.texi: Likewise.
19366         * manual/setjmp.texi: Likewise.
19367         * manual/stdio.texi: Likewise.
19368         * manual/string.texi: Likewise.
19369         * manual/sysinfo.texi: Likewise.
19370         * manual/time.texi: Likewise.
19372 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
19374         * po/sl.po: New file.
19376 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
19378         * .gitignore: Add core/.gdbinit/.gdb_history.
19380 2013-12-27  Allan McRae  <allan@archlinux.org>
19382         [BZ #16369]
19383         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19384         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19386 2013-12-24  Brooks Moses  <bmoses@google.com>
19388         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19389         all compilers that claim C++98 compliance, not just GCC.
19390         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19391         Likewise.
19393 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
19395         * NEWS: Restore accidentally deleted bug-fix entries.
19397 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
19398             Ondřej Bílka  <neleai@seznam.cz>
19400         [BZ #15073]
19401         * malloc/malloc.c (_int_free): Perform sanity check only if we
19402         have_lock.
19404 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
19406         [BZ #12986]
19407         * manual/stdio.texi (String Input Conversions): Clarify that character
19408         classes are not supported.
19410 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19414 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
19416         [BZ #16337]
19417         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19418         Calculate results for small negative arguments directly rather
19419         than using reflection formula with special underflow handling.
19421         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19422         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19423         sysdeps/unix/bsd/bsd4.4/syscalls.list.
19424         (fchflags): Likewise.
19425         (revoke): Likewise.
19426         (setlogin): Likewise.
19427         (sigaltstack): Likewise.
19428         (wait4): Likewise.
19429         (sigblock): Remove.
19430         (sigsetmask): Likewise.
19431         (wait3): Likewise.
19432         (waitpid): Likewise.
19433         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19434         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19435         file.
19436         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19437         * sysdeps/unix/bsd/Makefile: ... here.
19438         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19439         * sysdeps/unix/bsd/Versions: ... here.
19440         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19441         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19442         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19443         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19444         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19445         * sysdeps/unix/bsd/sigblock.c: ... here.
19446         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19447         * sysdeps/unix/bsd/sigsetmask.c: ... here.
19448         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19449         * sysdeps/unix/bsd/sigvec.c: ... here.
19450         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19451         * sysdeps/unix/bsd/tcdrain.c: ... here.
19452         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19453         * sysdeps/unix/bsd/tcgetattr.c: ... here.
19454         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19455         * sysdeps/unix/bsd/tcsetattr.c: ... here.
19456         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19457         * sysdeps/unix/bsd/wait.c: ... here.
19458         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19459         * sysdeps/unix/bsd/wait3.c: ... here.
19460         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19461         * sysdeps/unix/bsd/waitpid.c: ... here.
19463 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
19465         [BZ #16356]
19466         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19467         round-to-nearest for [!USE_AS_EXPM1L].
19468         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19469         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
19470         more tests of exp and exp10.  Expect some exp10 tests to miss
19471         exceptions or fail in directed rounding modes.
19472         * math/auto-libm-test-out: Regenerated.
19473         * math/libm-test.inc (exp10_tonearest_test_data): New array.
19474         (exp10_test_tonearest): New function.
19475         (exp10_towardzero_test_data): New array.
19476         (exp10_test_towardzero): New function.
19477         (exp10_downward_test_data): New array.
19478         (exp10_test_downward): New function.
19479         (exp10_upward_test_data): New array.
19480         (exp10_test_upward): New function.
19481         (main): Call the new functions.
19482         * sysdeps/i386/fpu/libm-test-ulps: Update.
19483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19485 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
19487         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19488         asinh, atan, atan2, atanh, cbrt, cos and cosh.
19489         * math/auto-libm-test-out: Regenerated.
19490         * math/libm-test.inc (acosh_test_data): Add more tests.
19491         (atanh_test_data): Likewise.
19492         (ceil_test_data): Likewise.
19493         (copysign_test_data): Likewise.
19494         * sysdeps/i386/fpu/libm-test-ulps: Update.
19495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19497         * timezone/checktab.awk: Update from tzcode 2013i.
19498         * timezone/private.h: Likewise.
19499         * timezone/scheck.c: Likewise.
19500         * timezone/tzfile.h: Likewise.
19501         * timezone/tzselect.ksh: Likewise.
19502         * timezone/zdump.c: Likewise.
19503         * timezone/zic.c: Likewise.
19505         * math/auto-libm-test-in: Add tests of cpow.
19506         * math/auto-libm-test-out: Regenerated.
19507         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19508         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19509         mpc_cc_c.
19510         (func_calc_desc): Add mpc_cc_c union field.
19511         (test_functions): Add cpow.
19512         (special_fill_2pi): New function.
19513         (special_real_inputs): Add 2pi.
19514         (calc_generic_results): Handle mpc_cc_c.
19515         * sysdeps/i386/fpu/libm-test-ulps: Update.
19516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19518         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19519         csqrt, ctan and ctanh.
19520         * math/auto-libm-test-out: Regenerated.
19521         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19522         (TEST_COND_x86): Likewise.
19523         (ccos_test_data): Use AUTO_TESTS_c_c.
19524         (ccosh_test_data): Likewise.
19525         (cexp_test_data): Likewise.
19526         (clog_test_data): Likewise.
19527         (csqrt_test_data): Likewise.
19528         (ctan_test_data): Likewise.
19529         (ctan_tonearest_test_data): Likewise.
19530         (ctan_towardzero_test_data): Likewise.
19531         (ctan_downward_test_data): Likewise.
19532         (ctan_upward_test_data): Likewise.
19533         (ctanh_test_data): Likewise.
19534         (ctanh_tonearest_test_data): Likewise.
19535         (ctanh_towardzero_test_data): Likewise.
19536         (ctanh_downward_test_data): Likewise.
19537         (ctanh_upward_test_data): Likewise.
19538         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19539         mpc_c_c.
19540         (func_calc_desc): Add mpc_c_c union field.
19541         (FUNC_mpc_c_c): New macro.
19542         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19543         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19544         ctanh.
19545         (special_fill_min_subnorm_p120): New function.
19546         (special_real_inputs): Add min_subnorm_p120.
19547         (calc_generic_results): Handle mpc_c_c.
19548         * sysdeps/i386/fpu/libm-test-ulps: Update.
19549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19551 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19553         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19554         (do_sin_slow): New functions.
19555         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19556         (cslow2, csloww1, csloww2): Use the new functions.
19558         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19559         Use M to change sign of result instead of X.  Assume X is
19560         positive.
19561         (csloww1): Likewise.
19562         (__sin): Adjust.
19563         (__cos): Adjust.
19565         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19566         arguments A and DA.
19567         (__sin): Adjust.
19568         (__cos): Likewise.
19570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19571         (__cos): Likewise.
19572         (sloww1): Don't adjust sign of DX.
19573         (csloww1): Likewise.
19574         (sloww2): Use X directly and don't adjust sign of DX.
19575         (csloww2): Likewise.
19577 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19579         * math/auto-libm-test-in: Add tests of cabs and carg.
19580         * math/auto-libm-test-out: Regenerated.
19581         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19582         (carg_test_data): Likewise.
19583         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19584         mpc_c_f.
19585         (func_calc_desc): Add mpc_c_f union field.
19586         (test_functions): Add cabs and carg.
19587         (calc_generic_results): Handle mpc_c_f.
19589         * sysdeps/powerpc/powerpc32/libgcc-compat.S
19590         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19591         as a macro and a compat symbol.
19592         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19593         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19594         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19595         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19596         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19597         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19598         not use .hidden.
19599         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19600         Likewise.
19601         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19602         Likewise.
19603         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19604         Likewise.
19605         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19606         Likewise.
19607         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19608         Likewise.
19609         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19610         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19611         from GLIBC_2.3.2.
19613 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19617 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19619         * manual/texinfo.tex: Update to version 2013-11-26.10 with
19620         trailing whitespace removed.
19621         * scripts/config.guess: Update to version 2013-11-29.
19622         * scripts/config.sub: Update to version 2013-10-01.
19624         * math/auto-libm-test-in: Add tests of sincos.
19625         * math/auto-libm-test-out: Regenerated.
19626         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19627         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19628         mpfr_f_11.
19629         (func_calc_desc): Add mpfr_f_11 union field.
19630         (test_functions): Add sincos.
19631         (calc_generic_results): Handle mpfr_f_11.
19632         * sysdeps/i386/fpu/libm-test-ulps: Update.
19633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19635 2013-12-19  Andreas Schwab  <schwab@suse.de>
19637         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19638         CALL_MCOUNT.
19639         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19640         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19641         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19643 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19645         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19646         * sysdeps/i386/fpu/libm-test-ulps: Update.
19647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19649         [BZ #16293]
19650         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19651         round-to-nearest mode when using frndint.
19652         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19653         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19654         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19655         Likewise.
19656         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
19657         sinh test to fail.
19658         * math/auto-libm-test-out: Regenerated.
19659         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19660         (TEST_COND_x86): Likewise.
19661         (expm1_tonearest_test_data): New array.
19662         (expm1_test_tonearest): New function.
19663         (expm1_towardzero_test_data): New array.
19664         (expm1_test_towardzero): New function.
19665         (expm1_downward_test_data): New array.
19666         (expm1_test_downward): New function.
19667         (expm1_upward_test_data): New array.
19668         (expm1_test_upward): New function.
19669         (main): Run the new test functions.
19670         * sysdeps/i386/fpu/libm-test-ulps: Update.
19671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19673         * include/features.h: Update comment documenting feature test
19674         macros.  Mention _DEFAULT_SOURCE in comment.
19675         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19676         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19677         _BSD_SOURCE and _SVID_SOURCE.
19678         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19679         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19680         !_SVID_SOURCE]: Likewise.
19681         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19682         (__USE_POSIX_IMPLICITLY): Define.
19683         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19684         (_POSIX_SOURCE): Undefine and redefine.
19685         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19686         (_POSIX_C_SOURCE): Likewise.
19687         * manual/creature.texi (_DEFAULT_SOURCE): Document.
19688         (Feature Test Macros): Update documentation of default features.
19690 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19692         * benchtests/Makefile: Add bench-strtok.
19693         * benchtests/bench-strtok.c: New file: strtok benchtest.
19695 2013-12-19  Allan McRae  <allan@archlinux.org>
19697         * manual/install.texi: Suppress menu for plain text output.
19698         * INSTALL: Regenerated.
19700 2013-12-18  Brooks Moses  <bmoses@google.com>
19702         [BZ #15846]
19703         * misc/getauxval.c: Include errno.h.
19704         (__getauxval): Set errno to ENOENT if the requested type is not
19705         found.
19706         * misc/sys/auxv.h (getauxval): Document that it may set errno;
19707         don't declare with __attribute_const__.
19708         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19709         * manual/startup.texi: Document that getauxval sets errno.
19711 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19713         * math/auto-libm-test-in: Add tests of jn and yn.
19714         * math/auto-libm-test-out: Regenerated.
19715         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19716         (yn_test_data): Likewise.
19717         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19718         mpfr_if_f.
19719         (func_calc_desc): Add mpfr_if_f union field.
19720         (FUNC_mpfr_if_f): New macro.
19721         (test_functions): Add jn and yn.
19722         (calc_generic_results): Assert type of second input for
19723         mpfr_ff_f.  Handle mpfr_if_f.
19724         (output_for_one_input_case): Disable all checking for arguments
19725         fitting floating-point types in case of an integer argument.
19726         * sysdeps/i386/fpu/libm-test-ulps: Update.
19727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19730         Don't expect fegetround reference in libm.so.
19732 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19734         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19735         $(config-cflags-nofma).
19737 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19739         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19740         * math/auto-libm-test-out: Regenerated.
19742         [BZ #16338]
19743         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19744         to determine exponent and adjust argument to have exponent of -1.
19745         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19746         log2.
19747         * math/auto-libm-test-out: Regenerated.
19748         * sysdeps/i386/fpu/libm-test-ulps: Update.
19749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19751 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
19753         * manual/probes.texi: Remove cases when per-thread arenas are
19754         disabled.
19756 2013-12-18  Andreas Schwab  <schwab@suse.de>
19758         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19759         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19760         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19761         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19762         * sysdeps/i386/i686/multiarch/Makefile: Update.
19763         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19765 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19767         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19768         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19770 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
19772         [BZ #15968]
19773         Support TZ transition times < 00:00:00.
19774         This is needed for version-3 tz-format files; it supports time
19775         stamps past 2037 for America/Godthab (the only entry in the tz
19776         database for which this change is relevant).
19777         * manual/time.texi (TZ Variable): Document transition times
19778         from -167:59:59 through -00:00:01.
19779         * time/tzset.c (tz_rule): Time of day is now signed.
19780         (__tzset_parse_tz): Parse negative time of day.
19782         Document TZ transition times >= 25:00:00.
19783         * manual/time.texi (TZ Variable): Document transition times from
19784         25:00:00 through 167:59:59.  These are already supported, and this
19785         support will help with version-3 tz-format files.
19787         * manual/time.texi (TZ Variable): Modernize North America example
19788         to reflect current (i.e., 2007-and-later) daylight saving rules.
19790         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19792 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19794         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19795         * sysdeps/unix/bsd/bits/stat.h: Likewise.
19796         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19797         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19798         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19799         * sysdeps/unix/bsd/bsdstat.h: Likewise.
19800         * sysdeps/unix/bsd/clock.c: Likewise.
19801         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19802         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19803         * sysdeps/unix/bsd/init-posix.c: Likewise.
19804         * sysdeps/unix/bsd/poll.c: Likewise.
19805         * sysdeps/unix/bsd/ptsname.c: Likewise.
19806         * sysdeps/unix/bsd/seekdir.c: Likewise.
19807         * sysdeps/unix/bsd/setegid.c: Likewise.
19808         * sysdeps/unix/bsd/seteuid.c: Likewise.
19809         * sysdeps/unix/bsd/setgid.c: Likewise.
19810         * sysdeps/unix/bsd/setrgid.c: Likewise.
19811         * sysdeps/unix/bsd/setruid.c: Likewise.
19812         * sysdeps/unix/bsd/setsid.c: Likewise.
19813         * sysdeps/unix/bsd/setuid.c: Likewise.
19814         * sysdeps/unix/bsd/sigaction.c: Likewise.
19815         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19816         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19817         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19818         * sysdeps/unix/bsd/telldir.c: Likewise.
19819         * sysdeps/unix/bsd/times.c: Likewise.
19820         * sysdeps/unix/bsd/usleep.c: Likewise.
19822         * misc/Makefile (install-lib): Remove libbsd-compat.a.
19823         ($(objpfx)libbsd-compat.a): Remove rule.
19825         * include/features.h (__FAVOR_BSD): Do not define.
19826         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19827         features conflicting with POSIX.
19828         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19829         (_BSD_SOURCE): Remove description of not being a subset of other
19830         feature test macros.
19831         * manual/job.texi (getpgrp): Do not document BSD version.
19832         (getpgid): Do not document by reference to BSD getpgrp.
19833         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19834         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19835         * signal/signal.h [__FAVOR_BSD]: Likewise.
19836         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19837         instead of making contents conditional on [__FAVOR_BSD].
19838         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19840 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19844 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19846         [BZ #16314]
19847         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19848         values below 2**-450, not 2**-500.
19849         * math/auto-libm-test-in: Don't allow spurious underflow from
19850         hypot.
19851         * math/auto-libm-test-out: Regenerated.
19853         [BZ #16316]
19854         [BZ #16330]
19855         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19856         values of ha and hb and sort them after adjusting subnormal
19857         arguments.
19858         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19859         Likewise.
19860         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19861         values of ea and eb and sort them after adjusting subnormal
19862         arguments.
19863         * math/auto-libm-test-in: Do not expect some hypot tests of
19864         subnormals to fail.  Add more hypot tests.
19865         * math/auto-libm-test-out: Regenerated.
19867 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19869         [BZ #13304]
19870         * sysdeps/sh/s_fma.c: New file.
19871         * sysdeps/sh/s_fmaf.c: New file.
19872         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
19873         version.
19874         * sysdeps/sh/Implies: Add sh/soft-fp.
19876 2013-12-16  Roland McGrath  <roland@hack.frob.com>
19878         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
19879         level of indirection to members `objname', `errstring', `malloced'.
19880         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19881         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
19882         it as the __longjmp argument (just pass 1 instead).
19883         (_dl_catch_error): Initialize C with argument pointers and address of
19884         volatile local ERRCODE rather than copying values out of C at return.
19886 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
19888         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19889         * math/auto-libm-test-out: Regenerated.
19890         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19891         (hypot_test_data): Likewise.
19892         (pow_test_data): Likewise.
19893         (pow_tonearest_test_data): Likewise.
19894         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19895         mpfr_ff_f.
19896         (func_calc_desc): Add mpfr_ff_f union field.
19897         (FUNC_mpfr_ff_f): New macro.
19898         (test_functions): Add atan2, hypot and pow.
19899         (special_fill_min): New function.
19900         (special_fill_minus_min): Likewise.
19901         (special_fill_min_subnorm): Likewise.
19902         (special_fill_minus_min_subnorm): Likewise.
19903         (special_real_inputs): Add min, -min, min_subnorm and
19904         -min_subnorm.
19905         (calc_generic_results): Handle mpfr_ff_f.
19906         * sysdeps/i386/fpu/libm-test-ulps: Update.
19907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19909 2013-12-16  Will Newton  <will.newton@linaro.org>
19911         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19912         (Aligned Memory Blocks): Add documentation for aligned_alloc
19913         and suggest it as an alternative to posix_memalign.
19914         (Hooks for Malloc): Document __memalign_hook is also called
19915         for aligned_alloc.  (Summary of Malloc): Add summary for
19916         aligned alloc.  Document __memalign_hook is also called
19917         for aligned_alloc.
19919 2013-12-16  Will Newton  <will.newton@linaro.org>
19921         * manual/memory.texi (Malloc Examples): Clarify default
19922         alignment documentation.  Suggest posix_memalign rather
19923         than memalign or valloc.
19924         (Aligned Memory Blocks): Remove suggestion to use memalign
19925         or valloc.  Remove obsolete comment about BSD.
19926         Document memalign errno values and mark the function obsolete.
19927         Document posix_memalign returned error codes.  Mark valloc
19928         as obsolete.  (Hooks for Malloc): __memalign_hook is also
19929         called for posix_memalign and valloc.
19930         (Summary of Malloc): Add posix_memalign to function summary.
19931         __memalign_hook is also called for posix_memalign and valloc.
19933 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19935         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19936         TAYLOR_SIN.
19937         (__sin): Adjust.
19938         (__cos): Likewise.
19939         (sloww): Use mynumber union.  Expand ternary operator into
19940         if-else statements.
19941         (cslow): use mynumber union.
19943 2013-12-16  Allan McRae  <allan@archlinux.org>
19945         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19946         * configure: Regenerated.
19948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19950         [BZ #14120]
19951         * configure.ac: Added --enable-maintainer-mode. Check for
19952         autoconf when enabled.
19953         * configure: Regenerated.
19955         * nscd/nscd.service: New file.
19956         * nscd/nscd.tmpfiles: New file.
19958 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
19960         [BZ #12100]
19961         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19962         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19963         * sysdeps/x86_64/multiarch/strstr.c: ... here.
19964         (strstr): Add __strstr_sse2_unaligned ifunc.
19965         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19966         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19967         (strcasestr): Remove __strcasestr_sse42 ifunc.
19968         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19972 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19974         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19975         * sysdeps/sh/bits/fenv.h: ... here.
19976         * sysdeps/sh/sh4/fpu/bits: Remove directory.
19978 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19980         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19982         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19983         hypotf multiarch implementations.
19984         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19985         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19986         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19987         multiarch hypot for PPC64.
19988         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19989         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19990         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19991         multiarch hypotf for PPC64.
19993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19994         modff multiarch implementations.
19995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19998         multiarch modf for PPC64.
19999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20002         multiarch modff for PPC64.
20004         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20005         and logl multiarch implementations.
20006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20009         multiarch logb for PPC64.
20010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20013         multiarch logb for PPC64.
20014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20017         multiarch logb for PPC64.
20019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20020         isinff multiarch implementation.
20021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20022         file.
20023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20025         multiarch isinf for PPC64.
20026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20027         file.
20028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20029         multiarch isinff for PPC64.
20031         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20032         finitef multiarch implementation.
20033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20034         file.
20035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20037         multiarch finite for PPC64.
20038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20039         file.
20040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20041         multiarch finitef for PPC64.
20043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20044         lrint multiarch implementation.
20045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20046         file.
20047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20049         multiarch llrint for PPC64.
20050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20051         multiarch lrint for PPC64.
20053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20054         copysignf multiarch implementation.
20055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20056         file.
20057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20058         file.
20059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20060         multiarch copysign for PPC64.
20061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20062         multiarch copysignf for PPC64.
20064         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20065         multiarch implementation.
20066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20067         file.
20068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20069         file.
20070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20071         file.
20072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20073         file.
20074         multiarch llround for PPC64.
20075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20076         multiarch trunc for PPC64.
20077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20078         multiarch truncf for PPC64.
20080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20081         multiarch implementation.
20082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20083         file.
20084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20085         file.
20086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20087         file.
20088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20089         file.
20090         multiarch llround for PPC64.
20091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20092         multiarch round for PPC64.
20093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20094         multiarch roundf for PPC64.
20096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20097         multiarch implementation.
20098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20099         file.
20100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20101         file.
20102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20103         file.
20104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20105         file.
20106         multiarch llround for PPC64.
20107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20108         multiarch floor for PPC64.
20109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20110         multiarch floorf for PPC64.
20112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20113         multiarch implementation.
20114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20115         file.
20116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20117         file.
20118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20119         file.
20120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20121         file.
20122         multiarch llround for PPC64.
20123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20124         multiarch ceil for PPC64.
20125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20126         multiarch ceilf for PPC64.
20128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20129         multiarch implementation.
20130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20131         file.
20132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20133         file.
20134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20135         file.
20136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20137         multiarch llround for PPC64.
20138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20139         multiarch lround for PPC64.
20141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20142         multiarch implementation.
20143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20146         file.
20147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20150         multiarch isnan for PPC64.
20151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20152         multiarch isnanf for PPC64.
20154         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20155         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20156         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20157         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20158         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20161         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20162         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20163         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20164         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20167         multiarch implementations.
20168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20169         (__libc_ifunc_impl_list): Likewise.
20170         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20171         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20172         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20173         multiarch stpcpy for PPC64.
20175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20176         multiarch implementations.
20177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20178         (__libc_ifunc_impl_list): Likewise.
20179         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20180         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20181         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20182         multiarch strcpy for PPC64.
20184         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20185         redefine function name.
20186         (_wordcopy_fwd_dest_aligned): Likewise.
20187         (_wordcopy_bwd_aligned): Likewise.
20188         (_wordcopy_bwd_dest_aligned): Likewise.
20189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20190         multiarch implementations.
20191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20192         (__libc_ifunc_impl_list): Likewise.
20193         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20194         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20195         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20196         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20197         multiarch wcscpy for PPC64.
20199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20200         multiarch implementations.
20201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20202         (__libc_ifunc_impl_list): Likewise.
20203         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20204         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20205         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20206         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20207         multiarch wcscpy for PPC64.
20209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20210         multiarch implementations.
20211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20212         (__libc_ifunc_impl_list): Likewise.
20213         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20214         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20215         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20216         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20217         multiarch wcsrchr for PPC64.
20219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20220         multiarch implementations.
20221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20222         (__libc_ifunc_impl_list): Likewise.
20223         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20224         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20225         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20226         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20227         multiarch wcschr for PPC64.
20229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20230         multiarch implementations.
20231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20232         (__libc_ifunc_impl_list): Likewise.
20233         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20234         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20235         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20236         multiarch strchrnul for PPC64.
20238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20239         implementations.
20240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20241         (__libc_ifunc_impl_list): Likewise.
20242         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20243         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20244         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20245         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20246         strchr for PPC64.
20248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20249         implementations.
20250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20251         (__libc_ifunc_impl_list): Likewise.
20252         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20253         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20254         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20255         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20256         strncmp for PPC64.
20258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20259         multiarch implementations.
20260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20261         (__libc_ifunc_impl_list): Likewise.
20262         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20263         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20264         strncasecmp for PPC64.
20265         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20266         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20267         multiarch strncasecmp_l for PPC64.
20269         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20270         multiarch implementations.
20271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20272         (__libc_ifunc_impl_list): Likewise.
20273         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20274         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20275         multiarch strcasecmp for PPC64.
20276         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20277         file.
20278         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20279         multiarch strcasecmp_l for PPC64.
20281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20282         implementations.
20283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20284         (__libc_ifunc_impl_list): Likewise.
20285         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20286         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20287         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20288         strnlen for PPC64.
20290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20291         implementations.
20292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20293         (__libc_ifunc_impl_list): Likewise.
20294         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20295         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20296         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20297         strlen for PPC64.
20299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20300         implementations.
20301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20302         (__libc_ifunc_impl_list): Likewise.
20303         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20304         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20305         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20306         rawmemrchr for PPC64.
20308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20309         implementation.
20310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20311         (__libc_ifunc_impl_list): Likewise.
20312         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20313         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20314         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20315         memrchr for PPC64.
20317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20318         implementation.
20319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20320         (__libc_ifunc_impl_list): Likewise.
20321         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20322         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20323         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20324         memchr for PPC64.
20326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20327         implementation.
20328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20329         (__libc_ifunc_impl_list): Likewise.
20330         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20331         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20332         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20333         mempcpy for PPC64.
20335         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20336         avoid cretion of __bzero symbol.
20337         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20338         Likewise.
20339         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20340         Likewise.
20341         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20342         Likewise.
20343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20344         multiarch implementations.
20345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20346         (__libc_ifunc_impl_list): Likewise.
20347         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20348         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20349         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20350         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20351         bzero for PPC32.
20352         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20353         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20354         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20355         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20356         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20357         memset for PPC64.
20358         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20360         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20362         implementations.
20363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20364         (__libc_ifunc_impl_list): Likewise.
20365         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20366         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20367         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20368         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20369         memcmp for PPC64.
20371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20372         multiarch for POWER/PPC64.
20373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20374         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20375         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20376         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20377         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20378         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20379         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20380         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20381         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20382         memcpy for PPC64.
20384         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20385         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20386         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20387         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20388         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20389         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20390         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20391         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20392         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20393         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20394         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20395         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20396         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20397         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20398         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20407 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20409         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20411 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20413         * benchtests/Makefile (bench): Add exp2 and log2.
20414         (LDLIBS-bench-exp2): Add -lm.
20415         (LDLIBS-bench-log2): Likewise.
20416         * benchtests/exp2-inputs: New inputs file.
20417         * benchtests/log2-inputs: New inputs file.
20418         * benchtests/log-inputs: Add new inputs.
20419         * benchtests/tan-inputs: Likewise.
20421 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20423         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20424         definition...
20425         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20426         (csloww2): ... from here.
20428         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20429         instead of structures.
20430         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20431         (POLYNOMIAL): Likewise.
20432         (TAYLOR_SLOW): Likewise.
20433         (__sin): Likewise.
20434         (__cos): Likewise.
20435         (slow1): Likewise.
20436         (slow2): Likewise.
20437         (sloww): Likewise.
20438         (sloww1); Likewise.
20439         (sloww2): Likewise.
20440         (bsloww1): Likewise.
20441         (bsloww2): Likewise.
20442         (cslow2): Likewise.
20443         (csloww): Likewise.
20444         (csloww1): Likewise.
20445         (csloww2): Likewise.
20447 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
20449         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20450         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20451         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20452         * malloc/hooks.c (realloc_check): Likewise.
20454         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20455         * malloc/arena.c: Remove PER_THREAD conditional.
20456         [!PER_THREAD]: Remove code.
20457         (ptmalloc_unlock_all2): Likewise.
20458         (ptmalloc_init): Likewise.
20459         (_int_new_arena): Likewise.
20460         (arena_get2): Likewise.
20461         * malloc/hooks.c (__malloc_get_state): Likewise.
20462         (__malloc_set_state): Likewise.
20463         * malloc/malloc.c: Likewise.
20464         (struct malloc_state): Likewise.
20465         (struct malloc_par): Likewise.
20466         (__libc_realloc): Likewise.
20467         (__libc_mallopt): Likewise.
20469 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20471         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20473 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
20475         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20476         macro to a function.  Check for zero perturb_byte.
20477         (_int_malloc, _int_free): Remove zero perturb_byte checks.
20479         * malloc/malloc.c: (force_reg): Remove.
20480         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20481         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20482         force_reg by atomic_forced_read.
20483         * malloc/arena.c (ptmalloc_init): Likewise.
20484         * malloc/hooks.c (top_check): Likewise.
20486 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20490 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
20492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20494 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
20496         * math/auto-libm-test-in: Add tests of lgamma.
20497         * math/auto-libm-test-out: Regenerated.
20498         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20499         (M_LOG_2_SQRT_PIl): Likewise.
20500         (lgamma_test_data): Use AUTO_TESTS_f_f1.
20501         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20502         mpfr_f_f1.
20503         (func_calc_desc): Add mpfr_f_f1 union field.
20504         (ARGS1): New macro.
20505         (ARGS2): Likewise.
20506         (ARGS3): Likewise.
20507         (ARGS4): Likewise.
20508         (RET1): Likewise.
20509         (RET2): Likewise.
20510         (CALC): Likewise.
20511         (FUNC): Likewise.
20512         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20513         (test_functions): Add lgamma.
20514         (calc_generic_results): Handle mpfr_f_f1.
20515         * sysdeps/i386/fpu/libm-test-ulps: Update.
20516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20518 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20520         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20521         __mpn_add_n for PowerPC64/POWER7.
20522         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20523         __mpn_sub_n for PowerPC64/POWER7.
20525         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20526         __mpn_addmul_1 for PowerPC64.
20527         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20528         __mpn_submul_1 for PowerPC64.
20529         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20530         for PowerPC64.
20531         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20532         for PowerPC64.
20534 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
20536         [BZ #15089]
20537         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20539 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20541         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20543         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20544         add multiarch folders.
20545         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20546         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20547         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20548         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20549         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20550         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20551         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20552         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20553         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20554         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20555         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20564         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20566         New file.
20567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20568         New file.
20569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20570         multiarch __ieee754_hypot for PowerPC32.
20571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20572         New file.
20573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20574         New file.
20575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20576         multiarch __ieee754_hypotf for PowerPC32.
20578         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20579         long_double_symbol only if __logbl is defined.
20580         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20581         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20582         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20583         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20584         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20585         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20586         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20587         path for implementation.
20588         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20589         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20591         logb, and logbl multiarch implementations for PowerPC32.
20592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20593         file.
20594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20595         file.
20596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20597         multiarch logb for PowerPC32.
20598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20599         file.
20600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20601         file.
20602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20603         multiarch logbf for PowerPC32.
20604         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20606         file.
20607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20608         multiarch logbl implementation for PowerPC32.
20610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20611         and modff multiarch implementations.
20612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20613         New file.
20614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20615         New file.
20616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20617         multiarch modf for PowerPC32.
20618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20619         New file.
20620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20621         New file.
20622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20623         multiarch modff for PowerPC32.
20625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20626         and lrintf multiarch implementations.
20627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20628         New file.
20629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20630         New file.
20631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20632         multiarch lrint for PowerPC32.
20633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20634         file: multiarch lrintf for PowerPC32.
20636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20637         and lroundf multiarch implementations.
20638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20639         New file.
20640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20641         New file.
20642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20643         New file.
20644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20645         multiarch lround for PowerPC32.
20646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20647         file: multiarch lroundf for PowerPC32.
20649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20650         copysign and copysignf multiarch implementations.
20651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20652         New file.
20653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20654         New file.
20655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20656         file: multiarch copysign for PowerPC32.
20657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20658         file: multiarch copysignf for PowerPC32.
20660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20661         and truncf multiarch implementations.
20662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20663         New file.
20664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20665         file.
20666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20667         multiarch trunc for PowerPC32.
20668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20669         New file.
20670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20671         New file.
20672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20673         multiarch truncf for PowerPC32.
20675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20676         and roundf multiarch implementations.
20677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20678         New file.
20679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20680         file.
20681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20682         multiarch round for PowerPC32.
20683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20684         New file.
20685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20686         New file.
20687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20688         multiarch roundf for PowerPC32.
20690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20691         and floorf multiarch implementations.
20692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20693         New file.
20694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20695         file.
20696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20697         multiarch floor for PowerPC32.
20698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20699         New file.
20700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20701         New file.
20702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20703         multiarch floorf for PowerPC32.
20705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20706         and ceilf multiarch implementations.
20707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20708         New file.
20709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20710         file.
20711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20712         multiarch ceil for PowerPC32.
20713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20714         New file.
20715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20716         file.
20717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20718         multiarch ceilf for PowerPC32.
20720         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20721         is defined.
20722         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20723         FINITEF is defined.
20724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20725         and finitef multiarch implementations.
20726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20727         New file.
20728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20729         file.
20730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20731         multiarch finite for PowerPC32.
20732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20733         New file.
20734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20735         file: multiarch finitef for PowerPC32.
20737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20738         and isinff multiarch implementations.
20739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20740         file.
20741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20742         file.
20743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20744         multiarch isinf for PowerPC32.
20745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20746         New file.
20747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20748         multiarch isinff for PowerPC32.
20750         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20751         alias when __isnan is defined.
20752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20753         and isnanf multiarch implementations.
20754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20755         file.
20756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20757         file.
20758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20759         file.
20760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20761         file.
20762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20763         multiarch isnan for PowerPC32.
20764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20765         New file.
20766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20767         New file.
20768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20769         multiarch isnanf for PowerPC32.
20771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20772         and sqrtf multiarch implementations.
20773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20774         file.
20775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20776         file.
20777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20778         multiarch sqrt for PowerPC32.
20779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20780         file.
20781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20782         file.
20783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20784         multiarch sqrtf for PowerPC32.
20786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20787         and llroundf multiarch implementations.
20788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20789         New file.
20790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20791         New file.
20792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20793         New file.
20794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20795         file: multiarch llround for PowerPC32.
20796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20797         file: multiarch llroundf for PowerPC32.
20799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20800         multiarch PowerPC32 fpu implementations.
20801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20802         New file.
20803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20804         New file.
20805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20806         multiarch llrint for PowerPC32.
20807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20808         New file.
20809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20810         New file.
20811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20812         file.
20814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20816         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20817         file.
20818         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20819         file.
20820         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20821         file.
20822         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20823         multiarch wordcopy for PPC32.
20824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20825         wordcopy objects.
20826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20827         (__libc_ifunc_impl_list): Likewise.
20828         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20829         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20830         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20831         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20832         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20833         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20835         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20837         file.
20838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20839         file.
20840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20841         file.
20842         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20843         multiarch wcscpy for PPC32.
20844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20845         multiarch objects.
20846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20847         (__libc_ifunc_impl_list): Likewise.
20848         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20849         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20850         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20851         sysdeps/powerpc/power6/wcscpy.c.
20853         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20854         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20855         file.
20856         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20857         file.
20858         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20859         file.
20860         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20861         multiarch wcsrchr for PPC32.
20862         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20863         multiarch objects.
20864         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20865         (__libc_ifunc_impl_list): Likewise.
20866         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20867         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20868         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20869         sysdeps/powerpc/power6/wcsrchr.c.
20871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20872         file.
20873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20874         file.
20875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20876         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20877         multiarch wcschr for PPc32.
20878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20879         multiarch objects.
20880         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20881         (__libc_ifunc_impl_list): Likewise.
20882         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20883         * sysdeps/powerpc/power6/wcschr.c: ... to here.
20884         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20885         sysdeps/powerpc/power6/wcschr.c.
20887         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20888         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20889         file.
20890         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20891         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20892         file: multiarch strchr for PPC32.
20893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20894         multiarch objects.
20895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20896         (__libc_ifunc_impl_list): Likewise.
20898         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20899         name.
20900         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20901         file.
20902         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20903         file.
20904         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20905         multiarch strchrnul for PPC32.
20906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20907         multiarch objects.
20908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20909         (__libc_ifunc_impl_list): Likewise.
20911         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20912         file.
20913         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20914         multiarch strncasecmp for PPC32.
20915         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20916         file.
20917         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20918         multiarch strncasecmp_l for PPC32.
20919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20920         strncasecmp multiarch objects.
20921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20922         (__libc_ifunc_impl_list): Likewise.
20924         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20925         file.
20926         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20927         multiarch strncasecmp for PPC32.
20928         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20929         New file.
20930         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20931         multiarch strcasecmp_l for PPC32.
20932         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20933         multiarch objects.
20934         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20935         (__libc_ifunc_impl_list): Likewise.
20937         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20938         file.
20939         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20940         file.
20941         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20942         multiarch strncmp for PPC32.
20943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20944         multiarch objects.
20945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20946         (__libc_ifunc_impl_list): Likewise.
20948         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20949         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20950         file.
20951         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20952         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20954         multiarch objects.
20955         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20956         (__libc_ifunc_impl_list): Likewise.
20958         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20959         file.
20960         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20961         file.
20962         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20963         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20964         multiarch objects.
20965         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20966         (__libc_ifunc_impl_list): Likewise.
20968         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20969         file.
20970         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20971         file.
20972         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20973         multiarch rawmemchr for PPC32.
20974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20975         multiarch objects.
20976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20977         (__libc_ifunc_impl_list): Likewise.
20979         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20980         file.
20981         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20982         file.
20983         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20984         file: memrchr multiarch for PPC32.
20985         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20986         multiarch objects.
20987         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20988         (__libc_ifunc_impl_list): Likewise.
20990         * string/memchr.c (__memchr): Using macro to redefine symbol name.
20991         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20992         file.
20993         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20994         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20995         multiarch memchr for PPC32.
20996         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20997         multiarch objects.
20998         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20999         (__libc_ifunc_impl_list): Likewise.
21001         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21002         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21003         file.
21004         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21005         file.
21006         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21007         file: multiarch mempcpy for PPC32.
21008         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21009         multiarch objects.
21010         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21011         (__libc_ifunc_impl_list): Likewise.
21013         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21014         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21015         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21016         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21017         multiarch bzero for PPC32.
21018         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21019         file.
21020         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21021         file.
21022         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21023         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21024         file: multiarch memset for PPC32.
21025         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21027         memset multiarch objects.
21028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21029         (__libc_ifunc_impl_list): Likewise.
21031         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21032         file.
21033         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21034         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21035         memcmp for PPC32.
21036         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21038         multiarch objects.
21039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21040         (__libc_ifunc_impl_list): Likewise.
21042         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21043         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21044         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21045         file.
21046         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21047         file.
21048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21049         file.
21050         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21051         multiarch memcpy for PPC32.
21052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21053         multiarch objects.
21054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21055         (__libc_ifunc_impl_list): Likewise.
21057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21058         support multiarch for POWER/PPC32.
21059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21060         Likewise.
21061         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21063         Implies file to make multiarch folder appers before the fpu and
21064         default folder for power4 configuration.
21066 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21068         * scripts/bench.pl: Append volatile keyword to type.
21070 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21072         * sysdeps/sh/sotruss-lib.c: New file.
21073         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21075 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21079 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
21081         [BZ #6810]
21082         * math/w_tgamma.c: Include <errno.h>.
21083         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
21084         * math/w_tgammaf.c: Include <errno.h>.
21085         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
21086         * math/w_tgammal.c: Include <errno.h>.
21087         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
21088         * math/auto-libm-test-in: Do not allow missing errno on tgamma
21089         underflow.  Add more tgamma tests.
21090         * math/auto-libm-test-out: Regenerated.
21091         * sysdeps/i386/fpu/libm-test-ulps: Update.
21092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21094         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21095         sin, sinh, tan, tanh, tgamma, y0 and y1.
21096         * math/auto-libm-test-out: Regenerated.
21097         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21098         (TEST_COND_x86): Likewise.
21099         (M_E2l): Remove macro.
21100         (M_E3l): Likewise.
21101         (M_2_SQRT_PIl): Likewise.
21102         (M_SQRT_PIl): Likewise.
21103         (M_1_DIV_El): Likewise.
21104         (log_test_data): Use AUTO_TESTS_f_f.
21105         (log10_test_data): Likewise.
21106         (log1p_test_data): Likewise.
21107         (log2_test_data): Likewise.
21108         (sin_test_data): Likewise.
21109         (sin_tonearest_test_data): Likewise.
21110         (sin_towardzero_test_data): Likewise.
21111         (sin_downward_test_data): Likewise.
21112         (sin_upward_test_data): Likewise.
21113         (sinh_test_data): Likewise.
21114         (sinh_tonearest_test_data): Likewise.
21115         (sinh_towardzero_test_data): Likewise.
21116         (sinh_downward_test_data): Likewise.
21117         (sinh_upward_test_data): Likewise.
21118         (tan_test_data): Likewise.
21119         (tan_tonearest_test_data): Likewise.
21120         (tan_towardzero_test_data): Likewise.
21121         (tan_downward_test_data): Likewise.
21122         (tan_upward_test_data): Likewise.
21123         (tanh_test_data): Likewise.
21124         (tgamma_test_data): Likewise.
21125         (y0_test_data): Likewise.
21126         (y1_test_data): Likewise.
21127         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21128         (special_real_inputs): Add pi/4.
21129         * sysdeps/i386/fpu/libm-test-ulps: Update.
21130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21132 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21134         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21135         "longjmp_target" static probes.
21136         (__longjmp): Rename to __longjmp_symbol.
21137         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21138         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21139         on which longjmp to generate.
21140         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21141         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21142         probe.
21143         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21144         (__sigjmp_save): Rename to __sigjmp_save_symbol.
21145         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21146         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21147         and __sigjmp_save_symbol based on which sigsetjmp to generated.
21148         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21150         __longjmp_symbol based on which __longjmp to generate.
21151         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21152         probe.
21153         (setjmp): Rename to setjmp_symbol.
21154         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21155         (_setjmp): Rename to _setjmp_symbol.
21156         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21157         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21158         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21159         which setjmp to generate.
21160         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21161         "longjmp_target" static probes.
21163 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21165         * benchtests/README: Add note about output arguments.
21166         * benchtests/bench-sincos.c: Remove file.
21167         * benchtests/sincos-inputs: New file.
21168         * scripts/bench.pl: Identify output arguments and define
21169         static variables for them.
21171         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21173         [BZ #15941]
21174         * Makefile (INSTALL): Add install-plain.texi as the primary
21175         dependency.
21176         * manual/install-plain.texi: New file.
21177         * manual/install.texi: Include node directive only for
21178         non-plaintext output.
21180 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
21182         * stdlib/longlong.h: Update from GCC.
21184         [BZ #6807]
21185         [BZ #15901]
21186         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21187         * math/w_j0f.c (y0f): Likewise.
21188         * math/w_j0l.c (__y0l): Likewise.
21189         * math/w_j1.c (y1): Likewise.
21190         * math/w_j1f.c (y1f): Likewise.
21191         * math/w_j1l.c (__y1l): Likewise
21192         * math/w_jn.c (yn): Likewise.
21193         * math/w_jnf.c (ynf): Likewise.
21194         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21195         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
21196         value for Bessel function domain errors outside _SVID_ mode.
21197         Adjust sign of return value for yn (negative integer, 0).
21198         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21199         by zero in return for negative x and set sign appropriately for
21200         negative n.
21201         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21202         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21203         * math/libm-test.inc (y0_test_data): Add more tests and adjust
21204         expectations in error cases.
21205         (y1_test_data): Likewise.
21206         (yn_test_data): Likewise.
21207         * sysdeps/i386/fpu/libm-test-ulps: Update.
21208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21210 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21212         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21213         "64" to "64-v1".  Add "64-v2".
21214         (abi-64-options): Rename to ...
21215         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
21216         (abi-64-condition): Rename to ...
21217         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
21218         (abi-64-ld-soname): Rename to ...
21219         (abi-64-v1-ld-soname): ... this.
21220         (abi-64-v2-options): Define.
21221         (abi-64-v2-condition): Likewise.
21222         (abi-64-v2-ld-soname): Likewise.
21223         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21224         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21229 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21230             Alan Modra  <amodra@gmail.com>
21232         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21233         New versions for use with the ELFv2 ABI.
21234         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21235         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21236         declaration.
21237         (struct La_ppc64v2_retval): Likewise.
21238         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21239         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21240         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21241         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21242         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21243         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21244         Do not save or restore CR.
21245         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21246         (_dl_profile_resolve): Do no save or restore CR.  Support extended
21247         return values for ELFv2 ABI.  Fix location of FPR return registers.
21248         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21249         updated values for _CALL_ELF == 2.
21250         (La_regs, La_retval, int_retval): Likewise.
21252 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21254         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21255         (FRAME_MIN_SIZE_PARM): Likewise.
21256         (FRAME_BACKCHAIN): Likewise.
21257         (FRAME_CR_SAVE): Likewise.
21258         (FRAME_LR_SAVE): Likewise.
21259         (FRAME_TOC_SAVE): Likewise.
21260         (FRAME_PARM_SAVE): Likewise.
21261         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21262         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21263         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21264         (call_mcount_parm_offset): New macro.
21265         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21266         (PROF): Use symbolic stack frame offsets.
21267         (TAIL_CALL_SYSCALL_ERROR): Likewise.
21268         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21269         Redefine in terms of FRAME_MIN_SIZE.
21270         (_dl_runtime_resolve): Use symbolic stack frame offsets.
21271         (_dl_profile_resolve): Likewise.  Update comment.
21272         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21273         symbols stack frame offsets.
21274         (__sigsetjmp): Likewise.
21275         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21276         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21277         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21278         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21281         (FRAME_BACKCHAIN): Remove.
21282         (FRAME_CR_SAVE): Likewise.
21283         (FRAME_LR_SAVE): Likewise.
21284         (FRAME_COMPILER_DW): Likewise.
21285         (FRAME_LINKER_DW): Likewise.
21286         (FRAME_TOC_SAVE): Likewise.
21287         (FRAME_PARM_SAVE): Likewise.
21288         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21289         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21290         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21292         (CHECK_SP): Use symbolic stack frame offsets.
21293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21294         zone" instead of caller's parameter save area for temp storage.
21295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21296         Likewise.  Also, use symbolic stack frame offsets.
21297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21298         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21299         our own stack frame instead of the caller's.
21300         (__socket): Use symbolic stack frame offsets.
21302 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21303             Alan Modra  <amodra@gmail.com>
21305         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21306         Define.
21307         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21308         (PPC64_LOCAL_ENTRY_OFFSET): Define.
21309         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21310         New function.
21311         (elf_machine_fixup_plt): Call it.
21312         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
21313         reloc arguments.
21314         (elf_machine_rela): Update call to elf_machine_plt_conflict.
21315         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21316         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21317         r2 before calling target.
21319 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21320             Alan Modra  <amodra@gmail.com>
21322         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21323         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21324         versions of macros to support ELFv2 ABI.
21325         (LOCALENTRY): New macro.
21326         (ENTRY, EALIGN): Use it.
21327         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21328         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21329         fall through into ENTRY entry point.
21330         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21331         Only define if _CALL_ELF != 2.
21333         (elf_machine_matches_host): Verify ABI version matches.
21334         (RTLD_START): Use LOCALENTRY.
21335         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21336         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21337         (PLT_ENTRY_WORDS): New macro.
21338         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21339         (elf_machine_runtime_setup): Support ELFv2 ABI.
21340         (elf_machine_fixup_plt): Likewise.
21341         (elf_machine_plt_conflict): Likewise.
21342         (resolve_ifunc): Likewise.
21343         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21344         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21345         Likewise.
21346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21347         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21349         (makecontext): Support ELFv2 ABI.
21350         * elf/elf.h (EF_PPC64_ABI): Define.
21352 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21354         * sysdeps/powerpc/powerpc64/sysdep.h
21355         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21356         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21357         (ENTRY) [ASSEMBLER]: ... but instead here ...
21358         (EALIGN) [ASSEMBLER]: ... and here.
21359         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21360         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21361         (ENTRY_2) [!ASSEMBLER]: Use it.
21362         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21363         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
21364         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21365         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21366         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21368         Use PPC64_LOAD_FUNCPTR.
21370         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21372 2013-12-04  Alan Modra  <amodra@gmail.com>
21374         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21375         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21376         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21377         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21379         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21380         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21381         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21382         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21383         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21384         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21386 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21389         (__makecontext): Fix incorrect CFI when backtracing out of
21390         context created via makecontext.
21391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21392         (__setcontext): Fix incorrect CFI during switch to new context.
21393         (__novec_setcontext): Likewise.
21395 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
21397         [BZ #4772]
21398         * time/strptime_l.c (__strptime_internal): Allow modifiers
21399         in strptime.
21400         * time/tst-strptime.c (day_tests): Add testcase.
21402 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21404         * scripts/bench.pl: Skip over blank lines.
21406 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21408         [BZ #926]
21409         * manual/time.texi (Calendar Time): Clarify what timezone functions
21410         use.
21412 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21416 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
21418         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21419         implementation.
21420         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21421         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21422         * debug/memset_chk.c (__memset_chk): Likewise.
21423         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21424         * debug/strncpy_chk.c: Likewise.
21426 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
21428         [BZ #15268]
21429         [BZ #15425]
21430         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21431         (__ieee754_exp): For possibly underflowing results, check size of
21432         result and force underflow exception if required.
21433         * math/auto-libm-test-in: Add more tests of exp.
21434         * math/auto-libm-test-out: Regenerated.
21435         * sysdeps/i386/fpu/libm-test-ulps: Update.
21436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21438         [BZ #16283]
21439         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21440         * math/w_exp2f.c (__exp2f): Likewise.
21441         * math/w_exp2l.c (__exp2l): Likewise.
21442         * math/auto-libm-test-in: Do not allow missing errno on exp2
21443         underflow.
21444         * math/auto-libm-test-out: Regenerated.
21446 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
21448         [BZ #16274]
21449         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21450         handle filename validation.
21451         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21452         (do_open): Delete.
21454 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
21456         [BZ #6786]
21457         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21458         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21459         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21460         <float.h>.
21461         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21462         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21463         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21464         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21465         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21466         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21467         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21468         * math/auto-libm-test-in: Don't allow missing errno from erfc.
21469         Add more erfc tests.
21470         * math/auto-libm-test-out: Regenerated.
21471         * sysdeps/i386/fpu/libm-test-ulps: Update.
21472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21474         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21475         exp2, expm1, j0 and j1.
21476         * math/auto-libm-test-out: Regenerated.
21477         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21478         (erfc_test_data): Likewise.
21479         (exp_test_data): Likewise.
21480         (exp_tonearest_test_data): Likewise.
21481         (exp_towardzero_test_data): Likewise.
21482         (exp_downward_test_data): Likewise.
21483         (exp_upward_test_data): Likewise.
21484         (exp10_test_data): Likewise.
21485         (exp2_test_data): Likewise.
21486         (expm1_test_data): Likewise.
21487         (j0_test_data): Likewise.
21488         (j1_test_data): Likewise.
21489         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21490         (input_flag_type): Add flag_xfail_rounding.
21491         (input_flags): Add xfail-rounding.
21492         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21493         (output_for_one_input_case): Handle flag_xfail_rounding.
21494         * sysdeps/i386/fpu/libm-test-ulps: Update.
21495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21497 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
21499         [BZ #16289]
21500         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21501         division by 0.
21503 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21505         [BZ #16195]
21506         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21507         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21508         (STAP_PROBE0): New macro.
21509         (STAP_PROBE1): Likewise.
21510         (STAP_PROBE2): Likewise.
21511         (STAP_PROBE3): Likewise.
21512         (STAP_PROBE4): Likewise.
21514 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
21516         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21518 2013-12-02  Steve Ellcey  <sellcey@mips.com>
21520         * benchtests/Makefile (bench): Add sqrt.
21521         (LDLIBS-bench-sqrt): New.
21522         * benchtests/sqrt-input: New.
21524 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
21526         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21527         (GAIH_EAI): Likewise.
21528         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21529         (gaih_inet): Likewise.
21530         (getaddrinfo): Don't use GAIH_EAI.
21532         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21533         (struct gaih): Remove definition.
21535 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21537         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21538         Use HERRNOP directly.
21540 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21544 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
21546         * math/gen-auto-libm-tests.c (test_functions): Add more
21547         single-argument functions.
21548         (special_fill_pi_2): New function.
21549         (special_fill_minus_pi_2): Likewise.
21550         (special_fill_pi_6): Likewise.
21551         (special_fill_minus_pi_6): Likewise.
21552         (special_fill_pi_3): Likewise.
21553         (special_fill_2pi_3): Likewise.
21554         (special_fill_e): Likewise.
21555         (special_fill_1_e): Likewise.
21556         (special_fill_e_minus_1): Likewise.
21557         (special_real_inputs): Add more special inputs.
21558         (output_for_one_input_case): Do not require ERANGE on underflow to
21559         zero if round-to-nearest result does not underflow to zero, unless
21560         exact results required.
21561         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21562         atan, atanh, cbrt, cos and cosh.
21563         * math/auto-libm-test-out: Regenerated.
21564         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21565         (acos_tonearest_test_data): Likewise.
21566         (acos_towardzero_test_data): Likewise.
21567         (acos_downward_test_data): Likewise.
21568         (acos_upward_test_data): Likewise.
21569         (acosh_test_data): Likewise.
21570         (asin_test_data): Likewise.
21571         (asin_tonearest_test_data): Likewise.
21572         (asin_towardzero_test_data): Likewise.
21573         (asin_upward_test_data): Likewise.
21574         (asinh_test_data): Likewise.
21575         (atan_test_data): Likewise.
21576         (atanh_test_data): Likewise.
21577         (cbrt_test_data): Likewise.
21578         (cos_test_data): Likewise.
21579         (cos_tonearest_test_data): Likewise.
21580         (cos_towardzero_test_data): Likewise.
21581         (cos_downward_test_data): Likewise.
21582         (cos_upward_test_data): Likewise.
21583         (cosh_test_data): Likewise.
21584         (cosh_tonearest_test_data): Likewise.
21585         (cosh_towardzero_test_data): Likewise.
21586         (cosh_downward_test_data): Likewise.
21587         (cosh_upward_test_data): Likewise.
21588         * sysdeps/i386/fpu/libm-test-ulps: Update.
21589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21591 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
21593         [BZ #6787]
21594         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21595         * math/w_exp10f.c (__exp10f): Likewise.
21596         * math/w_exp10l.c (__exp10l): Likewise.
21597         * math/libm-test.inc (exp10_test_data): Add more tests and expect
21598         errno settings in existing tests.
21600         [BZ #14032]
21601         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21602         precision control set to double precision.
21603         * sysdeps/i386/fpu/w_sqrt.c: New file.
21604         * math/auto-libm-test-in: Add more tests.
21605         * math/auto-libm-test-out: Update.
21607         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21608         (sqrt_test_tonearest): New function.
21609         (sqrt_towardzero_test_data): New variable.
21610         (sqrt_test_towardzero): New function.
21611         (sqrt_downward_test_data): New variable.
21612         (sqrt_test_downward): New function.
21613         (sqrt_upward_test_data): New variable.
21614         (sqrt_test_upward): New function.
21615         (main): Call the new functions.
21617         * math/gen-auto-libm-tests.c: New file.
21618         * math/auto-libm-test-in: Likewise.
21619         * math/auto-libm-test-out: New generated file.
21620         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21621         variables.
21622         (%beautify): Add generated representations of zero.
21623         (top level): Set $auto_input and call parse_auto_input.
21624         (beautify): Remove trailing "f" from hex float constants.
21625         (parse_args): Handle XFAIL_TEST.
21626         (convert_condition): New function.
21627         (or_value): Likewise.
21628         (or_cond_value): Likewise.
21629         (generate_testfile): Handle AUTO_TESTS_* lines.
21630         (parse_auto_input): New function.
21631         * math/libm-test.inc (XFAIL_TEST): New macro.
21632         (ERRNO_UNCHANGED): Update value.
21633         (ERRNO_EDOM): Likewise.
21634         (ERRNO_ERANGE): Likewise.
21635         (IGNORE_RESULT): Likewise.
21636         (TEST_COND_flt_32): New macro.
21637         (TEST_COND_dbl_64): Likewise.
21638         (TEST_COND_ldbl_96_intel): Likewise.
21639         (TEST_COND_ldbl_96_m68k): Likewise.
21640         (TEST_COND_ldbl_128): Likewise.
21641         (TEST_COND_ldbl_128ibm): Likewise.
21642         (TEST_COND_long32): Likewise.
21643         (TEST_COND_long64): Likewise.
21644         (TEST_COND_before_rounding): Likewise.
21645         (TEST_COND_after_rounding): Likewise.
21646         (enable_test): Handle XFAIL_TEST flag.
21647         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21648         with finite results.
21649         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21650         auto-libm-test-out.
21652 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21653             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21655         [BZ #16214]
21656         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21657         __tls_get_addr_internal instead of __tls_get_offset in order to
21658         avoid GOT pointer dependency.  Make rtld export
21659         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21660         __tls_get_addr since we are a __tls_get_offset platform.
21661         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21662         GOT pointer being set up before.
21663         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21665 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
21667         * manual/math.texi (Errors in Math Functions): Document accuracy
21668         goals.
21670         [BZ #15004]
21671         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21672         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21673         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21674         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21675         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21676         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21677         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21678         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21679         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21680         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21681         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21682         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21683         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21684         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21685         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21686         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21688         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21689         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21690         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21691         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21692         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21693         Likewise.
21694         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21695         Likewise.
21696         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21697         Likewise.
21698         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21699         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21700         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21701         atomic-feupdateenv and flt-rounds.
21702         * sysdeps/powerpc/nofpu/Versions (libc): Add
21703         __atomic_feholdexcept, __atomic_feclearexcept,
21704         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21705         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21706         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21707         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21708         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21709         here.
21710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21711         Update.
21713         * manual/arith.texi (FP Exceptions): Document that exceptions may
21714         not be raised when matherr is used.
21715         (Math Error Reporting): Document overflow in directed rounding
21716         modes.  Document that errno may not be set when finite values are
21717         returned on overflow.  Document intent to set errno on underflow
21718         only for underflow to zero.
21720         [BZ #16271]
21721         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21722         round-to-nearest then adjust result for other rounding modes.
21723         * include/fenv.h (fegetround): Use libm_hidden_proto.
21724         * math/fegetround.c (fegetround): Use libm_hidden_def.
21725         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21726         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21727         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21728         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21729         Likewise.
21730         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21731         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21732         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21733         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21735 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21737         [BZ #16077]
21738         * nss/Versions (libnss_files): Add
21739         _nss_files_gethostbyname3_r.
21740         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21741         New function.
21742         (HOST_DB_LOOKUP): Remove macro.
21743         (_nss_files_gethostbyname_r): Implement function without the
21744         HOST_DB_LOOKUP macro.
21745         (_nss_files_gethostbyname2_r): Likewise.
21747 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
21749         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21751 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
21753         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21754         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21755         warning.
21757 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21759         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21760         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21761         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21762         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21763         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21764         __fe_nomask_env_priv and attribute_hidden.
21765         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21766         (libc_feupdateenv_test_ppc): Likewise.
21767         (libc_feresetround_ppc): Likewise.
21768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21769         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21770         compat_symbol macro.
21771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21772         (__fe_nomask_env): Likewise.
21773         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21775 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21777         * string/Makefile: Remove ifunc tests.
21778         * string/test-string.h: Define TEST_IFUNC.
21779         * string/test-bcopy-ifunc.c: Remove.
21780         * string/test-bzero-ifunc.c: Likewise.
21781         * string/test-memccpy-ifunc.c: Likewise.
21782         * string/test-memchr-ifunc.c: Likewise.
21783         * string/test-memcmp-ifunc.c: Likewise.
21784         * string/test-memcpy-ifunc.c: Likewise.
21785         * string/test-memmem-ifunc.c: Likewise.
21786         * string/test-memmove-ifunc.c: Likewise.
21787         * string/test-mempcpy-ifunc.c: Likewise.
21788         * string/test-memrchr-ifunc.c: Likewise.
21789         * string/test-memset-ifunc.c: Likewise.
21790         * string/test-rawmemchr-ifunc.c: Likewise.
21791         * string/test-stpcpy-ifunc.c: Likewise.
21792         * string/test-stpncpy-ifunc.c: Likewise.
21793         * string/test-strcasecmp-ifunc.c: Likewise.
21794         * string/test-strcasestr-ifunc.c: Likewise.
21795         * string/test-strcat-ifunc.c: Likewise.
21796         * string/test-strchr-ifunc.c: Likewise.
21797         * string/test-strchrnul-ifunc.c: Likewise.
21798         * string/test-strcmp-ifunc.c: Likewise.
21799         * string/test-strcpy-ifunc.c: Likewise.
21800         * string/test-strcspn-ifunc.c: Likewise.
21801         * string/test-strlen-ifunc.c: Likewise.
21802         * string/test-strncasecmp-ifunc.c: Likewise.
21803         * string/test-strncat-ifunc.c: Likewise.
21804         * string/test-strncmp-ifunc.c: Likewise.
21805         * string/test-strncpy-ifunc.c: Likewise.
21806         * string/test-strnlen-ifunc.c: Likewise.
21807         * string/test-strpbrk-ifunc.c: Likewise.
21808         * string/test-strrchr-ifunc.c: Likewise.
21809         * string/test-strspn-ifunc.c: Likewise.
21810         * string/test-strstr-ifunc.c: Likewise.
21812 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21814         * benchtests/Makefile: Remove ifunc tests.
21815         * benchtests/bench-string.h: Define TEST_IFUNC.
21816         * benchtests/bench-bcopy-ifunc.c: Remove.
21817         * benchtests/bench-bzero-ifunc.c: Likewise.
21818         * benchtests/bench-memccpy-ifunc.c: Likewise.
21819         * benchtests/bench-memchr-ifunc.c: Likewise.
21820         * benchtests/bench-memcmp-ifunc.c: Likewise.
21821         * benchtests/bench-memcpy-ifunc.c: Likewise.
21822         * benchtests/bench-memmem-ifunc.c: Likewise.
21823         * benchtests/bench-memmove-ifunc.c: Likewise.
21824         * benchtests/bench-mempcpy-ifunc.c: Likewise.
21825         * benchtests/bench-memrchr-ifunc.c: Likewise.
21826         * benchtests/bench-memset-ifunc.c: Likewise.
21827         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21828         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21829         * benchtests/bench-stpcpy-ifunc.c: Likewise.
21830         * benchtests/bench-stpncpy-ifunc.c: Likewise.
21831         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21832         * benchtests/bench-strcasestr-ifunc.c: Likewise.
21833         * benchtests/bench-strcat-ifunc.c: Likewise.
21834         * benchtests/bench-strchr-ifunc.c: Likewise.
21835         * benchtests/bench-strchrnul-ifunc.c: Likewise.
21836         * benchtests/bench-strcmp-ifunc.c: Likewise.
21837         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21838         * benchtests/bench-strcpy-ifunc.c: Likewise.
21839         * benchtests/bench-strcspn-ifunc.c: Likewise.
21840         * benchtests/bench-strlen-ifunc.c: Likewise.
21841         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21842         * benchtests/bench-strncat-ifunc.c: Likewise.
21843         * benchtests/bench-strncmp-ifunc.c: Likewise.
21844         * benchtests/bench-strncpy-ifunc.c: Likewise.
21845         * benchtests/bench-strnlen-ifunc.c: Likewise.
21846         * benchtests/bench-strpbrk-ifunc.c: Likewise.
21847         * benchtests/bench-strrchr-ifunc.c: Likewise.
21848         * benchtests/bench-strsep-ifunc.c: Likewise.
21849         * benchtests/bench-strspn-ifunc.c: Likewise.
21850         * benchtests/bench-strstr-ifunc.c: Likewise.
21852 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21854         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21856 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21858         * resolv/netdb.h: Use __glibc_reserved instead __unused.
21859         * rt/aio.h: Likewise.
21860         * sysdeps/gnu/bits/utmp.h: Likewise.
21861         * sysdeps/gnu/bits/utmpx.h: Likewise.
21862         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21863         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21864         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21865         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21866         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21867         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21868         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21869         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21870         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21871         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21872         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21873         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21874         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21876         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21877         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21878         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21879         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21880         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21881         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21882         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21883         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21884         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21885         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21886         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21887         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21888         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21889         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21890         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21891         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21892         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21893         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21894         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21895         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21896         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21897         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21898         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21899         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21900         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21901         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21902         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21903         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21905 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
21907         [BZ #16245]
21908         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21909         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21911 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
21913         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21914         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21915         Likewise.
21917 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21919         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21920         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21921         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21922         (__fesetround): Remove define.
21923         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21924         rounding and exceptions handling.
21925         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21926         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21927         (__fe_nomask_env): Likewise.
21928         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21929         __fegetround instead of fegetround.
21930         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21931         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21933 2013-11-21  Roland McGrath  <roland@hack.frob.com>
21935         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21936         it's there.
21938         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21940 2013-11-21  Meador Inge  <meadori@codesourcery.com>
21942         [BZ #11157]
21943         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21944         (encrypt_r): Likewise.
21945         * malloc/obstack.h (obstack_free): Likewise.
21946         * posix/unistd.h (encrypt): Likewise.
21948 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
21950         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21951         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21952         DL_CALL_DT_FINI() that call the functions directly.
21953         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21954         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21955         * elf/dl-fini.c: Likewise.
21957 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
21959         * malloc/hooks.c (memalign_check): Add alignment rounding.
21960         * malloc/malloc.c (_mid_memalign): New function.
21961         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21962         Implement by calling _mid_memalign.
21963         * manual/probes.texi (Memory Allocation Probes): Remove
21964         memory_valloc_retry and memory_pvalloc_retry.
21966 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21968         * locale/programs/locarchive.c (open_archive): Add const
21969         qualifier to ARCHIVEFNAME and copy default fname to
21970         DEFAULT_FNAME.
21972         [BZ #15601]
21973         * libio/tst-widetext.input: Rename Oriya to Odia.
21974         * locale/iso-639.def: Likewise.
21976         * manual/probes.texi (Mathematical Function Probes): Add
21977         documentation for sin, cos, asin and acos probes.
21978         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21979         (__sin32): Add slowasin probe.
21980         (__cos32): Add slowacos probe.
21981         (__mpsin): Add slowsin probe.
21982         (__mpcos): Add slowcos probe.
21984 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
21986         [BZ #15483]
21987         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21988         thread-local __sim_exceptions_thread and global
21989         __sim_exceptions_global.
21990         (__sim_disabled_exceptions): Change to thread-local
21991         __sim_disabled_exceptions_thread and global
21992         __sim_disabled_exceptions_global.
21993         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21994         and global __sim_round_mode_global.
21995         (__simulate_exceptions): Use thread-local floating-point state and
21996         set global state from it as needed.
21997         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21998         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21999         __sim_round_mode_thread.
22000         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22001         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22002         and global __sim_exceptions_global.
22003         (__sim_disabled_exceptions): Change to thread-local
22004         __sim_disabled_exceptions_thread and global
22005         __sim_disabled_exceptions_global.
22006         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22007         and global __sim_round_mode_global.
22008         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22009         (SIM_SET_GLOBAL): Likewise.
22010         * sysdeps/powerpc/soft-fp/sfp-machine.h
22011         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22012         __sim_round_mode_thread.
22013         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22014         __sim_disabled_exceptions_thread.
22015         (__sim_exceptions): Change to __sim_exceptions_thread.
22016         (__sim_disabled_exceptions): Change to
22017         __sim_disabled_exceptions_thread.
22018         (__sim_round_mode): Change to __sim_round_mode_thread.
22019         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22020         thread-local floating-point state and set global state from it as
22021         needed.
22022         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22023         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22024         (__sim_disabled_exceptions): Remove extern declaration.
22025         (feenableexcept): Use thread-local floating-point state and set
22026         global state from it as needed.
22027         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22028         extern declaration.
22029         (__sim_disabled_exceptions): Likewise.
22030         (__sim_round_mode): Likewise.
22031         (__fegetenv): Use thread-local floating-point state.
22032         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22033         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22034         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22035         floating-point state and set global state from it as needed.
22036         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22037         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22038         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22039         Likewise.
22040         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22041         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22042         Likewise.
22043         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22044         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22045         Use __sim_round_mode_thread.
22046         * math/test-fenv-tls.c: New file.
22047         * math/Makefile (tests): Add test-fenv-tls.
22048         ($(objpfx)test-fenv-tls): Depend on
22049         $(common-objpfx)nptl/libpthread.so.
22051 2013-11-19  Andreas Schwab  <schwab@suse.de>
22053         * locale/programs/locale.c (show_info): Decode wordarray elements.
22054         * locale/categories.def (LC_MONETARY): Add element for
22055         _NL_MONETARY_CRNCYSTR.
22056         * locale/C-monetary.c (conversion_rate): New variable.
22057         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22058         element.
22060 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
22062         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22063         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22065 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22067         * elf/Makefile (tst-auxv): New test.
22068         * elf/tst-auxv.c: New
22069         * elf/rtld.c (dl_main): Adjust AT_EXECFN
22071 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
22073         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22074         (hidden_proto): Caller changed.
22075         (hidden_tls_proto): New macro.
22076         (libc_hidden_tls_proto): Likewise.
22077         (rtld_hidden_tls_proto): Likewise.
22078         (libm_hidden_tls_proto): Likewise.
22079         (libresolv_hidden_tls_proto): Likewise.
22080         (librt_hidden_tls_proto): Likewise.
22081         (libdl_hidden_tls_proto): Likewise.
22082         (libnss_files_hidden_tls_proto): Likewise.
22083         (libnsl_hidden_tls_proto): Likewise.
22084         (libnss_nisplus_hidden_tls_proto): Likewise.
22085         (libutil_hidden_tls_proto): Likewise.
22087 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
22089         [BZ #10253]
22090         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22091         (decompose_rpath): Defer expansion to fillin_rpath.
22092         (_dl_init_paths): Pass linkmap to fillin_rpath.
22094 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22096         * benchtests/Makefile: Add strsep.
22097         * benchtests/bench-strsep.c: New file: strsep benchtest.
22098         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22100 2013-11-18  Andreas Schwab  <schwab@suse.de>
22102         * locale/programs/locale.c (show_info) [case byte]: Check for
22103         '\377' instead of '\177'.
22104         * locale/C-monetary.c (not_available): Always use "\377".
22105         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22106         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
22107         detect unavailable sign_posn locale elements.
22108         * locale/localeconv.c (__localeconv): For grouping and
22109         mon_grouping handle "\177" and "\377" like no grouping.
22110         (INT_ELEM): New macro.  Use it to set all numeric members.
22111         * locale/programs/ld-monetary.c (monetary_read)
22112         <tok_mon_grouping>: Normalize single -1 to the empty string.
22113         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22114         Likewise.
22116 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22118         [BZ #16055]
22119         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22120         when we match (nil).
22121         * stdio-common/tst-sscanf.c (struct test): Add testcase.
22123 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
22125         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22126         (NO_TEST_INLINE): Update value.
22127         (ERRNO_UNCHANGED): Likewise.
22128         (ERRNO_EDOM): Likewise.
22129         (ERRNO_ERANGE): Likewise.
22130         (IGNORE_RESULT): Likewise.
22131         (check_float_internal): Check signs of NaN results if
22132         TEST_NAN_SIGN used.
22133         (check_complex): Pass TEST_NAN_SIGN flag through to second
22134         check_float_internal call.
22135         (copysign_test_data): Add tests with quiet NaNs as second
22136         argument.  Use TEST_NAN_SIGN.
22137         (fabs_test_data): Add test of negative quiet NaN argument.  Use
22138         TEST_NAN_SIGN.
22139         (signbit_test_data): Add tests of quiet NaN argument.
22140         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22142         * math/gen-libm-test.pl (show_exceptions): Take extra argument
22143         $ignore_result.
22144         (parse_args): Handle function results specified as IGNORE.
22145         * math/libm-test.inc (IGNORE_RESULT): New macro.
22146         (check_float_internal): Do not check numerical result if flag
22147         IGNORE_RESULT set.
22148         (check_complex): Pass through IGNORE_RESULT to second
22149         check_float_internal call.
22150         (check_int): Do not check numerical result if flag IGNORE_RESULT
22151         set.
22152         (check_long): Likewise.
22153         (check_bool): Likewise.
22154         (check_longlong): Likewise.
22155         (lrint_test_data): Add tests of infinite and NaN arguments.
22156         (lrint_tonearest_test_data): Likewise.
22157         (lrint_towardzero_test_data): Likewise.
22158         (lrint_downward_test_data): Likewise.
22159         (lrint_upward_test_data): Likewise.
22160         (llrint_test_data): Likewise.
22161         (llrint_tonearest_test_data): Likewise.
22162         (llrint_towardzero_test_data): Likewise.
22163         (llrint_downward_test_data): Likewise.
22164         (llrint_upward_test_data): Likewise.
22165         (lround_test_data): Likewise.
22166         (llround_test_data): Likewise.
22168         * math/libm-test.inc (NO_TEST_INLINE): New macro.
22169         (ERRNO_UNCHANGED): Update value.
22170         (ERRNO_EDOM): Likewise.
22171         (ERRNO_ERANGE): Likewise.
22172         (NO_TEST_INLINE_FLOAT): New macro.
22173         (NO_TEST_INLINE_DOUBLE): Likewise.
22174         (enable_test): New function.
22175         (RUN_TEST_f_f): Check enable_test before running test.
22176         (RUN_TEST_2_f): Likewise.
22177         (RUN_TEST_fff_f): Likewise.
22178         (RUN_TEST_c_f): Likewise.
22179         (RUN_TEST_f_f1): Likewise.
22180         (RUN_TEST_fF_f1): Likewise.
22181         (RUN_TEST_fI_f1): Likewise.
22182         (RUN_TEST_ffI_f1): Likewise.
22183         (RUN_TEST_c_c): Likewise.
22184         (RUN_TEST_cc_c): Likewise.
22185         (RUN_TEST_f_i): Likewise.
22186         (RUN_TEST_f_i_tg): Likewise.
22187         (RUN_TEST_ff_i_tg): Likewise.
22188         (RUN_TEST_f_b): Likewise.
22189         (RUN_TEST_f_b_tg): Likewise.
22190         (RUN_TEST_f_l): Likewise.
22191         (RUN_TEST_f_L): Likewise.
22192         (RUN_TEST_fFF_11): Likewise.
22193         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22194         conditionals.
22195         (cosh_test_data): Likewise.
22196         (exp_test_data): Likewise.
22197         (expm1_test_data): Likewise.
22198         (hypot_test_data): Likewise.
22199         (pow_test_data): Likewise.
22200         (sinh_test_data): Likewise.
22201         (tanh_test_data): Likewise.
22202         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22203         flags argument.
22205         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22206         tests with quiet NaN input and output.
22207         (acosh_test_data): Likewise.
22208         (asin_test_data): Likewise.
22209         (asinh_test_data): Likewise.
22210         (atan_test_data): Likewise.
22211         (atanh_test_data): Likewise.
22212         (atan2_test_data): Likewise.
22213         (cbrt_test_data): Likewise.
22214         (cos_test_data): Likewise.
22215         (cosh_test_data): Likewise.
22216         (erf_test_data): Likewise.
22217         (erfc_test_data): Likewise.
22218         (exp_test_data): Likewise.
22219         (exp10_test_data): Likewise.
22220         (exp2_test_data): Likewise.
22221         (expm1_test_data): Likewise.
22222         (hypot_test_data): Likewise.
22223         (j0_test_data): Likewise.
22224         (j1_test_data): Likewise.
22225         (jn_test_data): Likewise.
22226         (lgamma_test_data): Likewise.
22227         (log_test_data): Likewise.
22228         (log10_test_data): Likewise.
22229         (log1p_test_data): Likewise.
22230         (log2_test_data): Likewise.
22231         (pow_test_data): Likewise.
22232         (scalb_test_data): Likewise.
22233         (sin_test_data): Likewise.
22234         (sincos_test_data): Likewise.
22235         (sinh_test_data): Likewise.
22236         (tan_test_data): Likewise.
22237         (tanh_test_data): Likewise.
22238         (tgamma_test_data): Likewise.
22239         (y0_test_data): Likewise.
22240         (y1_test_data): Likewise.
22241         (yn_test_data): Likewise.
22243         [BZ #16167]
22244         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22245         argument being NaN and avoid computations with second argument in
22246         that case.
22247         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22248         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22249         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22251 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
22253         * locale/iso-639.def: Add Chitwani Tharu (the).
22255 2013-11-14  Andreas Schwab  <schwab@suse.de>
22257         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22258         word instead of empty string.
22260 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22263         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22265         (__fe_nomask_env): Likewise.
22267 2013-11-13  Steve Ellcey  <sellcey@mips.com>
22269         * benchtests/bench-timing.h: Include time.h.
22271 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
22273         [BZ #15997]
22274         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22275         to 3.4.0 for x32.
22276         * sysdeps/unix/sysv/linux/configure: Regenerated.
22278 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
22280         [BZ #16151]
22281         * stdlib/strtod_l.c (round_and_return): Do not consider
22282         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22283         exponent one less than half the least subnormal exponent.
22284         * stdlib/test-strtod-round-data: Add more tests.
22285         * stdlib/tst-strtod-round.c (tests): Regenerated.
22287 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22289         [BZ #14143]
22290         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22291         (__fe_mask_env): Likewise.
22292         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22293         libm_hidden_proto and add function prototype.
22294         (__fe_mask_env): Add function prototype.
22295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22296         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22298         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22300         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22302 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22304         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22305         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22307 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22309         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22310         of htab_find_slot().
22312 2013-11-11  David S. Miller  <davem@davemloft.net>
22314         [BZ #16150]
22315         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22316         symbol in the non-vis3 case in static builds.
22317         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22318         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22319         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22320         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22322 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
22324         [BZ #387]
22325         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22326         it is empty.
22328 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22330         * benchtests/Makefile: Add bench-strtod.
22331         * benchtests/bench-strtod.c: New file: strtod benchtest
22333 2013-11-11  Andreas Schwab  <schwab@suse.de>
22335         [BZ #16153]
22336         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22337         terminating NUL in key length.
22339 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22341         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22342         Add artificial ODP entry for vDSO symbol for PPC64.
22343         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22344         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22346 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22348         [BZ #15374]
22349         * nss/getent.c (services_keys): Recognize services starting with digit.
22351 2013-11-06  David S. Miller  <davem@davemloft.net>
22353         [BZ #15985]
22354         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22355         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22357 2013-11-06  Will Newton  <will.newton@linaro.org>
22359         * manual/memory.texi (Malloc Examples): Remove register
22360         keyword from examples.
22362 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
22364         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22366 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
22368         [BZ #6981]
22369         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22370         depending on [__GCC_IEC_559 > 0].
22371         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22372         depending on [__GCC_IEC_559_COMPLEX > 0].
22374 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
22376         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22377         to iso-639.def.
22379 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
22381         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22383 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
22385         [BZ #16112]
22386         * malloc/malloc (malloc_info): Do not handle first bin as
22387         special case.
22389 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
22391         * locale/iso-639.def: Add Central Nahuatl (nhn).
22393 2013-11-01  Bruno Haible  <bruno@clisp.org>
22395         [BZ #7003]
22396         * manual/math.texi (BSD Random): Specify range upper bound as
22397         in POSIX.
22399 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
22401         * locale/iso-639.def: Add Meadow Mari (mhr).
22403 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
22405         [BZ #14752], [BZ #15763]
22406         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22407         Validate name.
22408         * rt/tst_shm.c: Add test for escaping directory.
22410 2013-10-31  Andreas Schwab  <schwab@suse.de>
22412         [BZ #15917]
22413         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22414         followed by 'x' as part of digit sequence.
22415         * stdio-common/tst-sscanf.c (double_tests2): New tests.
22417 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22419         [BZ #16037]
22420         * configure.ac: allow GNU Make 4.0 and greater.
22421         * configure: Regenerated.
22423 2013-10-30  Will Newton  <will.newton@linaro.org>
22425         [BZ #16038]
22426         * malloc/hooks.c (memalign_check): Limit alignment to the
22427         maximum representable power of two.
22428         * malloc/malloc.c (__libc_memalign): Likewise.
22429         * malloc/tst-memalign.c (do_test): Add test for very
22430         large alignment values.
22431         * malloc/tst-posix_memalign.c (do_test): Likewise.
22433 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
22435         [BZ #11087]
22436         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22437         (munmap_chunk): Likewise.
22438         (mremap_chunk): Likewise.
22440 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
22442         [BZ #15799]
22443         * stdlib/div.c (div): Remove obsolete code.
22444         * stdlib/ldiv.c (ldiv): Likewise.
22445         * stdlib/lldiv.c (lldiv): Likewise.
22447 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22449         [BZ #16071]
22450         * nss/nss_files/files-XXX.c (get_contents_ret): New
22451         enumerator.
22452         (get_contents): New function.
22453         (internal_getent): Use it.  Expand size of LINEBUFLEN.
22455 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
22457         * configure.in: Moved to ...
22458         * configure.ac: ... here. Change reference to configure.in
22459         to configure.ac.
22460         * sysdeps/arm/preconfigure.ac: ... here.
22461         configure.in to configure.ac.
22462         * sysdeps/gnu/configure.in: Moved to ...
22463         * sysdeps/gnu/configure.ac: ... here.
22464         * sysdeps/i386/configure.in: Moved to ...
22465         * sysdeps/i386/configure.ac: ... here.
22466         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22467         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22468         * sysdeps/mach/configure.in: Moved to ...
22469         * sysdeps/mach/configure.ac: ... here.
22470         * sysdeps/mach/hurd/configure.in: Moved to ...
22471         * sysdeps/mach/hurd/configure.ac: ... here.
22472         * sysdeps/powerpc/configure.in: Moved to ...
22473         * sysdeps/powerpc/configure.ac: ... here.
22474         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22475         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22476         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22477         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22478         * sysdeps/s390/s390-32/configure.in: Moved to ...
22479         * sysdeps/s390/s390-32/configure.ac: ... here.
22480         * sysdeps/s390/s390-64/configure.in: Moved to ...
22481         * sysdeps/s390/s390-64/configure.ac: ... here.
22482         * sysdeps/sh/configure.in: Moved to ...
22483         * sysdeps/sh/configure.ac: ... here.
22484         * sysdeps/sparc/configure.in: Moved to ...
22485         * sysdeps/sparc/configure.ac: ... here.
22486         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22487         * sysdeps/unix/sysv/linux/configure.ac: ... here.
22488         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22489         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22490         * sysdeps/x86_64/configure.in: Moved to ...
22491         * sysdeps/x86_64/configure.ac: ... here.
22492         * sysdeps/x86_64/preconfigure.in: Moved to ...
22493         * sysdeps/x86_64/preconfigure.ac: ... here.
22494         * aclocal.m4: Change reference to configure.in to configure.ac.
22495         * config.h.in: Likewise.
22496         * manual/install.texi: Likewise.
22497         * manual/maint.texi: Likewise.
22498         * Makefile: Likewise.
22499         * malloc/Makefile: Likewise.
22500         * nscd/Makefile: Likewise.
22501         * Makeconfig: Change reference to configure.in and
22502         preconfigure.in to configure.ac and preconfigure.ac
22503         respectively.
22504         * INSTALL: Regenerated.
22505         * configure: Likewise.
22506         * sysdeps/gnu/configure: Likewise.
22507         * sysdeps/i386/configure: Likewise.
22508         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22509         * sysdeps/mach/configure: Likewise.
22510         * sysdeps/mach/hurd/configure: Likewise.
22511         * sysdeps/powerpc/configure: Likewise.
22512         * sysdeps/powerpc/powerpc32/configure: Likewise.
22513         * sysdeps/powerpc/powerpc64/configure: Likewise.
22514         * sysdeps/s390/s390-32/configure: Likewise.
22515         * sysdeps/s390/s390-64/configure: Likewise.
22516         * sysdeps/sh/configure: Likewise.
22517         * sysdeps/sparc/configure: Likewise.
22518         * sysdeps/unix/sysv/linux/configure: Likewise.
22519         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22520         * sysdeps/x86_64/configure: Likewise.
22521         * sysdeps/x86_64/preconfigure: Likewise.
22523 2013-10-29  Andreas Schwab  <schwab@suse.de>
22525         * stdio-common/Makefile (tst-swscanf-ENV): Define.
22527 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22529         * benchtests/pow-inputs: Add new inputs.
22531         * benchtests/exp-inputs: Add new inputs.
22533         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22534         conditional check for return value.
22535         (__cos32): Likewise.
22537 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22539         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22540         to provide a boost for large inputs with word alignment.
22541         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22542         implementation based on optimized PPC64 strcpy.
22543         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22544         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22545         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22546         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22548 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22550         [BZ #2801]
22551         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22553 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22555         [BZ #14876]
22556         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22557         * time/tst-strptime.c (day_tests): Add testcase.
22559 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22561         [BZ #14029]
22562         * manual/pattern.texi: Acknowledge that fnmatch can fail.
22564 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
22566         [BZ #16074]
22567         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22568         MAP_FAILED on error.
22570 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22572         [BZ #16072]
22573         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22574         heap for large requests.
22576 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
22578         [BZ #9954]
22579         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22580         result if the result has no associated interface.
22581         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22582         interface for all 127.X.Y.Z addresses.
22584 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
22586         * locale/iso-639.def: Add Ligurian (lij)
22588 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
22590         [BZ #15825]
22591         * sunrpc/rpc_main.c: Document rpcgen -5.
22593 2013-10-19  Michael Stahl  <mstahl@redhat.com>
22595         * elf/rtld.c (do_preload): Print the reason why preloading failed.
22597 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22599         [BZ #10278]
22600         * posix/glob.c: Match only directories when trailing slash is present.
22601         * posix/tst-gnuglob.c (my_opendir): Do not open files.
22602         (main): Add testcase.
22604 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22606         [BZ #15670]
22607         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22609 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
22611         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22612         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22613         AUTH_DES and cindex for FIPS 140-2.
22614         (DES Encryption): Add cindex FIPS 46-3.
22616         * locale/locarchive.h (struct locarhandle): Add fname.
22617         * locale/programs/localedef.c (main): Pass ARGV[remaining]
22618         if an optional argument was specified to --list-archive,
22619         otherwise NULL.
22620         * locale/programs/locarchive.c (show_archive_content): Take new
22621         argument fname and pass it via ah.fname to open_archive.
22622         * locale/programs/localedef.h: Update decl.
22623         (open_archive): If AH->fname is non-null, open that file
22624         rather than the default file name, and don't ignore ENOENT.
22625         (create_archive): Set AH.fname to NULL.
22626         (delete_locales_from_archive): Likewise.
22627         (add_locales_to_archive): Likewise.
22628         * locale/programs/locfile.c (write_all_categories): Likewise.
22630 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
22631             Aldy Hernandez  <aldyh@redhat.com>
22633         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22634         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22635         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22636         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22637         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22638         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22639         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22640         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22641         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22642         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22643         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22644         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22645         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22646         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22647         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22648         Likewise.
22649         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22650         Likewise.
22651         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22652         Likewise.
22653         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22654         Likewise.
22655         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22656         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22657         Likewise.
22658         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22659         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22660         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22661         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22662         Likewise.
22663         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22664         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22665         * sysdeps/powerpc/preconfigure: Likewise.
22666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22667         Likewise.
22668         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22669         Replace contents of file by #include of <fenv_libc.h>.
22670         * sysdeps/powerpc/soft-fp/sfp-machine.h
22671         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22672         and <sys/prctl.h>.
22673         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22674         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22675         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22676         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22677         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22678         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22680         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22681         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22682         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22683         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22684         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22686         Allow copysignl PLT reference to be missing.
22688 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
22689             Joseph Myers  <joseph@codesourcery.com
22691         [BZ #15948]
22692         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22693         single character.
22694         (add_to_tablewc): Assert sequence of wide characters is nonempty.
22696 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22698         * elf/tst-tls-dlinfo.c: Don't include tls.h.
22699         * elf/tst-tls1.c: Likewise.
22700         * elf/tst-tls10.h: Likewise.
22701         * elf/tst-tls14.c: Likewise.
22702         * elf/tst-tls2.c: Likewise.
22703         * elf/tst-tls3.c: Likewise.
22704         * elf/tst-tls4.c: Likewise.
22705         * elf/tst-tls5.c: Likewise.
22706         * elf/tst-tls6.c: Likewise.
22707         * elf/tst-tls7.c: Likewise.
22708         * elf/tst-tls8.c: Likewise.
22709         * elf/tst-tls9.c: Likewise.
22710         * elf/tst-tlsmod1.c: Likewise.
22711         * elf/tst-tlsmod13.c: Likewise.
22712         * elf/tst-tlsmod13a.c: Likewise.
22713         * elf/tst-tlsmod14a.c: Likewise.
22714         * elf/tst-tlsmod16a.c: Likewise.
22715         * elf/tst-tlsmod16b.c: Likewise.
22716         * elf/tst-tlsmod2.c: Likewise.
22717         * elf/tst-tlsmod3.c: Likewise.
22718         * elf/tst-tlsmod4.c: Likewise.
22719         * elf/tst-tlsmod5.c: Likewise.
22720         * elf/tst-tlsmod6.c: Likewise.
22722 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
22724         [BZ #12486]
22725         * malloc/malloc.c: remove checks for statistics.
22727 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22729         [BZ #15277]
22730         * inet/inet_net.c (inet_network): Detect additional invalid strings.
22731         * inet/tst-network.c: Add testcase.
22733 2013-10-17  Andreas Schwab  <schwab@suse.de>
22735         [BZ #15218]
22736         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22737         to determine canonical name.
22739 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22741         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22742         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22743         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22744         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22745         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22746         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22747         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22748         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22749         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22750         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22751         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22752         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22753         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22754         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22755         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22756         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22758         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22759         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22760         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22761         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22762         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22763         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22764         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22765         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22766         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22767         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22768         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22769         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22770         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22771         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22772         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22773         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22774         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22775         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22776         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22777         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22778         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22779         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22780         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22781         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22782         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22783         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22784         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22785         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22786         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22787         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22788         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22789         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22790         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22791         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22792         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22793         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22794         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22795         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22796         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22797         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22798         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22800 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
22802         [BZ #16041]
22803         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22804         make result into a quiet NaN.
22806 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
22808         * soft-fp/adddf3.c: Fix horizontal whitespace.
22809         * soft-fp/addsf3.c: Likewise.
22810         * soft-fp/addtf3.c: Likewise.
22811         * soft-fp/divdf3.c: Likewise.
22812         * soft-fp/divsf3.c: Likewise.
22813         * soft-fp/divtf3.c: Likewise.
22814         * soft-fp/double.h: Likewise.
22815         * soft-fp/eqdf2.c: Likewise.
22816         * soft-fp/eqsf2.c: Likewise.
22817         * soft-fp/eqtf2.c: Likewise.
22818         * soft-fp/extenddftf2.c: Likewise.
22819         * soft-fp/extended.h: Likewise.
22820         * soft-fp/extendsfdf2.c: Likewise.
22821         * soft-fp/extendsftf2.c: Likewise.
22822         * soft-fp/extendxftf2.c: Likewise.
22823         * soft-fp/fixdfdi.c: Likewise.
22824         * soft-fp/fixdfsi.c: Likewise.
22825         * soft-fp/fixdfti.c: Likewise.
22826         * soft-fp/fixsfdi.c: Likewise.
22827         * soft-fp/fixsfsi.c: Likewise.
22828         * soft-fp/fixsfti.c: Likewise.
22829         * soft-fp/fixtfdi.c: Likewise.
22830         * soft-fp/fixtfsi.c: Likewise.
22831         * soft-fp/fixtfti.c: Likewise.
22832         * soft-fp/fixunsdfdi.c: Likewise.
22833         * soft-fp/fixunsdfsi.c: Likewise.
22834         * soft-fp/fixunsdfti.c: Likewise.
22835         * soft-fp/fixunssfdi.c: Likewise.
22836         * soft-fp/fixunssfsi.c: Likewise.
22837         * soft-fp/fixunssfti.c: Likewise.
22838         * soft-fp/fixunstfdi.c: Likewise.
22839         * soft-fp/fixunstfsi.c: Likewise.
22840         * soft-fp/fixunstfti.c: Likewise.
22841         * soft-fp/floatdidf.c: Likewise.
22842         * soft-fp/floatdisf.c: Likewise.
22843         * soft-fp/floatditf.c: Likewise.
22844         * soft-fp/floatsidf.c: Likewise.
22845         * soft-fp/floatsisf.c: Likewise.
22846         * soft-fp/floatsitf.c: Likewise.
22847         * soft-fp/floattidf.c: Likewise.
22848         * soft-fp/floattisf.c: Likewise.
22849         * soft-fp/floattitf.c: Likewise.
22850         * soft-fp/floatundidf.c: Likewise.
22851         * soft-fp/floatundisf.c: Likewise.
22852         * soft-fp/floatunditf.c: Likewise.
22853         * soft-fp/floatunsidf.c: Likewise.
22854         * soft-fp/floatunsisf.c: Likewise.
22855         * soft-fp/floatunsitf.c: Likewise.
22856         * soft-fp/floatuntidf.c: Likewise.
22857         * soft-fp/floatuntisf.c: Likewise.
22858         * soft-fp/floatuntitf.c: Likewise.
22859         * soft-fp/fmadf4.c: Likewise.
22860         * soft-fp/fmasf4.c: Likewise.
22861         * soft-fp/fmatf4.c: Likewise.
22862         * soft-fp/gedf2.c: Likewise.
22863         * soft-fp/gesf2.c: Likewise.
22864         * soft-fp/getf2.c: Likewise.
22865         * soft-fp/ledf2.c: Likewise.
22866         * soft-fp/lesf2.c: Likewise.
22867         * soft-fp/letf2.c: Likewise.
22868         * soft-fp/muldf3.c: Likewise.
22869         * soft-fp/mulsf3.c: Likewise.
22870         * soft-fp/multf3.c: Likewise.
22871         * soft-fp/negdf2.c: Likewise.
22872         * soft-fp/negsf2.c: Likewise.
22873         * soft-fp/negtf2.c: Likewise.
22874         * soft-fp/op-1.h: Likewise.
22875         * soft-fp/op-2.h: Likewise.
22876         * soft-fp/op-4.h: Likewise.
22877         * soft-fp/op-8.h: Likewise.
22878         * soft-fp/op-common.h: Likewise.
22879         * soft-fp/quad.h: Likewise.
22880         * soft-fp/single.h: Likewise.
22881         * soft-fp/soft-fp.h: Likewise.
22882         * soft-fp/sqrtdf2.c: Likewise.
22883         * soft-fp/sqrtsf2.c: Likewise.
22884         * soft-fp/sqrttf2.c: Likewise.
22885         * soft-fp/subdf3.c: Likewise.
22886         * soft-fp/subsf3.c: Likewise.
22887         * soft-fp/subtf3.c: Likewise.
22888         * soft-fp/truncdfsf2.c: Likewise.
22889         * soft-fp/trunctfdf2.c: Likewise.
22890         * soft-fp/trunctfsf2.c: Likewise.
22891         * soft-fp/trunctfxf2.c: Likewise.
22892         * soft-fp/unorddf2.c: Likewise.
22893         * soft-fp/unordsf2.c: Likewise.
22894         * soft-fp/unordtf2.c: Likewise.
22896 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
22898         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22899         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22901 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
22903         * elf/dl-libc.c: Clear initfini list after freeing.
22905 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
22907         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22908         * soft-fp/addsf3.c: Likewise.
22909         * soft-fp/addtf3.c: Likewise.
22910         * soft-fp/divdf3.c: Likewise.
22911         * soft-fp/divsf3.c: Likewise.
22912         * soft-fp/divtf3.c: Likewise.
22913         * soft-fp/double.h: Likewise.
22914         * soft-fp/eqdf2.c: Likewise.
22915         * soft-fp/eqsf2.c: Likewise.
22916         * soft-fp/eqtf2.c: Likewise.
22917         * soft-fp/extenddftf2.c: Likewise.
22918         * soft-fp/extended.h: Likewise.
22919         * soft-fp/extendsfdf2.c: Likewise.
22920         * soft-fp/extendsftf2.c: Likewise.
22921         * soft-fp/extendxftf2.c: Likewise.
22922         * soft-fp/fixdfdi.c: Likewise.
22923         * soft-fp/fixdfsi.c: Likewise.
22924         * soft-fp/fixdfti.c: Likewise.
22925         * soft-fp/fixsfdi.c: Likewise.
22926         * soft-fp/fixsfsi.c: Likewise.
22927         * soft-fp/fixsfti.c: Likewise.
22928         * soft-fp/fixtfdi.c: Likewise.
22929         * soft-fp/fixtfsi.c: Likewise.
22930         * soft-fp/fixtfti.c: Likewise.
22931         * soft-fp/fixunsdfdi.c: Likewise.
22932         * soft-fp/fixunsdfsi.c: Likewise.
22933         * soft-fp/fixunsdfti.c: Likewise.
22934         * soft-fp/fixunssfdi.c: Likewise.
22935         * soft-fp/fixunssfsi.c: Likewise.
22936         * soft-fp/fixunssfti.c: Likewise.
22937         * soft-fp/fixunstfdi.c: Likewise.
22938         * soft-fp/fixunstfsi.c: Likewise.
22939         * soft-fp/fixunstfti.c: Likewise.
22940         * soft-fp/floatdidf.c: Likewise.
22941         * soft-fp/floatdisf.c: Likewise.
22942         * soft-fp/floatditf.c: Likewise.
22943         * soft-fp/floatsidf.c: Likewise.
22944         * soft-fp/floatsisf.c: Likewise.
22945         * soft-fp/floatsitf.c: Likewise.
22946         * soft-fp/floattidf.c: Likewise.
22947         * soft-fp/floattisf.c: Likewise.
22948         * soft-fp/floattitf.c: Likewise.
22949         * soft-fp/floatundidf.c: Likewise.
22950         * soft-fp/floatundisf.c: Likewise.
22951         * soft-fp/floatunsidf.c: Likewise.
22952         * soft-fp/floatunsisf.c: Likewise.
22953         * soft-fp/floatuntidf.c: Likewise.
22954         * soft-fp/floatuntisf.c: Likewise.
22955         * soft-fp/floatuntitf.c: Likewise.
22956         * soft-fp/fmadf4.c: Likewise.
22957         * soft-fp/fmasf4.c: Likewise.
22958         * soft-fp/fmatf4.c: Likewise.
22959         * soft-fp/gedf2.c: Likewise.
22960         * soft-fp/gesf2.c: Likewise.
22961         * soft-fp/getf2.c: Likewise.
22962         * soft-fp/ledf2.c: Likewise.
22963         * soft-fp/lesf2.c: Likewise.
22964         * soft-fp/letf2.c: Likewise.
22965         * soft-fp/muldf3.c: Likewise.
22966         * soft-fp/mulsf3.c: Likewise.
22967         * soft-fp/multf3.c: Likewise.
22968         * soft-fp/negdf2.c: Likewise.
22969         * soft-fp/negsf2.c: Likewise.
22970         * soft-fp/negtf2.c: Likewise.
22971         * soft-fp/op-1.h: Likewise.
22972         * soft-fp/op-2.h: Likewise.
22973         * soft-fp/op-4.h: Likewise.
22974         * soft-fp/op-8.h: Likewise.
22975         * soft-fp/op-common.h: Likewise.
22976         * soft-fp/quad.h: Likewise.
22977         * soft-fp/single.h: Likewise.
22978         * soft-fp/soft-fp.h: Likewise.
22979         * soft-fp/sqrtdf2.c: Likewise.
22980         * soft-fp/sqrtsf2.c: Likewise.
22981         * soft-fp/sqrttf2.c: Likewise.
22982         * soft-fp/subdf3.c: Likewise.
22983         * soft-fp/subsf3.c: Likewise.
22984         * soft-fp/subtf3.c: Likewise.
22985         * soft-fp/truncdfsf2.c: Likewise.
22986         * soft-fp/trunctfdf2.c: Likewise.
22987         * soft-fp/trunctfsf2.c: Likewise.
22988         * soft-fp/trunctfxf2.c: Likewise.
22989         * soft-fp/unorddf2.c: Likewise.
22990         * soft-fp/unordsf2.c: Likewise.
22991         * soft-fp/unordtf2.c: Likewise.
22993 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
22995         [BZ #15672]
22996         * misc/error.c (error_tail): Fix possible buffer overflow.
22998 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
23000         [BZ #13028]
23001         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23002         address.
23004 2013-10-14  P. J. McDermott  <pj@pehjota.net>
23006         [BZ #832]
23007         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
23008         testing pipefail option.
23010 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23012         * soft-fp/double.h: Indent preprocessor directives inside #if.
23013         * soft-fp/extended.h: Likewise.
23014         * soft-fp/op-2.h: Likewise.
23015         * soft-fp/op-4.h: Likewise.
23016         * soft-fp/op-common.h: Likewise.
23017         * soft-fp/quad.h: Likewise.
23018         * soft-fp/single.h: Likewise.
23019         * soft-fp/soft-fp.h: Likewise.
23021 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
23023         * iconv/iconv_prog.c: Fix typos.
23024         * stdio-common/psiginfo-data.h: Likewise.
23026 2013-10-12   Reuben Thomas <rrt@sc3d.org>
23028         [BZ #15764]
23029         * locale/setlocale.c: Fix typo.
23031 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23033         [BZ #16036]
23034         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23035         signaling NaN arguments.
23036         * soft-fp/unordsf2.c (__unordsf2): Likewise.
23037         * soft-fp/unordtf2.c (__unordtf2): Likewise.
23039         [BZ #14910]
23040         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23041         unordered operands.
23042         * soft-fp/gesf2.c (__gesf2): Likewise.
23043         * soft-fp/getf2.c (__getf2): Likewise.
23044         * soft-fp/ledf2.c (__ledf2): Likewise.
23045         * soft-fp/lesf2.c (__lesf2): Likewise.
23046         * soft-fp/letf2.c (__letf2): Likewise.
23048         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23049         * soft-fp/eqsf2.c (__eqsf2): Likewise.
23050         * soft-fp/eqtf2.c (__eqtf2): Likewise.
23051         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23052         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23053         * soft-fp/fixdfti.c (__fixdfti): Likewise.
23054         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23055         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23056         * soft-fp/fixsfti.c (__fixsfti): Likewise.
23057         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23058         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23059         * soft-fp/fixtfti.c (__fixtfti): Likewise.
23060         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23061         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23062         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23063         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23064         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23065         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23066         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23067         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23068         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23069         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23070         * soft-fp/floatdisf.c (__floatdisf): Likewise.
23071         * soft-fp/floatsisf.c (__floatsisf): Likewise.
23072         * soft-fp/floattidf.c (__floattidf): Likewise.
23073         * soft-fp/floattisf.c (__floattisf): Likewise.
23074         * soft-fp/floattitf.c (__floattitf): Likewise.
23075         * soft-fp/floatundidf.c (__floatundidf): Likewise.
23076         * soft-fp/floatundisf.c (__floatundisf): Likewise.
23077         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23078         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23079         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23080         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23081         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23082         * soft-fp/gesf2.c (__gesf2): Likewise.
23083         * soft-fp/getf2.c (__getf2): Likewise.
23084         * soft-fp/ledf2.c (__ledf2): Likewise.
23085         * soft-fp/lesf2.c (__lesf2): Likewise.
23086         * soft-fp/letf2.c (__letf2): Likewise.
23088         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23089         Undefine and redefine.
23090         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23091         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23092         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23093         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23094         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23095         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23096         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23097         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23098         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23099         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23100         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23101         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23102         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23103         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23104         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23106         [BZ #16032]
23107         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23108         without decrementing exponent if mantissa >= that for the
23109         denominator, not >.
23110         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23111         denominator, not >.  Decrement exponent in < case instead of
23112         incrementing in >= case.
23113         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23114         without decrementing exponent if mantissa >= that for the
23115         denominator, not >.
23117         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23118         computing saturated result for unsigned overflow.
23120 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23121             Jeff Law  <law@redhat.com>
23123         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23124         (atan2Mp): Add systemtap probe marker.
23125         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23126         (__ieee754_log): Add systemtap probe marker.
23127         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23128         (atanMp): Add systemtap probe marker.
23129         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23130         (tanMp): Add systemtap probe marker.
23131         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23132         (__slowexp): Add systemtap probe marker.
23133         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23134         (__slowpow): Add systemtap probe marker.
23135         * manual/probes.texi: Document probes.
23137 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
23139         [BZ #15362]
23140         * libio/fileops.c (_IO_new_file_write): Return count of bytes
23141         written.
23142         (_IO_new_file_xsputn): Don't return EOF if nothing has been
23143         written.
23144         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23145         written to buffer but not flushed.
23146         * libio/iofwrite_u.c:  Likewise.
23147         * libio/iopadn.c:  Return bytes returned even if EOF was
23148         encountered.
23149         * libio/iowpadn.c:  Likewise.
23150         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23151         if _IO_padn does not write the whole buffer.
23152         [!COMPILE_WPRINTF] (PAD): Likewise.
23154 2013-10-10  David S. Miller  <davem@davemloft.net>
23156         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23157         directory block.
23159 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23161         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
23162         instead of FSF address.
23163         * soft-fp/fixdfti.c: Likewise.
23164         * soft-fp/fixsfti.c: Likewise.
23165         * soft-fp/fixtfti.c: Likewise.
23166         * soft-fp/fixunsdfti.c: Likewise.
23167         * soft-fp/fixunssfti.c: Likewise.
23168         * soft-fp/fixunstfti.c: Likewise.
23169         * soft-fp/floattidf.c: Likewise.
23170         * soft-fp/floattisf.c: Likewise.
23171         * soft-fp/floattitf.c: Likewise.
23172         * soft-fp/floatuntidf.c: Likewise.
23173         * soft-fp/floatuntisf.c: Likewise.
23174         * soft-fp/floatuntitf.c: Likewise.
23175         * soft-fp/trunctfxf2.c: Likewise.
23177         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
23178         * soft-fp/fixdfti.c: Likewise.
23179         * soft-fp/fixsfti.c: Likewise.
23180         * soft-fp/fixtfti.c: Likewise.
23181         * soft-fp/fixunsdfti.c: Likewise.
23182         * soft-fp/fixunssfti.c: Likewise.
23183         * soft-fp/fixunstfti.c: Likewise.
23184         * soft-fp/floattidf.c: Likewise.
23185         * soft-fp/floattisf.c: Likewise.
23186         * soft-fp/floattitf.c: Likewise.
23187         * soft-fp/floatuntidf.c: Likewise.
23188         * soft-fp/floatuntisf.c: Likewise.
23189         * soft-fp/floatuntitf.c: Likewise.
23190         * soft-fp/trunctfxf2.c: Likewise.
23192 2013-10-10  David S. Miller  <davem@davemloft.net>
23194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23196 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
23198         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23199         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23200         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23201         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23202         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23203         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23204         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23206         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23207         for NaNs before doing comparisons on argument.
23208         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23209         Likewise.
23211 2013-10-10  Will Newton  <will.newton@linaro.org>
23213         * malloc/hooks.c (memalign_check): Ensure the value of bytes
23214         passed to _int_memalign does not overflow.
23216 2013-10-10  Torvald Riegel  <triegel@redhat.com>
23218         * scripts/bench.pl: Add include-sources directive.
23219         * benchtests/README: Update documentation.
23221 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23223         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23224         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23225         instead of FP_INIT_ROUNDMODE.
23226         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23227         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23229         [BZ #16034]
23230         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
23231         copy class of input value.
23232         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
23233         not handle exceptions.
23234         * soft-fp/negsf2.c (__negsf2): Likewise.
23235         * soft-fp/negtf2.c (__negtf2): Likewise.
23236         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23238 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
23240         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23241         semicolon.  From Linux kernel.
23243 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
23245         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23247 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
23249         [BZ #156]
23250         * manual/socket.texi: Added statement about buffer
23251         for gethostbyname2_r.
23253 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
23255         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23256         Use .p2align directive instead, throughout.
23257         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23258         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23259         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23260         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23261         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23262         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23263         * sysdeps/x86_64/strchr.S: Likewise.
23264         * sysdeps/x86_64/strrchr.S: Likewise.
23266 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23268         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23270         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23272         * sysdeps/generic/math_private.h (__mpsin1): Remove
23273         declaration.
23274         (__mpcos1): Likewise.
23275         (__mpsin): New argument __range_reduce.
23276         (__mpcos): Likewise.
23277         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23278         (slow): Use __mpsin and __mpcos.
23279         (slow1): Likewise.
23280         (slow2): Likewise.
23281         (sloww): Likewise.
23282         (sloww1): Likewise.
23283         (sloww2): Likewise.
23284         (bsloww): Likewise.
23285         (bsloww1): Likewise.
23286         (bsloww2): Likewise.
23287         (cslow2): Likewise.
23288         (csloww): Likewise.
23289         (csloww1): Likewise.
23290         (csloww2): Likewise.
23291         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23292         range_reduce.  Merge in __mpsin1.
23293         (__mpcos): Likewise.
23294         (__mpsin1): Remove.
23295         (__mpcos1): Likewise.
23297 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
23299         * locale/loadlocale.c (_nl_intern_locale_data): Use
23300         LOCFILE_ALIGNED_P.
23301         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23302         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23303         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23304         obstack data is appropriately aligned.
23305         (obstack_int32_grow_fast): Likewise.
23306         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23307         * locale/programs/locfile.c (add_locale_uint32): Likewise.
23308         (add_locale_uint32_array): Likewise.
23310 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23312         * benchtests/Makefile: Remove ARGLIST and RET variables.
23313         ($(objpfx)bench-%.c): Pass only function name to the script.
23314         * benchtests/README: Update documentation.
23315         * benchtests/acos-inputs: Add new directives.
23316         * benchtests/acosh-inputs: Likewise.
23317         * benchtests/asin-inputs: Likewise.
23318         * benchtests/asinh-inputs: Likewise.
23319         * benchtests/atan-inputs: Likewise.
23320         * benchtests/atanh-inputs: Likewise.
23321         * benchtests/cos-inputs: Likewise.
23322         * benchtests/cosh-inputs: Likewise.
23323         * benchtests/exp-inputs: Likewise.
23324         * benchtests/log-inputs: Likewise.
23325         * benchtests/pow-inputs: Likewise.
23326         * benchtests/rint-inputs: Likewise.
23327         * benchtests/sin-inputs: Likewise.
23328         * benchtests/sinh-inputs: Likewise.
23329         * benchtests/tan-inputs: Likewise.
23330         * benchtests/tanh-inputs: Likewise.
23331         * scripts/bench.pl: Add support for new directives.
23333 2013-10-07  Alan Modra  <amodra@gmail.com>
23335         * README: Fix careless merge.
23337 2013-10-05  Alan Modra  <amodra@gmail.com>
23339         * NEWS: Mention powerpc64le support and bugs fixed.
23340         * README: Both big-endian and little-endian powerpc64 supported.
23342 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23344         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23345         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23346         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23347         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23349 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
23351         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23352         match prototype.
23354 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
23356         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23357         Move -mhard-float appending from
23358         ports/sysdeps/powerpc/powerpc32/Makefile.
23359         [$(with-fp) = yes] (ASFLAGS): Likewise.
23360         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23361         * sysdeps/powerpc/nofpu: Move directory from
23362         ports/sysdeps/powerpc/nofpu.
23363         * sysdeps/powerpc/soft-fp: Move directory from
23364         ports/sysdeps/powerpc/soft-fp.
23365         * sysdeps/powerpc/powerpc32/405: Move directory from
23366         ports/sysdeps/powerpc/powerpc32/405.
23367         * sysdeps/powerpc/powerpc32/440: Move directory from
23368         ports/sysdeps/powerpc/powerpc32/440.
23369         * sysdeps/powerpc/powerpc32/464: Move directory from
23370         ports/sysdeps/powerpc/powerpc32/464.
23371         * sysdeps/powerpc/powerpc32/476: Move directory from
23372         ports/sysdeps/powerpc/powerpc32/476.
23373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23374         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23376         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23378         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23380         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23382         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23383         * README: Update for powerpc-*-linux-gnu software floating point
23384         support in libc.
23386         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23387         case to powerpc/powerpc32*.
23388         * sysdeps/unix/sysv/linux/configure: Regenerated.
23390         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23391         (_FPU_MASK_OM): Define as 0x04.
23392         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23393         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23394         0x00c10080.
23395         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23396         0x0000003c.
23397         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23400         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23401         getcontext_e500.
23402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23403         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23404         setcontext_e500.
23405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23406         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23407         and setcontext_e500.
23409 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
23411         * locale/iso-3166.def: Update iso-1366.def and related occurrences
23413 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23415         * manual/threads.texi (Default Thread Attributes): Fix typo.
23417 2013-10-04  Will Newton  <will.newton@linaro.org>
23419         * malloc/Makefile: Add tst-memalign.
23420         * malloc/tst-memalign.c: New file.
23422         * malloc/tst-posix_memalign.c: Add comments.
23423         (do_test): Add comments and call free on all potentially
23424         allocated pointers. Add space after cast.
23426         * malloc/tst-pvalloc.c: Add comments.
23427         (do_test): Add comments and call free on all potentially
23428         allocated pointers. Remove duplicate check for NULL pointer.
23429         Add space after cast.
23431         * malloc/tst-valloc.c: Add comments.
23432         (do_test): Add comments and call free on all potentially
23433         allocated pointers. Remove duplicate check for NULL pointer.
23434         Add space after cast.
23436 2013-10-04  Alan Modra  <amodra@gmail.com>
23438         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23439         Use stdint types in rather than __attribute__((mode())).
23440         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23442 2013-10-04  Alan Modra  <amodra@gmail.com>
23444         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23445         Correct handling of unaligned relocs for little-endian.
23446         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23448 2013-10-04  Alan Modra  <amodra@gmail.com>
23450         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23451         * configure: Regenerate.
23452         * nptl/shlib-versions: Powerpc*le starts at 2.18.
23453         * shlib-versions: Likewise.
23455 2013-10-04  Alan Modra  <amodra@gmail.com>
23457         * string/tester.c (test_memrchr): Increment reported test cycle.
23459 2013-10-04  Alan Modra  <amodra@gmail.com>
23461         * string/test-memcpy.c (do_one_test): When reporting errors, print
23462         string address and don't overrun end of string.
23464 2013-10-04  Alan Modra  <amodra@gmail.com>
23466         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23467         insrdi.  Make better use of reg selection to speed exit slightly.
23468         Schedule entry path a little better.  Remove useless "are we done"
23469         checks on entry to main loop.  Handle wrapping around zero address.
23470         Correct main loop count.  Handle single left-over word from main
23471         loop inline rather than by using loop_small.  Remove extra word
23472         case in loop_small caused by wrong loop count.  Add little-endian
23473         support.
23474         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23475         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
23476         cache hint.
23477         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23478         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23479         support.  Avoid rlwimi.
23480         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23482 2013-10-04  Alan Modra  <amodra@gmail.com>
23484         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23485         insrdi.  Formatting.
23486         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23487         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23488         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23489         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23490         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23491         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23493 2013-10-04  Alan Modra  <amodra@gmail.com>
23495         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23496         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23497         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23498         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23499         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23500         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23501         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23502         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23503         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
23504         use of regs.  Use power7 mtocrf.  Tidy function tails.
23506 2013-10-04  Alan Modra  <amodra@gmail.com>
23508         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23509         Formatting.  Consistently use rXXX register defines or rN defines.
23510         Use early exit labels that avoid restoring unused non-volatile regs.
23511         Make cr field use more consistent with rWORDn compares.  Rename
23512         regs used as shift registers for unaligned loop, using rN defines
23513         for short lifetime/multiple use regs.
23514         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23515         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
23516         addi 1,1,64 to pop stack frame.  Simplify return value code.
23517         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23519 2013-10-04  Alan Modra  <amodra@gmail.com>
23521         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23522         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
23523         rather than rlwimi.
23524         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23525         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23526         little-endian support.  Correct typos.
23527         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
23528         rather than rlwimi.
23529         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
23530         in loop and entry code to keep "and." results.
23531         (strchr): Add little-endian support.  Comment.  Move cntlzd
23532         earlier in tail.
23533         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23535 2013-10-04  Alan Modra  <amodra@gmail.com>
23537         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23538         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23539         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23540         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23542 2013-10-04  Alan Modra  <amodra@gmail.com>
23544         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23545         (rTMP): Define as r11.
23546         (strcmp): Add little-endian support.  Optimise tail.
23547         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23548         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23549         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23550         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23551         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23552         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23553         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23555 2013-10-04  Alan Modra  <amodra@gmail.com>
23557         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23558         little-endian support.  Remove unnecessary "are we done" tests.
23559         Handle "s" wrapping around zero and extremely large "size".
23560         Correct main loop count.  Handle single left-over word from main
23561         loop inline rather than by using small_loop.  Correct comments.
23562         Delete "zero" tail, use "end_max" instead.
23563         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23565 2013-10-04  Alan Modra  <amodra@gmail.com>
23567         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23568         support.  Don't branch over align.
23569         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23570         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23571         support.  Rearrange tmp reg use to suit.  Comment.
23572         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23574 2013-10-04  Alan Modra  <amodra@gmail.com>
23576         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23578 2013-10-04  Alan Modra  <amodra@gmail.com>
23580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23581         conditional form of branch and link when obtaining pc.
23582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23584 2013-10-04  Alan Modra  <amodra@gmail.com>
23586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23587         HIWORD/LOWORD.
23588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23591 2013-10-04  Alan Modra  <amodra@gmail.com>
23593         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23594         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23595         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23596         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23597         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23598         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23599         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23600         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23601         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23602         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23604 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23605             Alistair Popple <alistair@ozlabs.au.ibm.com>
23606             Alan Modra <amodra@gmail.com>
23608         [BZ #15723]
23609         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23610         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23611         _dl_hwcap access for little-endian.
23612         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
23613         destroy vmx regs when saving unaligned.
23614         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23615         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
23616         destroy vmx regs when saving unaligned.
23618 2013-10-04  Alan Modra  <amodra@gmail.com>
23620         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23621         Don't use a union to pack hi/low value.
23623 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23625         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23626         for little-endian.
23627         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23628         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23629         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23630         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23631         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23633 2013-10-04  Alan Modra  <amodra@gmail.com>
23635         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23636         constants to usual value for .cst8 section, and remove redundant
23637         high address load.
23638         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23639         constant for 0x1p52.  Load little-endian words of double from
23640         correct stack offsets.
23642 2013-10-04  Alan Modra  <amodra@gmail.com>
23644         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23645         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23646         words of double from correct stack offsets.
23647         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23648         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23649         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23650         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23651         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23652         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23653         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23654         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23655         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23656         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23657         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23658         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23659         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23660         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23661         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23662         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23663         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23665 2013-10-04  Alan Modra  <amodra@gmail.com>
23667         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23668         64-bit int/double union.
23669         (_FPU_SETCW): Likewise.
23670         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23671         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23673 2013-10-04  Alan Modra  <amodra@gmail.com>
23675         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23676         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23678 2013-10-04  Alan Modra  <amodra@gmail.com>
23680         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23681         use vector int constants.
23682         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23684 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23686         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23687         array with long long.
23688         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23689         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23690         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23691         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23692         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23693         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23694         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23695         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23696         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23697         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23698         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23699         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23700         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23702 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23704         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23705         (__signbit): Likewise.  Correct for little-endian.
23706         (__signbitl): Call __signbit.
23707         (lrint): Correct for little-endian.
23708         (lrintf): Call lrint.
23710 2013-10-04  Alan Modra  <amodra@gmail.com>
23712         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23713         union 32-bit int array member with 64-bit int array.
23714         (t515, tm256): Double rather than long double.
23715         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23717 2013-10-04  Alan Modra  <amodra@gmail.com>
23719         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23720         Delete.
23721         (IEEE854_LONG_DOUBLE_BIAS): Delete.
23722         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23723         version of math_ldbl.h.
23725 2013-10-04  Alan Modra  <amodra@gmail.com>
23727         [BZ #15734], [BZ #15735]
23728         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23729         all uses of ieee875 long double macros and unions.  Simplify test
23730         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
23731         ldbl_extract_mantissa value for ix,iy exponents.  Properly
23732         normalize after ldbl_extract_mantissa, and don't add hidden bit
23733         already handled.  Don't treat low word of ieee854 mantissa like
23734         low word of IBM long double and mask off bit when testing for
23735         zero.
23736         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23737         all uses of ieee875 long double macros and unions.  Simplify tests
23738         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
23739         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
23740         two1022, instead use their values.  Recognise that tests for large
23741         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
23742         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23743         Rewrite all uses of ieee875 long double macros and unions.  Simplify
23744         test for 0.0L and nan.  Correct negation.
23745         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23746         ieee875 long double macros and unions.  Correct output for large
23747         magnitude x.  Correct absolute value calculation.
23748         (__erfcl): Likewise.
23749         * math/libm-test.inc: Add tests for errors discovered in IBM long
23750         double versions of fmodl, remainderl, erfl and erfcl.
23752 2013-10-04  Alan Modra  <amodra@gmail.com>
23754         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23755         all uses of ieee854 long double macros and unions.  Simplify tests
23756         for long doubles that are fully specified by the high double.
23757         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23758         Likewise.
23759         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23760         Remove dead code too.
23761         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23762         (__ieee754_ynl): Likewise.
23763         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23764         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23765         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23766         Remove dead code too.
23767         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23768         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23769         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23770         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23771         Simplify.
23772         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23773         Simplify.
23774         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23775         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23776         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23777         Comment on variable precision.
23778         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23779         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23780         Likewise.
23781         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23782         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23783         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23784         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23785         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23787 2013-10-04  Alan Modra  <amodra@gmail.com>
23789         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23790         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23791         all uses of ieee854 long double macros and unions.
23792         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23793         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23794         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23795         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23796         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23797         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23798         Likewise.
23799         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23800         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23801         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23802         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23803         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23804         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23805         Simplify sign and nan test too.
23806         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23807         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23808         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23809         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23810         Likewise.
23811         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23812         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23813         Likewise.
23814         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23815         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23816         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23817         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23818         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23819         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23821 2013-10-04  Alan Modra  <amodra@gmail.com>
23823         * stdio-common/printf_size.c (__printf_size): Don't use
23824         union ieee854_long_double in fpnum union.
23825         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
23826         signbit macro to retrieve sign from long double.
23827         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23828         retrieve sign from long double.
23829         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23830         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23831         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23832         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23833         * math/test-misc.c (main): Don't use union ieee854_long_double.
23835 2013-10-04  Alan Modra  <amodra@gmail.com>
23837         [BZ #15680]
23838         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23839         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23840         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23841         calculation.  Remove unnecessary test for denormal exponent.
23842         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23843         Correct handling of denormals.  Avoid undefined shift behaviour.
23844         Correct normalisation of low mantissa when low double is denormal.
23845         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23846         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
23847         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23848         Correct normalisation of low mantissa.  Test for overflow of high
23849         mantissa and normalise.
23850         (ldbl_nearbyint): Use more readable constant for two52.
23851         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23852         (__mpn_construct_long_double): Fix test for overflow of high
23853         mantissa and correct normalisation.  Avoid undefined shift.
23855 2013-10-04  Alan Modra  <amodra@gmail.com>
23857         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23858         (union ibm_extended_long_double): Define as an array of ieee754_double.
23859         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23860         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23861         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23862         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23863         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23864         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23865         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23866         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23867         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23868         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23869         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23871 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
23873         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23874         page size instead of calling getpagesize.
23876         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23877         (LOCFILE_ALIGN_MASK): Likewise.
23878         (LOCFILE_ALIGN_UP): Likewise.
23879         (LOCFILE_ALIGNED_P): Likewise.
23880         * locale/programs/ld-collate.c (collate_output): Use the new
23881         macros instead of __alignof__ (int32_t).
23882         * locale/weight.h (findidx): Likewise.
23884 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
23886         [BZ #431]
23887         * manual/string.texi: Fix strncat and wcsncat.
23889 2013-10-03  Brooks Moses  <bmoses@google.com>
23891         [BZ #15915]
23892         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23893         * Makerules: ...here, and adjust associated comments.
23895 2013-10-02  Will Newton  <will.newton@linaro.org>
23897         * malloc/Makefile: Add tst-pvalloc.
23898         * malloc/tst-pvalloc.c: New file.
23900 2013-10-02  Will Newton  <will.newton@linaro.org>
23902         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23903         improve test coverage.
23905 2013-10-02  Will Newton  <will.newton@linaro.org>
23907         * malloc/Makefile: Add tst-posix_memalign.
23908         * malloc/tst-posix_memalign.c: New file.
23910 2013-10-01  Eric Blake  <eblake@redhat.com>
23912         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23913         Use __THROWNL rather than __THROW on static functions.
23915 2013-09-30  Petr Machata  <pmachata@redhat.com>
23917         * elf/elf.h (R_AARCH64_ABS16): New macro.
23918         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23919         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23920         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23921         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23922         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23923         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23924         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23925         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23926         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23927         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23928         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23929         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23930         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23931         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23932         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23933         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23934         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23935         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23936         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23937         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23938         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23939         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23940         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23941         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23942         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23943         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23944         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23945         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23946         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23947         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23948         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23949         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23950         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23951         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23952         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23953         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23954         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23955         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23956         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23957         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23958         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23959         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23960         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23961         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23962         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23963         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23964         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23965         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23966         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23967         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23968         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23969         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23970         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23971         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23972         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23973         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23974         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23975         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23976         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23977         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23978         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23979         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23980         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23981         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23982         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23983         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23984         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23985         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23986         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23987         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23988         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23989         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23990         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23991         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23992         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23993         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23994         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23995         (R_AARCH64_TLSDESC_LDR): Likewise.
23996         (R_AARCH64_TLSDESC_ADD): Likewise.
23997         (R_AARCH64_TLSDESC_CALL): Likewise.
23999 2013-09-30  Andreas Schwab  <schwab@suse.de>
24001         [BZ #15048]
24002         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24003         the nss database lookup.
24004         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24007 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
24009         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24011 2013-09-28  P. J. McDermott  <pj@pehjota.net>
24013         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24014         ${Bash-specific parameter/pattern/string} parameter expansion.
24015         * sysdeps/unix/make-syscalls.sh: Likewise.
24017 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24019         * sysdeps/sh/stackguard-macros.h: New file.
24021 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
24023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24024         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24025         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24026         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24027         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24028         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24030 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24032         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24033         Fix thread ID register.
24035 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
24037         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24038         [POSIX || UNIX98]: Require rather than permitting all symbols from
24039         <time.h>.
24040         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24041         element of struct sched_param.
24042         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24043         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24044         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24045         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24046         constant.
24048 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
24050         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24051         argument calculation.
24053 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24055         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24056         Expect macro.
24057         [POSIX] (pthread_attr_t): Do not require type.
24058         [POSIX] (pthread_cond_t): Likewise.
24059         [POSIX] (pthread_condattr_t): Likewise.
24060         [POSIX] (pthread_key_t): Likewise.
24061         [POSIX] (pthread_mutex_t): Likewise.
24062         [POSIX] (pthread_mutexattr_t): Likewise.
24063         [POSIX] (pthread_once_t): Likewise.
24064         [POSIX] (pthread_t): Likewise.
24065         [POSIX-based standards] (pthread_atfork): Expect function.
24067 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24068             Richard Sandiford  <richard@codesourcery.com>
24070         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24071         (swap_endianness_p): New extern variable.
24072         (set_big_endian): New inline function.
24073         (maybe_swap_uint32): Likewise.
24074         (maybe_swap_uint32_array): Likewise.
24075         (maybe_swap_uint32_obstack): Likewise.
24076         * locale/programs/locfile.c: Include <stdbool.h>.
24077         (swap_endianness_p): New variable.
24078         (add_locale_uint32): Call maybe_swap_uint32.
24079         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24080         (write_locale_data): Call maybe_swap_uint32_array.
24081         * locale/programs/ld-collate.c (obstack_int32_grow): Call
24082         maybe_swap_uint32.
24083         (obstack_int32_grow_fast): Likewise.
24084         (output_weightwc): Call maybe_swap_uint32_obstack.
24085         (collate_output): Likewise.
24086         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24087         (OPT_LITTLE_ENDIAN): Likewise.
24088         (options): Add --little-endian and --big-endian options.
24089         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24090         * locale/programs/locarchive.c: Include "locfile.h".
24091         (GET): New macro.
24092         (SET): Likewise.
24093         (INC): Likewise.
24094         (create_archive): Use the new macros to access fields of
24095         structures directly mapped from or written to locale archives.
24096         (oldlocrecentcmp): Likewise.
24097         (enlarge_archive): Likewise.
24098         (insert_name): Likewise.
24099         (add_alias): Likewise.
24100         (add_locale): Likewise.
24101         (delete_locales_from_archive): Likewise.
24102         (show_archive_content): Likewise.
24103         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
24104         locale data.
24106 2013-09-24  Roland McGrath  <roland@hack.frob.com>
24108         * manual/freemanuals.texi: Updated from (newly) canonical copy at
24109         http://www.gnu.org/doc/freemanuals.texi.
24110         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24112 2013-09-24  Will Newton  <will.newton@linaro.org>
24114         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24115         macro.
24117 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
24119         * locale/hashval.h (compute_hashval): Interpret bytes of key as
24120         unsigned char.
24122 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
24124         * manual/threads.texi (POSIX Threads): Fix a typo.
24126 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24128         [BZ #14547]
24129         * string/tst-strcoll-overflow.c: New test case.
24130         * string/Makefile (xtests): Add tst-strcoll-overflow.
24131         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24132         cache if string sizes may cause integer overflow.
24134         [BZ #14547]
24135         * string/strcoll_l.c (coll_seq): New members rule, idx,
24136         save_idx and back_us.
24137         (get_next_seq_nocache): New function.
24138         (do_compare_nocache): New function.
24139         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24140         when malloc fails.
24142 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
24144         [BZ #15754]
24145         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24146         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24147         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24149         [BZ #15754]
24150         * elf/Makefile (tests): Add tst-ptrguard1.
24151         (tests-static): Add tst-ptrguard1-static.
24152         (tst-ptrguard1-ARGS): Define.
24153         (tst-ptrguard1-static-ARGS): Define.
24154         * elf/tst-ptrguard1.c: New file.
24155         * elf/tst-ptrguard1-static.c: New file.
24156         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24157         * sysdeps/i386/stackguard-macros.h: Likewise.
24158         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24159         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24160         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24161         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24162         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24163         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24165 2013-09-23  Hector Marco  <hecmargi@upv.es>
24166             Ismael Ripoll  <iripoll@disca.upv.es>
24167             Carlos O'Donell  <carlos@redhat.com>
24169         [BZ #15754]
24170         * sysdeps/generic/stackguard-macros.h: Define
24171         __pointer_chk_guard_local and POINTER_CHK_GUARD.
24172         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24173         Define __pointer_chk_guard_local.
24174         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24175         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24177 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
24179         [BZ #15859]
24180         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24182 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
24184         * include/string.h (__ffs): Declare as hidden.
24185         * string/ffs.c (__ffs): Define as hidden.
24186         * sysdeps/i386/ffs.c (__ffs): Likewise.
24187         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24188         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24189         * sysdeps/s390/ffs.c (__ffs): Likewise.
24190         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24192 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
24194         * NEWS: Mention malloc probes.
24196         * malloc/arena.c (new_heap): New memory_heap_new probe.
24197         (grow_heap): New memory_heap_more probe.
24198         (shrink_heap): New memory_heap_less probe.
24199         (heap_trim): New memory_heap_free probe.
24200         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24201         (systrim): New memory_sbrk_less probe.
24202         * manual/probes.texi: Document them.
24204         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24205         * manual/probes.texi: Document it.
24207         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24208         (__libc_realloc): Add memory_realloc_retry probe.
24209         (__libc_memalign): Add memory_memalign_retry probe.
24210         (__libc_valloc): Add memory_valloc_retry probe.
24211         (__libc_pvalloc): Add memory_pvalloc_retry probe.
24212         (__libc_calloc): Add memory_calloc_retry probe.
24213         * manual/probes.texi: Document them.
24215         * malloc/arena.c (get_free_list): Add probe
24216         memory_arena_reuse_free_list.
24217         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24218         and memory_arena_reuse.
24219         (arena_get2) [!PER_THREAD]: Likewise.
24220         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24221         memory_arena_reuse_realloc.
24222         * manual/probes.texi: Document them.
24224         * malloc/malloc.c (__libc_free): Add
24225         memory_mallopt_free_dyn_thresholds probe.
24226         (__libc_mallopt): Add multiple memory_mallopt probes.
24227         * manual/probes.texi: Document them.
24229         * malloc/malloc.c: Include stap-probe.h.
24230         (__libc_mallopt): Add memory_mallopt probe.
24231         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24232         * manual/probes.texi: New.
24233         * manual/Makefile (chapters): Add probes.
24234         * manual/threads.texi: Set next node.
24236 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
24238         [BZ #15963, #13985]
24239         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24240         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24241         Add `Chinese' to `nan' entry name.
24243 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24245         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24246         (POLYNOMIAL): Likewise.
24247         (TAYLOR_SINCOS): Likewise.
24248         (TAYLOR_SLOW): Likewise.
24249         (__sin): Use TAYLOR_SINCOS.
24250         (__cos): Likewise.
24251         (slow): Use TAYLOR_SLOW.
24252         (sloww): Likewise.
24253         (bsloww): Likewise.
24254         (csloww): Likewise.
24256 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24258         * stdlib/strtod_l.c: Fix buffer overrun.
24260 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24262         * benchtests/Makefile (bench): Add sincos.
24263         * benchtests/bench-sincos.c: New file.
24265         * math/libm-test.inc (cos_test_data): New test inputs.
24266         (sin_test_data): Likewise.
24268         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24269         macro.
24270         (__sin): Use it.
24271         (__cos): Likewise.
24272         (slow1): Likewise.
24273         (slow2): Likewise.
24274         (sloww1): Likewise.
24275         (sloww2): Likewise.
24276         (bsloww1): Likewise.
24277         (bsloww2): Likewise.
24278         (cslow2): Likewise.
24279         (csloww1): Likewise.
24280         (csloww2): Likewise.
24282         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24283         function.
24284         (__sin): Use it.
24285         (__cos): Likewise.
24287         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24288         gotos.
24289         (__cos): Likewise.
24291 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
24293         * config.h.in (HAVE_MIPS_NAN2008): New macro.
24294         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24295         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24296         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24297         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24298         * elf/cache.c (print_entry): Handle the new cache flags.
24300 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
24301             Aldy Hernandez  <aldyh@redhat.com>
24303         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24304         Change condition to [_SOFT_FLOAT].
24305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24307         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24314         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24316         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24317         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24318         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24319         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24320         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24321         declaration.
24323 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
24325         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24326         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24327         (__longjmp): Use LOAD_GP to load saved GPRs.
24328         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24329         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24330         (__sigsetjmp): Use SAVE_GP to save GPRs.
24332         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24333         Do not append -msoft-float.
24334         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24336 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24338         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24340 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
24342         [BZ #15966]
24343         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24344         (_FPU_GETCW): Use initial "__" on variable and field names but not
24345         on macro parameter name.
24346         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
24347         parentheses around reference to macro parameter.
24349 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
24351         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24352         prototype.
24353         (ctype_startup): Use uint32_t in cast and sizeof for
24354         ctype->charnames.
24356 2013-09-11  Jia Liu  <proljc@gmail.com>
24358         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24359         __daddr_t_defined.
24360         [__FreeBSD__]: Likewise.
24362 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
24364         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24365         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24366         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24367         (strchr): Remove __strchr_sse42 ifunc selection.
24368         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24369         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24371 2013-09-11  Will Newton  <will.newton@linaro.org>
24373         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24374         parameter to RES. Remove hardcoded 1000 value.
24375         * benchtests/bench-skeleton.c (main): Pass RES parameter
24376         to TIMING_INIT and multiply result by 1000.
24378 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24382 2013-09-11  Andreas Schwab  <schwab@suse.de>
24384         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24385         if not defined.
24386         (O_TMPFILE) [__USE_GNU]: Define.
24387         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24388         Define.
24390 2013-09-11  Will Newton  <will.newton@linaro.org>
24392         [BZ #15857]
24393         * malloc/malloc.c (__libc_memalign): Check the value of bytes
24394         does not overflow.
24396 2013-09-11  Will Newton  <will.newton@linaro.org>
24398         [BZ #15856]
24399         * malloc/malloc.c (__libc_valloc): Check the value of bytes
24400         does not overflow.
24402 2013-09-11  Will Newton  <will.newton@linaro.org>
24404         [BZ #15855]
24405         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24406         does not overflow.
24408 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
24410         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24411         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24412         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24413         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24414         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24416 2013-09-10  Allan McRae  <allan@archlinux.org>
24418         [BZ #15748]
24419         * manual/arith.texi (Parsing of Floats): Clarify
24420         cross-reference.
24422         [BZ #15849]
24423         * manual/install.texi (Running make install): Mention
24424         --enable-pt-chown.
24425         * INSTALL: Regenerated.
24427 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
24429         * csu/init-first.c (_init): Remove the !SHARED condition around
24430         FPU control word initialization.
24431         * elf/dl-support.c (_dl_fpu_control): New variable.
24432         (_dl_aux_init) <AT_FPUCW>: Initialize it.
24433         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24434         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24435         * math/test-fpucw-static.c: New file.
24436         * math/test-fpucw-ieee.c: New file.
24437         * math/test-fpucw-ieee-static.c: New file.
24438         * math/Makefile (tests): Add `test-fpucw-ieee' and
24439         `$(tests-static)'.
24440         (tests-static): New variable.
24441         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24442         dependency to...
24443         [($(build-shared),yes)]
24444         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24445         ... this.
24446         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24447         New dependency.
24449 2013-09-09  Allan McRae  <allan@archlinux.org>
24451         [BZ #15939]
24452         * manual/string.texi (Collation Functions): Fix typo in
24453         strcoll example.
24454         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24456         [BZ #15893]
24457         * stdlib/isomac.c (get_null_defines): Fix memory leak.
24459         [BZ #15892]
24460         * libio/memstream.c (open_memstream): Fix memory leak.
24461         * libio/wmemstream.c (open_wmemstream): Likewise.
24463         [BZ #15895]
24464         * nscd/netgroupcache.c: Fix nesting of ifdefs.
24466 2013-09-09  Will Newton  <will.newton@linaro.org>
24468         * malloc/Makefile: Add tst-realloc to tests.
24469         * malloc/tst-realloc.c: New file.
24471 2013-09-09  Allan McRae  <allan@archlinux.org>
24473         [BZ #15844]
24474         * COPYING: Update from GNU website to fix FSF address.
24475         * COPYING.LIB: Likewise.
24477 2013-09-06  David S. Miller  <davem@davemloft.net>
24479         * po/zh_TW.po: Update Chinese (traditional) translation from
24480         translation project.
24482 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
24483             Joseph Myers  <joseph@codesourcery.com>
24485         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24486         "localeinfo.h".
24487         (obstack_chunk_alloc): New macro.
24488         (obstack_chunk_free): Likewise.
24489         (record_offset): New function.
24490         (init_locale_data): Likewise.
24491         (align_locale_data): Likewise.
24492         (add_locale_empty): Likewise.
24493         (add_locale_raw_data): Likewise.
24494         (add_locale_raw_obstack): Likewise.
24495         (add_locale_string): Likewise.
24496         (add_locale_wstring): Likewise.
24497         (add_locale_uint32): Likewise.
24498         (add_locale_uint32_array): Likewise.
24499         (add_locale_char): Likewise.
24500         (start_locale_structure): Likewise.
24501         (end_locale_structure): Likewise.
24502         (start_locale_prelude): Likewise.
24503         (end_locale_prelude): Likewise.
24504         (write_locale_data): Take locale_file structure rather than an
24505         iovec.
24506         * locale/programs/locfile.h: Include "obstack.h".
24507         (struct locale_file): Change to store locale file contents instead
24508         of header.
24509         (init_locale_data): New prototype.
24510         (align_locale_data): Likewise.
24511         (add_locale_empty): Likewise.
24512         (add_locale_raw_data): Likewise.
24513         (add_locale_raw_obstack): Likewise.
24514         (add_locale_string): Likewise.
24515         (add_locale_wstring): Likewise.
24516         (add_locale_uint32): Likewise.
24517         (add_locale_uint32_array): Likewise.
24518         (add_locale_char): Likewise.
24519         (start_locale_structure): Likewise.
24520         (end_locale_structure): Likewise.
24521         (start_locale_prelude): Likewise.
24522         (end_locale_prelude): Likewise.
24523         (write_locale_data): Update prototype.
24524         * locale/programs/3level.h (struct TABLE): Remove result field.
24525         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24526         Use new locale_file interface.
24527         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24528         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24529         * locale/programs/ld-address.c (address_output): Use new
24530         locale_file interface.
24531         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24532         NO_ADD_LOCALE.
24533         (collate_finish): Don't call collseq_table_finalize.
24534         (collate_output): Use new locale_file interface.
24535         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24536         in file.
24537         (NO_FINALIZE): Change to NO_ADD_LOCALE.
24538         (TABLE): Move defines earlier in file.
24539         (ELEMENT): Likewise.
24540         (DEFAULT): Likewise.
24541         (wctrans_table_add): Move macro and inline function earlier in
24542         file.
24543         (struct wctype_table): Move type earlier in file.
24544         (add_locale_wctype_table): New static prototype.
24545         (struct locale_ctype_t): Use logical types instead of struct iovec
24546         pointers for members.
24547         (ctype_output): Use new locale_file interface.
24548         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
24549         new locale_file interface.
24550         (allocate_arrays): Update for use of new locale_file interface.
24551         * locale/programs/ld-identification.c (identification_output): Use
24552         new locale_file interface.
24553         * locale/programs/ld-measurement.c (measurement_output): Likewise.
24554         * locale/programs/ld-messages.c (messages_output): Likewise.
24555         * locale/programs/ld-monetary.c (monetary_output): Likewise.
24556         * locale/programs/ld-name.c (name_output): Likewise.
24557         * locale/programs/ld-numeric.c (numeric_output): Likewise.
24558         * locale/programs/ld-paper.c (paper_output): Likewise.
24559         * locale/programs/ld-telephone.c (telephone_output): Likewise.
24560         * locale/programs/ld-time.c (time_output): Likewise.
24562 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24564         * benchtests/Makefile: Add memrchr benchmark.
24565         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24566         benchmark as memrchr.
24567         * benchtests/bench-memrchr-ifunc.c: New file.
24568         * benchtests/bench-memrchr.c: New file.
24570 2013-09-06   Will Newton  <will.newton@linaro.org>
24572         * benchtests/Makefile (string-bench): Add memcpy.
24574 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
24575             Cong Wang  <amwang@redhat.com>
24577         [BZ #15850]
24578         * sysdeps/unix/sysv/linux/bits/in.h
24579         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24580         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24581         before __USE_KERNEL_IPV6_DEFS uses.
24582         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24583         IPPROTO_BEETPH.
24584         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24585         sockaddr_in6, or ipv6_mreq.
24587 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24589         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24590         memory access for final bytes in some large inputs.
24591         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24593 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24595         * string/test-memrchr.c: New file.
24596         * string/test-memrchr-ifunc.c: New file.
24597         * string/Makefile: Add new memrchr testcase.
24599 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
24601         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24602         fanotify_init returns EPERM.
24604 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24606         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24607         errors.
24608         (top level): Treat second token from macro or constant entries for
24609         allowed headers as allowed.
24610         * include/complex.h: Condition internal declarations on
24611         [!_ISOMAC].
24612         * include/fenv.h: Condition include of <stdbool.h> and internal
24613         declarations on [!_ISOMAC].
24615 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
24617         [BZ #15923]
24618         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24620 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24622         * configure.in (--enable-versioning): Remove configure option.
24623         (libc_cv_asm_symver_directive): Remove configure test.
24624         (libc_cv_ld_version_script_option): Likewise.
24625         (VERSIONING): Remove variable and AC_SUBST.
24626         (DO_VERSIONING): Remove AC_DEFINE.
24627         * configure: Regenerated.
24628         * config.h.in (DO_VERSIONING): Remove macro.
24629         * Makerules [$(versioning) = yes]: Change conditionals to
24630         [$(build-shared) = yes].
24631         * config.make.in (versioning): Remove variable.
24632         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24633         [$(build-shared) = yes].
24634         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24635         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24636         * elf/Makefile [$(versioning) = yes]: Change conditionals to
24637         [$(build-shared) = yes].
24638         * extra-lib.mk [$(versioning) = yes]: Likewise.
24639         * hurd/Makefile [$(versioning) = yes]: Likewise.
24640         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24641         [SHARED].
24642         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24643         [SHARED].
24644         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24645         [SHARED && !NO_HIDDEN].
24646         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24647         [SHARED].
24648         [SHARED && DO_VERSIONING]: Likewise..
24649         * libio/Makefile [$(versioning) = yes]: Change conditionals to
24650         [$(build-shared) = yes].
24651         * manual/install.texi (--disable-versioning): Remove
24652         documentation.
24653         * INSTALL: Regenerated.
24654         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24655         to [SHARED].
24656         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24657         [$(build-shared) = yes].
24658         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24659         * sysdeps/i386/i686/multiarch/strstr-c.c
24660         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24661         [SHARED && !NO_HIDDEN].
24662         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24663         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24664         * sysdeps/powerpc/powerpc32/dl-machine.c
24665         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24666         * sysdeps/powerpc/powerpc32/sysdep.h
24667         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24668         to [SHARED && PIC && !NO_HIDDEN].
24669         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24670         conditional to [SHARED].
24672 2013-09-04   Will Newton  <will.newton@linaro.org>
24674         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24675         * benchtests/bench-string.h: Include bench-timing.h instead
24676         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24677         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24678         call to HP_TIMING_DIFF_INIT.
24679         * benchtests/bench-memccpy.c: Use bench-timing.h macros
24680         instead of hp-timing.h macros.
24681         * benchtests/bench-memchr.c: Likewise.
24682         * benchtests/bench-memcmp.c: Likewise.
24683         * benchtests/bench-memcpy.c: Likewise.
24684         * benchtests/bench-memmem.c: Likewise.
24685         * benchtests/bench-memmove.c: Likewise.
24686         * benchtests/bench-memset.c: Likewise.
24687         * benchtests/bench-rawmemchr.c: Likewise.
24688         * benchtests/bench-strcasecmp.c: Likewise.
24689         * benchtests/bench-strcasestr.c: Likewise.
24690         * benchtests/bench-strcat.c: Likewise.
24691         * benchtests/bench-strchr.c: Likewise.
24692         * benchtests/bench-strcmp.c: Likewise.
24693         * benchtests/bench-strcpy.c: Likewise.
24694         * benchtests/bench-strcpy_chk.c: Likewise.
24695         * benchtests/bench-strlen.c: Likewise.
24696         * benchtests/bench-strncasecmp.c: Likewise.
24697         * benchtests/bench-strncat.c: Likewise.
24698         * benchtests/bench-strncmp.c: Likewise.
24699         * benchtests/bench-strncpy.c: Likewise.
24700         * benchtests/bench-strnlen.c: Likewise.
24701         * benchtests/bench-strpbrk.c: Likewise.
24702         * benchtests/bench-strrchr.c: Likewise.
24703         * benchtests/bench-strspn.c: Likewise.
24704         * benchtests/bench-strstr.c: Likewise.
24706 2013-09-04  Will Newton  <will.newton@linaro.org>
24708         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24710 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
24712         [BZ #15427]
24713         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24714         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24715         * math/libm-test.inc (lgamma_test_data): Add more tests.
24716         * sysdeps/i386/fpu/libm-test-ulps: Update.
24717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24719 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
24721         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24722         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24723         Add ifunc.
24724         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24725         Add strcmp-sse2-unaligned
24726         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24728 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24730         * Versions.def (libc): Add GLIBC_2.19.
24732 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24734         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24735         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24737 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
24739         [BZ #14155]
24740         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24741         intermediate calculations in recurrence.
24742         (__ieee754_ynf): Likewise.
24743         * math/libm-test.inc (jn_test_data): Do not allow spurious
24744         underflow exception.  Add more tests.
24745         (yn_test_data): Add more tests.
24746         * sysdeps/i386/fpu/libm-test-ulps: Update.
24747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24749 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
24751         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24753 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24755         * csu/init-first.c: Fix then/than typos.
24756         * locale/programs/ld-collate.c: Likewise.
24757         * locale/programs/linereader.h: Likewise.
24758         * manual/charset.texi: Likewise.
24759         * manual/filesys.texi: Likewise.
24760         * manual/stdio.texi: Likewise.
24761         * manual/string.texi: Likewise.
24762         * stdlib/fmtmsg.c: Likewise.
24763         * sysdeps/i386/stpncpy.S: Likewise.
24764         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24765         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24766         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24767         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24769 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24771         * elf/dl-open.c: Fix typos.
24772         * iconvdata/gbbig5.c: Likewise.
24773         * iconvdata/iso-2022-jp.c: Likewise.
24774         * iconv/gconv_int.h: Likewise.
24775         * iconv/loop.c: Likewise.
24776         * nis/rpcsvc/nis.h: Likewise.
24777         * resolv/ns_name.c: Likewise.
24778         * stdio-common/vfscanf.c: Likewise.
24779         * streams/stropts.h: Likewise.
24780         * sunrpc/rpc_thread.c: Likewise.
24781         * sysdeps/i386/strpbrk.S: Likewise.
24782         * sysdeps/ieee754/k_standard.c: Likewise.
24783         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24784         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24785         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24786         * sysdeps/mach/hurd/profil.c: Likewise.
24787         * sysdeps/s390/dl-procinfo.h: Likewise.
24788         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24789         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24790         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24791         * sysdeps/x86_64/dl-trampoline.S: Likewise.
24792         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24794 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
24796         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24797         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24799 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
24801         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24802         aix specific files.
24803         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24804         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24805         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24806         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24807         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24808         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24809         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24810         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24812 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24813             Roland McGrath  <roland@hack.frob.com>
24815         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24816         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24818 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24820         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24821         __executable_start symbol instead of _start.
24823 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24825         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24826         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24827         Move macros to...
24828         * sysdeps/gnu/ldsodefs.h: ... this new file.
24830         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24831         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24832         instead of ELFOSABI_LINUX.
24834         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24835         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24836         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24837         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24838         Likewise.
24839         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24840         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24841         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24842         Likewise.
24843         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24844         (ibm_extended_long_double): Add ieee_nan member.
24845         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24846         (do_test): New function.
24848         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24849         TEST_TRUNC.
24850         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24851         functions, renamed from truncdfsf_test, trunctfsf_test,
24852         trunctfdf_test.
24853         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24854         functions.
24855         (do_test): Run all these.
24857 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
24859         * argp/argp-help.c: Fix typos.
24860         * argp/argp-parse.c: Likewise.
24861         * debug/backtracesyms.c: Likewise.
24862         * elf/elf.h: Likewise.
24863         * malloc/malloc.c: Likewise.
24864         * nis/nis_print.c: Likewise.
24865         * resolv/res_comp.c: Likewise.
24866         * stdlib/stdlib.h: Likewise.
24867         * sunrpc/clnt_tcp.c: Likewise.
24868         * sunrpc/clnt_udp.c: Likewise.
24869         * sunrpc/clnt_unix.c: Likewise.
24870         * sysdeps/unix/bsd/ptsname.c: Likewise.
24871         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24872         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24874         Likewise.
24875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24876         Likewise.
24877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24878         Likewise.
24879         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24881 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24883         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24884         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24886 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
24888         [BZ #15897]
24889         * dlfcn/Makefile (tests): Add bug-dl-leaf.
24890         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24891         ($(objpfx)bug-dl-leaf): New rule.
24892         ($(objpfx)bug-dl-leaf.so): Likewise.
24893         ($(objpfx)bug-dl-leaf.out): Likewise.
24894         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24895         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24896         * dlfcn/bug-dl-leaf.c: New test.
24897         * dlfcn/bug-dl-leaf-lib.c: Likewise.
24898         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24899         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24900         (dlclose): Likewise.
24901         (dlmopen): Likewise.
24903 2013-08-27  Roland McGrath  <roland@hack.frob.com>
24905         * include/netdb.h [!_ISOMAC]:
24906         Don't include <tls.h>.
24907         (h_errno, __libc_h_errno): Move declaration and macros out of
24908         [_LIBC_REENTRANT].
24910         * include/resolv.h [_RESOLV_H_]:
24911         Don't include <tls.h>.
24912         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24913         * resolv/res_libc.c: Don't include <tls.h>.
24914         (_res): Use __attribute__ ((nocommon)) in place of
24915         __attribute__ ((section (".bss"))).
24917         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24918         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24920         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24922         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24923         only under [SIOCGIFCONF && SIOCGIFNETMASK].
24925         * resolv/res_mkquery.c: Include <sys/time.h>.
24927         * inet/ifreq.c: Moved to ...
24928         * sysdeps/unix/ifreq.c: ... here.
24929         * inet/ifreq.c: New file, true stub version.
24931         * socket/sa_len.c: New file.
24932         * socket/Makefile (aux): Add it.
24933         * sysdeps/unix/sysv/linux/Makefile
24934         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24935         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24936         and #include <socket/sa_len.c>.
24937         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24938         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24940         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24941         * bits/socket.h: ... here.
24943         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24944         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24945         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24947 2013-08-27  Andreas Schwab  <schwab@suse.de>
24949         [BZ #15736]
24950         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24951         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24952         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24953         * string/test-strcasecmp.c (test_main): Run tests in several
24954         locales.
24955         * string/test-strncasecmp.c (test_main): Likewise.
24957         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24958         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24959         to __strcasecmp_nonascii and __strncasecmp_nonascii.
24960         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24961         (__strncasecmp_ssse3) [PIC]: Likewise.
24963 2013-08-26  Roland McGrath  <roland@hack.frob.com>
24965         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24967         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24968         instead of explicitly declaring xdecrypt.
24969         * nis/nss_nis/nis-publickey.c: Likewise.
24971 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24973         [BZ #15890]
24974         * nscd/aicache.c: Include res_hconf.h.
24975         (addhstaiX): Initialize res_hconf.
24977 2013-08-26  Andreas Schwab  <schwab@suse.de>
24979         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24980         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24982 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24984         * nscd/aicache.c (addhstaiX): Fix indentation.
24986 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
24988         * configure.ac: Quote $build_pt_chown test.
24989         * configure: Regenerated.
24991 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
24993         [BZ #15532]
24994         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24995         * math/s_cexpf.c (__cexpf): Likewise.
24996         * math/s_cexpl.c (__cexpl): Likewise.
24997         * math/libm-test.inc (cexp_test_data): Correct expected return
24998         value for NaN + i0.  Add another test.
25000 2013-08-22  David S. Miller  <davem@davemloft.net>
25002         * po/ca.po: Update Catalan translation from translation project.
25003         * po/uk.po: Add Ukrainian translations from translation project.
25005 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
25007         [BZ #15797]
25008         * math/s_fdim.c (__fdim): Check for infinite arguments if result
25009         is infinite, not alongside NaN test.
25010         * math/s_fdimf.c (__fdimf): Likewise.
25011         * math/s_fdiml.c (__fdiml): Likewise.
25012         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
25013         errno is unchanged.
25015 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
25017         * argp/argp-help.c: Fix typos.
25018         * crypt/speeds.c: Likewise.
25019         * csu/check_fds.c: Likewise.
25020         * elf/dl-load.c: Likewise.
25021         * elf/dl-open.c: Likewise.
25022         * elf/reldep3.c: Likewise.
25023         * elf/reldep.c: Likewise.
25024         * elf/sprof.c: Likewise.
25025         * iconv/iconv_charmap.c: Likewise.
25026         * iconv/skeleton.c: Likewise.
25027         * iconv/strtab.c: Likewise.
25028         * io/lockf64.c: Likewise.
25029         * libio/libioP.h: Likewise.
25030         * resolv/gai_notify.c: Likewise.
25031         * resolv/ns_name.c: Likewise.
25032         * resolv/ns_samedomain.c: Likewise.
25033         * resolv/res_send.c: Likewise.
25034         * stdlib/random.c: Likewise.
25035         * sunrpc/rpc/xdr.h: Likewise.
25036         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25037         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25038         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25039         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25040         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25041         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25042         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25043         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25044         * sysdeps/mach/hurd/check_fds.c: Likewise.
25045         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25046         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25047         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25048         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25049         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25050         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25051         * sysdeps/pthread/aio_notify.c: Likewise.
25052         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25053         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25054         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25055         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25056         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25058 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25060         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25061         version if bit_Slow_SSE4_2 is set.
25062         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25063         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25065 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25067         [BZ #15867]
25068         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25069         trampoline stack frame information.
25070         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25071         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25072         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25073         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25074         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25075         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25076         (_libc_vdso_platform_setup): Initialize the signal trampolines.
25077         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25078         sa_flags value.
25079         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25080         interrupting a syscall and set with option SA_SIGINFO.
25082 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25084         [BZ #15531]
25085         * math/s_cproj.c (__cproj): Only return an infinity if one part of
25086         argument is infinite.
25087         * math/s_cprojf.c (__cprojf): Likewise.
25088         * math/s_cprojl.c (__cprojl): Likewise.
25089         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25090         * math/libm-test.inc (cproj_test_data): Add more tests.
25092         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25094         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25095         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25096         size.  Use __ffs to determine corresponding shift.
25098 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25099             Roland McGrath  <roland@hack.frob.com>
25101         * Makefile (INSTALL): Remove trailing blank lines from output of
25102         makeinfo.
25104 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25106         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25107         Align 32 bit compat elf_greg to 8 bytes.
25109 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
25111         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25113 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25115         * string/strcoll_l.c (coll_seq): New structure.
25116         (get_next_seq_cached): New function.
25117         (get_next_seq): New function.
25118         (do_compare): New function.
25119         (STRCOLL): Use GNU style definition.  Simplify implementation
25120         by using get_next_seq, get_next_seq_cached and do_compare.
25122 2013-08-16  Florian Weimer  <fweimer@redhat.com>
25124         [BZ #14699]
25125         CVE-2013-4237
25126         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25127         member.
25128         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25129         member.
25130         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25131         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25132         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
25133         conditional.
25134         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25135         GETDENTS_64BIT_ALIGNED.
25136         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25137         * manual/filesys.texi (Reading/Closing Directory): Document
25138         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
25139         strongly.
25140         * manual/conf.texi (Limits for Files): Add portability note to
25141         NAME_MAX, PATH_MAX.
25142         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25144 2013-08-13  Andreas Schwab  <schwab@suse.de>
25146         [BZ #15749]
25147         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25148         of fabs.
25149         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25150         LDBL_MAX_EXP >= 16384]: Add tests for it.
25152 2013-08-12  David S. Miller  <davem@davemloft.net>
25154         * version.h (RELEASE): Set to "development".
25155         (VERSION): Set to "2.18.90".
25156         * NEWS: Add 2.19 section.
25158 2013-08-03  David S. Miller  <davem@davemloft.net>
25160         * po/ko.po: Update Korean translation from translation project.
25162 2013-08-01  David S. Miller  <davem@davemloft.net>
25164         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
25165         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25166         Bilka.
25168 2013-07-30  David S. Miller  <davem@davemloft.net>
25170         * po/fr.po: Update French translation from translation project.
25172 2013-07-28  David S. Miller  <davem@davemloft.net>
25174         * po/cs.po: Update Czech translation from translation project.
25176         * po/sv.po: Update Swedish translation from translation project.
25178 2013-07-27  David S. Miller  <davem@davemloft.net>
25180         * po/eo.po: Update Esperanto translation from translation project.
25182         * po/vi.po: Update Vietnamese translation from translation project.
25184         * po/de.po: Update German translation from translation project.
25186 2013-07-26  David S. Miller  <davem@davemloft.net>
25188         * po/bg.po: Update Bulgarian translation from translation project.
25190         * po/nl.po: Update Dutch translation from translation project.
25191         * po/pl.po: Update Polish translation from translation project.
25192         * po/ru.po: Update Russian translation from translation project.
25194 2013-07-24  David S. Miller  <davem@davemloft.net>
25196         * po/libc.pot: Update.
25198 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25200         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25201         variable page size.
25202         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25203         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25204         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25206 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25208         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25210 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25211             Andreas Schwab  <schwab@suse.de>
25212             Roland McGrath  <roland@hack.frob.com>
25213             Joseph Myers  <joseph@codesourcery.com>
25214             Carlos O'Donell  <carlos@redhat.com>
25216         [BZ #15755]
25217         * config.h.in: Define HAVE_PT_CHOWN.
25218         * config.make.in (build-pt-chown): New variable.
25219         * configure.in (--enable-pt_chown): New configure option.
25220         * configure: Regenerate.
25221         * login/Makefile: Include Makeconfig.  Build pt_chown only if
25222         build-pt-chown is enabled.
25223         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25224         pt_chown to fix pty ownership.
25225         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25226         CLOSE_ALL_FDS.
25227         * manual/install.texi (Configuring and compiling): Mention
25228         --enable-pt_chown. Add @findex for grantpt.
25229         * INSTALL: Regenerate.
25231 2013-07-20  David S. Miller  <davem@davemloft.net>
25233         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25234         difference between 32-bit and 64-bit.
25236 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
25238         [BZ #15711]
25239         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25240         Avoid system header dependency with -ffreestanding.
25241         ($(objpfx)bits/syscall%d): Likewise.
25243 2013-07-13  David S. Miller  <davem@davemloft.net>
25245         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25246         underflows from atanl/atan2l due to bug 15319.
25247         (casinh_test_data): Likewise.
25249 2013-07-07  David S. Miller  <davem@davemloft.net>
25251         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25253 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
25255         * sysdeps/i386/fpu/libm-test-ulps: Update.
25256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25258 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25260         * configure.in (--enable-lock-elision): Fix message text.
25261         * INSTALL: Regenerate.
25262         * configure: Regenerate.
25264 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25268 2013-07-03  Andreas Jaeger  <aj@suse.de>
25270         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25271         define.
25272         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25273         (ptrace_peeksiginfo_args): Add.
25274         (__ptrace_peeksiginfo_flags): Add.
25275         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25276         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25277         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25279 2013-07-03  Allan McRae  <allan@archlinux.org>
25281         * sysdeps/i386/fpu/libm-test-ulps: Update.
25283 2013-07-02  David S. Miller  <davem@davemloft.net>
25285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25287 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
25289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25291 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
25293         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25296 2013-07-02  Andi Kleen <ak@linux.intel.com>
25298         * config.h.in (ENABLE_LOCK_ELISION): Add.
25299         * configure.in (--enable-lock-elision): Add option.
25300         * manual/install.texi: Document --enable lock elision.
25301         * configure: Regenerate
25302         * INSTALL: Regenerate.
25304 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
25306         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25307         SSE4.2 strcasecmp for libc.a.
25308         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25310 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
25312         [BZ #13304]
25313         * soft-fp/op-common.h (_FP_FMA): New macro.
25314         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25315         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
25316         (_FP_MUL_MEAT_1_imm): ... here.
25317         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
25318         (_FP_MUL_MEAT_1_wide): ... here.
25319         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
25320         (_FP_MUL_MEAT_1_hard): ... here.
25321         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25322         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
25323         (_FP_MUL_MEAT_2_wide): ... here.
25324         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
25325         (_FP_MUL_MEAT_2_wide_3mul): ... here.
25326         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
25327         (_FP_MUL_MEAT_2_gmp): ... here.
25328         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25329         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
25330         (_FP_MUL_MEAT_4_wide): ... here.
25331         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
25332         (_FP_MUL_MEAT_4_gmp): ... here.
25333         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25334         (_FP_WFRACBITS_DW_S): Likewise.
25335         (_FP_WFRACXBITS_DW_S): Likewise.
25336         (_FP_HIGHBIT_DW_S): Likewise.
25337         (FP_FMA_S): Likewise.
25338         (_FP_FRAC_HIGH_DW_S): Likewise.
25339         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25340         (_FP_WFRACBITS_DW_D): Likewise.
25341         (_FP_WFRACXBITS_DW_D): Likewise.
25342         (_FP_HIGHBIT_DW_D): Likewise.
25343         (FP_FMA_D): Likewise.
25344         (_FP_FRAC_HIGH_DW_D): Likewise.
25345         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25346         (_FP_WFRACBITS_DW_E): Likewise.
25347         (_FP_WFRACXBITS_DW_E): Likewise.
25348         (_FP_HIGHBIT_DW_E): Likewise.
25349         (FP_FMA_E): Likewise.
25350         (_FP_FRAC_HIGH_DW_E): Likewise.
25351         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25352         (_FP_WFRACBITS_DW_Q): Likewise.
25353         (_FP_WFRACXBITS_DW_Q): Likewise.
25354         (_FP_HIGHBIT_DW_Q): Likewise.
25355         (FP_FMA_Q): Likewise.
25356         (_FP_FRAC_HIGH_DW_Q): Likewise.
25357         * soft-fp/fmasf4.c: New file.
25358         * soft-fp/fmadf4.c: Likewise.
25359         * soft-fp/fmatf4.c: Likewise.
25361 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25363         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25364         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25365         Silvermont.
25366         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25367         macro.
25368         (index_Slow_SSE4_2): Likewise.
25369         (index_Prefer_PMINUB_for_stringop): Likewise.
25370         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25371         bit_Slow_SSE4_2 is set.
25372         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25373         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25375 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25377         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25378         rtld_global._dl_hwcap2.
25379         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25380         POWER8.
25381         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25382         POWER8 feature descriptions defined in _dl_hwcap2.
25383         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25384         string handling for POWER8 feature bits.
25385         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25386         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25387         _dl_powerpc_cap_flags.
25388         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25389         * sysdeps/powerpc/rtld-global-offsets.sym
25390         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25391         _dl_hwcap2 in the rtld_global_ro structure.
25393 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25395         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25396         hardware capabilities in support of AT_HWCAP2.
25397         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25398         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25399         GLRO(dl_hwcap2).
25400         (_dl_show_auxv): Add support for calling _dl_procinfo to display
25401         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
25402         explicitly the unknown a_type display mechanism is used.
25403         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25404         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25405         struct member.
25406         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25407         to macro prototype for AT_HWCAP2 support.
25408         * sysdeps/i386/dl-procinfo.h: Likewise.
25409         * sysdeps/s390/dl-procinfo.h: Likewise.
25410         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25411         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
25412         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
25413         return -1 for unknown a_type display fallback.
25414         * sysdeps/sparc/dl-procinfo.h: Likewise.
25415         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25416         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25418 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
25420         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25421         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25423 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
25425         [BZ #12492]
25426         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25427         mprotect making __stack_prot writable.
25429 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
25430             Joseph Myers  <joseph@codesourcery.com>
25432         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25433         as being properly aligned.
25435 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
25437         * dlfcn/modstatic5.c: New file.
25438         * dlfcn/tststatic5.c: New file.
25439         * dlfcn/Makefile (tests): Add tststatic5.
25440         (tests-static): Likewise.
25441         (modules-names): Add modstatic5.
25442         (tststatic5-ENV): New variable.
25443         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25445         [BZ #15022]
25446         * elf/dl-support.c (_dl_main_map): New variable.
25447         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25448         (_dl_nns, _dl_load_adds): Set to 1.
25449         (_dl_initial_searchlist): Refer to _dl_main_map.
25450         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25451         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25452         call to _dl_get_origin.
25453         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25454         around call_map.
25455         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25456         * dlfcn/modstatic3.c: New file.
25457         * dlfcn/tststatic3.c: New file.
25458         * dlfcn/tststatic4.c: New file.
25459         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25460         (tests-static): Likewise.
25461         (modules-names): Add modstatic3.
25462         (tststatic3-ENV, tststatic4-ENV): New variables.
25463         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25464         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25466 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
25468         * configure.in (CC): Require GCC version 4.4 or later.
25469         * configure: Regenerated.
25470         * manual/install.texi (Tools for Compilation): Update GCC version
25471         requirement.
25472         * INSTALL: Regenerated.
25474 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25476         [BZ #15674]
25477         * string/test-memcmp.c (check2): New.
25478         (main): Call check2.
25480         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25482 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
25484         [BZ #15022]
25485         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25486         over to...
25487         (dl_open_worker) [!SHARED]: ... here.
25489 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25491         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25493 2013-06-25  Richard Henderson  <rth@redhat.com>
25495         * locale/programs/locarchive.c: Include <libc-internal.h>
25497 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
25499         * manual/texinfo.tex: Update to version 2013-06-21.17, with
25500         trailing whitespace removed.
25502 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25504         [BZ #10283]
25505         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25506         * locale/programs/locarchive.c: Include libc-mmap.h.
25507         (prepare_address_space): Take two new outputs (the mmap base and len).
25508         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
25509         values.
25510         (create_archive): Declare new mmap base and len values for
25511         prepare_address_space, and store the result in ah.
25512         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25513         (enlarge_archive): If ah->mmap_base is not NULL, use that and
25514         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25515         Declare new mmap base and len values for
25516         prepare_address_space, and store the result in new_ah.
25517         (open_archive): Declare new mmap base and len values for
25518         prepare_address_space, and store the result in ah.
25519         (close_archive): If ah->mmap_base is not NULL, use that and
25520         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25521         * sysdeps/generic/libc-mmap.h: New file.
25523 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25525         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25526         (ALIGN_UP): Likewise.
25527         (PTR_ALIGN_DOWN): Likewise.
25528         (PTR_ALIGN_UP): Likewise.
25530 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25532         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25533         entry mapped to PPC_PLATFORM_POWER8.
25534         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25535         POWER8.
25536         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25537         (_dl_string_platform): Add case for exporting platform position for
25538         POWER8.
25539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25540         search path to sysdeps/powerpc/powerpc32/power8 directory.
25541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25542         search path to sysdeps/powerpc/powerpc64/power8 directory.
25543         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25544         power7 directories.
25545         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25546         power7 directories.
25548 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25550         * INSTALL: Regenerate.
25552         * nscd/connections.c (nscd_init): Fix comment.
25554 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
25556         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25558         [BZ #15667]
25559         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25560         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25562 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25564         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25565         DL_DST_REQ_STATIC.
25566         (DL_DST_REQ_STATIC): Remove macro.
25568 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
25570         [BZ #7006]
25571         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25572         with a shift of 0 bits.
25574 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25576         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25577         $(tststatic-ENV).
25579 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25581         [BZ #15655]
25582         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25584 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25586         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25587         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25588         accepts -fno-tree-loop-distribute-patterns.
25589         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25590         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25591         recursive call.
25592         * string/memset.c (memset): Likewise.
25593         * string/test-memmove.c (simple_memmove): Disable loop transformation
25594         to library calls.
25595         * string/test-memset.c (simple_memset): Likewise.
25596         * benchtests/bench-memmove.c (simple_memmove): Likewise.
25597         * benchtests/bench-memset.c (simple_memset): Likewise.
25598         * configure: Regenerated.
25600 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
25602         * math/test-misc.c (main): Ignore fesetround failure when failures
25603         of subsequent rounding tests would be ignored.
25605         [BZ #15654]
25606         * math/fedisblxcpt.c (fedisableexcept): Return 0.
25607         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25608         * math/fegetenv.c (__fegetenv): Return 0.
25609         * math/fegetexcept.c (fegetexcept): Return 0.
25610         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25611         FE_TONEAREST.
25612         * math/feholdexcpt.c (feholdexcept): Return 0.
25613         * math/fesetenv.c (__fesetenv): Return 0.
25614         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25615         argument FE_TONEAREST.
25616         * math/feupdateenv.c (__feupdateenv): Return 0.
25617         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25619 2013-06-18  Roland McGrath  <roland@hack.frob.com>
25621         * elf/rtld-Rules (rtld-compile-command.S): New variable.
25622         (rtld-compile-command.s, rtld-compile-command.c): New variables.
25623         ($(objpfx)rtld-%.os rules): Use them.
25625 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25627         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25628         fields.
25630 2013-06-17  Roland McGrath  <roland@hack.frob.com>
25632         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25633         length of target pattern, then descending length of dependency pattern.
25634         * configure.in (AWK): Require gawk 3.1.2 or newer.
25635         * manual/install.texi (Tools for Compilation): Say that we do.
25636         * configure: Regenerated.
25638         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25639         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25640         * scripts/sysd-rules.awk: ... this new script.
25641         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25642         than a glob-style pattern.
25644 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
25646         * math/test-misc.c (main): Do not treat incorrectly rounded
25647         conversions as failure unless ROUNDING_TESTS passes.
25649 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
25651         [BZ #15631]
25652         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25653         restore exception state around main square root computation, then
25654         check for inexactness explicitly.
25656         * math/libm-test.inc (fma_test_data): Add another test.
25658 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25660         * manual/threads.texi (Non-POSIX Extensions): New document
25661         node.  Document pthread_getattr_default_np and
25662         pthread_setattr_default_np.
25664         * Versions.def (libpthread): Add GLIBC_2.18.
25665         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25667         Likewise.
25668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25669         Likewise.
25670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25671         Likewise.
25672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25673         Likewise.
25674         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25675         Likewise.
25676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25677         Likewise.
25678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25679         Likewise.
25680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25681         Likewise.
25682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25683         Likewise.
25685 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25688         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25690 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25691             H.J. Lu  <hjl.tools@gmail.com>
25693         [BZ #15627]
25694         * sysdeps/x86_64/rtld-memset.c: Remove file.
25695         * sysdeps/x86_64/rtld-memset.S: New file.
25697 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
25699         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25700         (test_in_one_mode): Take arguments for whether the rounding mode
25701         is supported for each floating-point type.
25702         (do_test): Pass new arguments to test_in_one_mode using
25703         ROUNDING_TESTS.
25705 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25707         * posix/tst-waitid.c (do_test): Distinguish different instances of
25708         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
25709         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25710         before entering the kernel for waitpid.
25712 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25714         * NEWS: Fix note on clock function precision.  Text by Roland
25715         McGrath.
25717 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25719         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25720         it into place only when and if the sanity check passes.
25722 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
25724         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25725         output for whether conversion result is exact.  Take argument
25726         indicating whether type is IBM long double.
25727         (round_for_all): Change need_exact field to ibm_ld.
25728         * stdlib/tst-strtod-round.c (struct exactness): New type.
25729         (struct test): Change bool ld_ok field to struct exactness exact.
25730         (TEST): Update all definitions for change to field.
25731         (tests): Regenerate array contents.
25732         (test_in_one_mode): Take pointer to new field instead of old ld_ok
25733         field value.  Check for IBM long double here.
25734         (do_test): Update calls to test_in_one_mode.
25736 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25738         [BZ #12515]
25739         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25740         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25742 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25744         [BZ #15605]
25745         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25746         generated by the compiler on loop optimizations.
25747         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25748         general definitions.
25750 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
25752         * math/bug-nextafter.c: Include <math-tests.h>.
25753         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25754         the relevant type.
25755         * math/bug-nexttoward.c: Include <math-tests.h>.
25756         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25757         the relevant type.
25758         * math/test-misc.c: Include <math-tests.h>.
25759         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25760         the relevant type.
25762 2013-06-12  Andreas Jaeger  <aj@suse.de>
25764         * po/ia.po: Update Interlingua translation from translation
25765         project.
25767 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25769         * include/fenv.h: Include stdbool.h.
25770         (struct rm_ctx): New structure.
25771         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25772         Define macro.
25773         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25774         (SET_RESTORE_ROUNDF): Likewise.
25775         (SET_RESTORE_ROUNDL): Likewise.
25776         (SET_RESTORE_ROUND_NOEX): Likewise.
25777         (SET_RESTORE_ROUND_NOEXF): Likewise.
25778         (SET_RESTORE_ROUND_NOEXL): Likewise.
25779         (SET_RESTORE_ROUND_53BIT): Likewise.
25780         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25781         (libc_feresetround_noexf_ctx): Likewise.
25782         (libc_feresetround_noexl_ctx): Likewise.
25783         (libc_feholdsetround_53bit_ctx): Likewise.
25784         (libc_feresetround_53bit_ctx): Likewise.
25785         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25786         (libc_feholdexcept_setround_sse_ctx): New function.
25787         (libc_fesetenv_sse_ctx): Likewise.
25788         (libc_feupdateenv_sse_ctx): Likewise.
25789         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25790         (libc_feholdexcept_setround_387_ctx): Likewise.
25791         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25792         (libc_feholdsetround_387_prec_ctx): Likewise.
25793         (libc_feholdsetround_387_ctx): Likewise.
25794         (libc_feholdsetround_387_53bit_ctx): Likewise.
25795         (libc_feholdsetround_sse_ctx): Likewise.
25796         (libc_feresetround_sse_ctx): Likewise.
25797         (libc_feresetround_387_ctx): Likewise.
25798         (libc_feupdateenv_387_ctx): Likewise.
25799         (libc_feholdexcept_setroundf_ctx): Define macro.
25800         (libc_fesetenvf_ctx): Likewise.
25801         (libc_feupdateenvf_ctx): Likewise.
25802         (libc_feholdsetroundf_ctx): Likewise.
25803         (libc_feresetroundf_ctx): Likewise.
25804         (libc_feholdexcept_setround_ctx): Likewise.
25805         (libc_fesetenv_ctx): Likewise.
25806         (libc_feupdateenv_ctx): Likewise.
25807         (libc_feholdsetround_ctx): Likewise.
25808         (libc_feresetround_ctx): Likewise.
25809         (libc_feholdexcept_setroundl_ctx): Likewise.
25810         (libc_feupdateenvl_ctx): Likewise.
25811         (libc_feholdsetroundl_ctx): Likewise.
25812         (libc_feresetroundl_ctx): Likewise.
25813         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25814         (libc_feresetround_53bit_ctx): Likewise.
25816 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25818         * locale/iso-639.def: Convert to UTF-8.
25820 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
25822         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25823         (EXCEPTION_TESTS_double): Likewise.
25824         (EXCEPTION_TESTS_long_double): Likewise.
25825         (EXCEPTION_TESTS): Likewise.
25826         * math/libm-test.inc (test_exceptions): Only test exceptions if
25827         EXCEPTION_TESTS (FLOAT).
25829 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25831         * benchtests/Makefile (string-bench): Add strcpy_chk and
25832         stpcpy_chk.
25833         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25834         * benchtests/bench-stpcpy_chk.c: New file.
25835         * benchtests/bench-strcpy_chk-ifunc.c: New file.
25836         * benchtests/bench-strcpy_chk.c: New file.
25837         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25838         code.
25839         (do_test): Likewise.
25841 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25843         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25844         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25845         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25846         with tabs where appropriate.
25847         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25848         dl-procinfo.h.
25849         [PPC_PLATFORM_PPC440]: Likewise.
25850         [PPC_PLATFORM_PPC464]: Likewise.
25851         [PPC_PLATFORM_PPC476]: Likewise.
25852         (_dl_string_platform): Add support for detecting ppc405, ppc440,
25853         ppc464, and ppc476 platform strings merging from ports/
25854         dl-procinfo.h.
25856 2013-06-11  Andreas Schwab  <schwab@suse.de>
25858         [BZ #14991]
25859         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25860         (from_ucs4_idx): Regenerate.
25861         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25862         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25863         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25864         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25865         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25866         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25867         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25868         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25869         from FROM_LOOP and TO_LOOP specific macros.
25870         (BODY): Handle combining characters.
25871         * iconvdata/BIG5HKSCS.irreversible: Update.
25872         * iconvdata/BIG5HKSCS.precomposed: New file.
25873         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25874         characters.
25875         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25877 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25879         * include/sys/time.h: Fix indentation and add copyright header.
25881         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25882         (do_test): Likewise.
25883         * string/test-memchr.c (do_one_test): Likewise.
25884         (do_test): Likewise.
25885         * string/test-memcmp.c (do_one_test): Likewise.
25886         (do_test): Likewise.
25887         * string/test-memcpy.c (do_one_test): Likewise.
25888         (do_test): Likewise.
25889         * string/test-memmem.c (do_one_test): Likewise.
25890         (do_test): Likewise.
25891         (do_random_tests): Likewise.
25892         * string/test-memmove.c (do_one_test): Likewise.
25893         (do_test): Likewise.
25894         * string/test-memset.c (do_one_test): Likewise.
25895         (do_test): Likewise.
25896         * string/test-rawmemchr.c (do_one_test): Likewise.
25897         (do_test): Likewise.
25898         * string/test-strcasecmp.c (do_one_test): Likewise.
25899         (do_test): Likewise.
25900         * string/test-strcasestr.c (do_one_test): Likewise.
25901         (do_test): Likewise.
25902         * string/test-strcat.c (do_one_test): Likewise.
25903         (do_test): Likewise.
25904         * string/test-strchr.c (do_one_test): Likewise.
25905         (do_test): Likewise.
25906         * string/test-strcmp.c (do_one_test): Likewise.
25907         (do_test): Likewise.
25908         * string/test-strcpy.c (do_one_test): Likewise.
25909         (do_test): Likewise.
25910         * string/test-string.h: Likewise.
25911         (test_init): Likewise.
25912         * string/test-strlen.c (do_one_test): Likewise.
25913         (do_test): Likewise.
25914         * string/test-strncasecmp.c (do_one_test): Likewise.
25915         (do_test): Likewise.
25916         * string/test-strncat.c (do_one_test): Likewise.
25917         (do_test): Likewise.
25918         * string/test-strncmp.c (do_one_test): Likewise.
25919         (do_test_limit): Likewise.
25920         (do_test): Likewise.
25921         * string/test-strncpy.c (do_one_test): Likewise.
25922         (do_test): Likewise.
25923         * string/test-strnlen.c (do_one_test): Likewise.
25924         (do_test): Likewise.
25925         * string/test-strpbrk.c (do_one_test): Likewise.
25926         (do_test): Likewise.
25927         * string/test-strrchr.c (do_one_test): Likewise.
25928         (do_test): Likewise.
25929         * string/test-strspn.c (do_one_test): Likewise.
25930         (do_test): Likewise.
25931         * string/test-strstr.c (do_one_test): Likewise.
25932         (do_test): Likewise.
25934         * benchtests/Makefile (string-bench): Add string benchmarks.
25935         * benchtests/bench-bcopy-ifunc.c: New file.
25936         * benchtests/bench-bcopy.c: New file.
25937         * benchtests/bench-bzero-ifunc.c: New file.
25938         * benchtests/bench-bzero.c: New file.
25939         * benchtests/bench-memccpy-ifunc.c: New file.
25940         * benchtests/bench-memccpy.c: New file.
25941         * benchtests/bench-memchr-ifunc.c: New file.
25942         * benchtests/bench-memchr.c: New file.
25943         * benchtests/bench-memcmp-ifunc.c: New file.
25944         * benchtests/bench-memcmp.c: New file.
25945         * benchtests/bench-memmem-ifunc.c: New file.
25946         * benchtests/bench-memmem.c: New file.
25947         * benchtests/bench-memmove-ifunc.c: New file.
25948         * benchtests/bench-memmove.c: New file.
25949         * benchtests/bench-mempcpy-ifunc.c: New file.
25950         * benchtests/bench-mempcpy.c: New file.
25951         * benchtests/bench-memset-ifunc.c: New file.
25952         * benchtests/bench-memset.c: New file.
25953         * benchtests/bench-rawmemchr-ifunc.c: New file.
25954         * benchtests/bench-rawmemchr.c: New file.
25955         * benchtests/bench-stpcpy-ifunc.c: New file.
25956         * benchtests/bench-stpcpy.c: New file.
25957         * benchtests/bench-stpncpy-ifunc.c: New file.
25958         * benchtests/bench-stpncpy.c: New file.
25959         * benchtests/bench-strcasecmp-ifunc.c: New file.
25960         * benchtests/bench-strcasecmp.c: New file.
25961         * benchtests/bench-strcasestr-ifunc.c: New file.
25962         * benchtests/bench-strcasestr.c: New file.
25963         * benchtests/bench-strcat-ifunc.c: New file.
25964         * benchtests/bench-strcat.c: New file.
25965         * benchtests/bench-strchr-ifunc.c: New file.
25966         * benchtests/bench-strchr.c: New file.
25967         * benchtests/bench-strchrnul-ifunc.c: New file.
25968         * benchtests/bench-strchrnul.c: New file.
25969         * benchtests/bench-strcmp-ifunc.c: New file.
25970         * benchtests/bench-strcmp.c: New file.
25971         * benchtests/bench-strcpy-ifunc.c: New file.
25972         * benchtests/bench-strcpy.c: New file.
25973         * benchtests/bench-strcspn-ifunc.c: New file.
25974         * benchtests/bench-strcspn.c: New file.
25975         * benchtests/bench-strlen-ifunc.c: New file.
25976         * benchtests/bench-strlen.c: New file.
25977         * benchtests/bench-strncasecmp-ifunc.c: New file.
25978         * benchtests/bench-strncasecmp.c: New file.
25979         * benchtests/bench-strncat-ifunc.c: New file.
25980         * benchtests/bench-strncat.c: New file.
25981         * benchtests/bench-strncmp-ifunc.c: New file.
25982         * benchtests/bench-strncmp.c: New file.
25983         * benchtests/bench-strncpy-ifunc.c: New file.
25984         * benchtests/bench-strncpy.c: New file.
25985         * benchtests/bench-strnlen-ifunc.c: New file.
25986         * benchtests/bench-strnlen.c: New file.
25987         * benchtests/bench-strpbrk-ifunc.c: New file.
25988         * benchtests/bench-strpbrk.c: New file.
25989         * benchtests/bench-strrchr-ifunc.c: New file.
25990         * benchtests/bench-strrchr.c: New file.
25991         * benchtests/bench-strspn-ifunc.c: New file.
25992         * benchtests/bench-strspn.c: New file.
25993         * benchtests/bench-strstr-ifunc.c: New file.
25994         * benchtests/bench-strstr.c: New file.
25996         * benchtests/Makefile: Disable parallel execution of targets.
25997         (string-bench): Add memcpy.
25998         (benchset): New variable to store a list of benchmark sets.
25999         (bench-func): Renamed from bench.
26000         (bench-set): New target.
26001         (bench): Depend on bench-func and bench-set.
26002         * benchtests/README: Add section on benchmark sets.
26003         * benchtests/bench-memcpy-ifunc.c: New file.
26004         * benchtests/bench-memcpy.c: New file.
26005         * benchtests/bench-string.h: New file.
26007 2013-06-11  Andreas Schwab  <schwab@suse.de>
26009         [BZ #15577]
26010         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26011         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26012         values in the triple.
26013         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26014         terminator in the group key.
26016 2013-06-11  Andreas Jaeger  <aj@suse.de>
26018         * po/zh_TW.po: Update Chinese (traditional) translation from
26019         translation project.
26021 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26023         * include/time.h (__clock_gettime): Add libc_hidden_proto.
26024         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26025         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
26026         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26027         (clock_getcpuclockid): Likewise.
26028         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26029         Add weak_alias and libc_hidden_def.
26030         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26031         * rt/clock_gettime.c (clock_gettime): Rename to
26032         __clock_gettime.  Add weak_alias and libc_hidden_def.
26033         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26034         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26035         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
26036         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26037         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26038         Likewise.
26039         * rt/clock_settime.c (clock_settime): Rename to
26040         __clock_settime.  Add weak_alias and libc_hidden_def.
26041         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26043 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
26045         * mach/err_boot.sub: Remove trailing whitespace.
26046         * mach/err_ipc.sub: Likewise.
26047         * mach/err_mach.sub: Likewise.
26049         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26050         (ROUNDING_TESTS_double): Likewise.
26051         (ROUNDING_TESTS_long_double): Likewise.
26052         (ROUNDING_TESTS): Likewise.
26053         * math/libm-test.inc: Include <math-tests.h>.
26054         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26055         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26056         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26057         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26059 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26061         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26062         of assigning.
26064 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
26066         * sysdeps/gnu/errlist.awk: Do not generate space at end of
26067         otherwise empty TRANS lines.
26068         * sysdeps/gnu/errlist.c: Regenerated.
26070         * catgets/gencat.c (error_print): Use (void) in function
26071         definition.
26072         * crypt/crypt_util.c (__init_des): Likewise.
26073         * crypt/speeds.c (Stop): Likewise.
26074         (main): Likewise.
26075         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26076         * inet/ruserpass.c (token): Likewise.
26077         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26078         * intl/localealias.c (extend_alias_table): Likewise.
26079         * intl/plural-exp.c (init_germanic_plural): Likewise.
26080         * libio/fcloseall.c (__fcloseall): Likewise.
26081         * libio/genops.c (_IO_flush_all): Likewise.
26082         (_IO_flush_all_linebuffered): Likewise.
26083         (_IO_cleanup): Likewise.
26084         (_IO_iter_begin): Likewise.
26085         (_IO_iter_end): Likewise.
26086         (_IO_list_lock): Likewise.
26087         (_IO_list_unlock): Likewise.
26088         (_IO_list_resetlock): Likewise.
26089         * libio/getchar.c (getchar): Likewise.
26090         * libio/getchar_u.c (getchar_unlocked): Likewise.
26091         * libio/getwchar.c (getwchar): Likewise.
26092         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26093         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26094         * login/getpt.c (__getpt): Likewise.
26095         * login/tst-utmp.c (main): Likewise.
26096         * malloc/hooks.c (__malloc_check_init): Likewise.
26097         * malloc/malloc.c (__malloc_stats): Likewise.
26098         * malloc/mtrace.c (tr_break): Likewise.
26099         (mtrace): Likewise.
26100         (muntrace): Likewise.
26101         * misc/fstab.c (endfsent): Likewise.
26102         * misc/getclktck.c (__getclktck): Likewise.
26103         * misc/getdtsz.c (__getdtablesize): Likewise.
26104         * misc/gethostid.c (gethostid): Likewise.
26105         * misc/getpagesize.c (__getpagesize): Likewise.
26106         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26107         (__get_nprocs): Likewise.
26108         (__get_phys_pages): Likewise.
26109         (__get_avphys_pages): Likewise.
26110         * misc/getttyent.c (getttyent): Likewise.
26111         (setttyent): Likewise.
26112         (endttyent): Likewise.
26113         * misc/getusershell.c (getusershell): Likewise.
26114         (endusershell): Likewise.
26115         (setusershell): Likewise.
26116         (initshells): Likewise.
26117         * misc/hsearch.c (__hdestroy): Likewise.
26118         * misc/sync.c (sync): Likewise.
26119         * misc/syslog.c (closelog_internal): Likewise.
26120         (closelog): Likewise.
26121         * misc/ttyslot.c (ttyslot): Likewise.
26122         * misc/vhangup.c (vhangup): Likewise.
26123         * posix/fork.c (__fork): Likewise.
26124         * posix/getegid.c (__getegid): Likewise.
26125         * posix/geteuid.c (__geteuid): Likewise.
26126         * posix/getgid.c (__getgid): Likewise.
26127         * posix/getpid.c (__getpid): Likewise.
26128         * posix/getppid.c (__getppid): Likewise.
26129         * posix/getuid.c (__getuid): Likewise.
26130         * posix/pause.c (pause): Likewise.
26131         * posix/setpgrp.c (setpgrp): Likewise.
26132         * posix/setsid.c (__setsid): Likewise.
26133         * posix/test-vfork.c (noop): Likewise.
26134         * resolv/gethnamaddr.c (_endhtent): Likewise.
26135         (_gethtent): Likewise.
26136         (ht_endhostent): Likewise.
26137         (gethostent): Likewise.
26138         (dns_service): Likewise.
26139         * stdlib/drand48.c (drand48): Likewise.
26140         * stdlib/lrand48.c (lrand48): Likewise.
26141         * stdlib/mrand48.c (mrand48): Likewise.
26142         * stdlib/rand.c (rand): Likewise.
26143         * stdlib/random.c (__random): Likewise.
26144         * stdlib/setenv.c (clearenv): Likewise.
26145         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26146         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26147         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26148         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26149         (__get_nprocs): Likewise.
26150         (__get_phys_pages): Likewise.
26151         (__get_avphys_pages): Likewise.
26152         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26153         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26154         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26155         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26156         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26157         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26158         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26159         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26160         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26161         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26162         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26163         * sysdeps/mach/hurd/sync.c (sync): Likewise.
26164         * sysdeps/posix/clock.c (clock): Likewise.
26165         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26166         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26167         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26168         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26169         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26170         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26171         (__get_nprocs_conf): Likewise.
26172         (__get_phys_pages): Likewise.
26173         (__get_avphys_pages): Likewise.
26174         * time/clock.c (clock): Likewise.
26175         * time/tzset.c (__tzname_max): Likewise.
26177 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
26179         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26180         (__bswap_32): Do not use "register".
26181         * crypt/crypt.c (_ufc_doit_r): Likewise.
26182         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26183         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26184         * gmon/gmon.c (__monstartup): Likewise.
26185         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26186         * hurd/hurdmalloc.c (more_memory): Likewise.
26187         (malloc): Likewise.
26188         (free): Likewise.
26189         (realloc): Likewise.
26190         (malloc_fork_prepare): Likewise.
26191         (malloc_fork_parent): Likewise.
26192         (malloc_fork_child): Likewise.
26193         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26194         (_svcauth_des): Likewise.
26195         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26196         * inet/inet_net.c (inet_network): Likewise.
26197         * inet/inet_netof.c (inet_netof): Likewise.
26198         * inet/rcmd.c (__validuser2_sa): Likewise.
26199         * io/fts.c (fts_open): Likewise.
26200         (fts_load): Likewise.
26201         (fts_close): Likewise.
26202         (fts_read): Likewise.
26203         (fts_children): Likewise.
26204         (fts_build): Likewise.
26205         (fts_stat): Likewise.
26206         (fts_sort): Likewise.
26207         (fts_alloc): Likewise.
26208         (fts_lfree): Likewise.
26209         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26210         (_IO_file_xsgetn): Likewise.
26211         (_IO_file_xsgetn_mmap): Likewise.
26212         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26213         (_IO_cookie_write): Likewise.
26214         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26215         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26216         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26217         * malloc/obstack.c (_obstack_begin): Likewise.
26218         (_obstack_begin_1): Likewise.
26219         (_obstack_newchunk): Likewise.
26220         (_obstack_allocated_p): Likewise.
26221         (obstack_free): Likewise.
26222         (_obstack_memory_used): Likewise.
26223         * misc/getttyent.c (getttynam): Likewise.
26224         (getttyent): Likewise.
26225         (skip): Likewise.
26226         (value): Likewise.
26227         * misc/getusershell.c (initshells): Likewise.
26228         * misc/syslog.c (__vsyslog_chk): Likewise.
26229         * misc/ttyslot.c (ttyslot): Likewise.
26230         * nis/nis_hash.c (__nis_hash): Likewise.
26231         * posix/fnmatch_loop.c (FCT): Likewise.
26232         * posix/getconf.c (print_all): Likewise.
26233         (main): Likewise.
26234         * posix/getopt.c (exchange): Likewise.
26235         * posix/glob.c (globfree): Likewise.
26236         (prefix_array): Likewise.
26237         (__glob_pattern_type): Likewise.
26238         * resolv/arpa/nameser.h (NS_GET16): Likewise.
26239         (NS_GET32): Likewise.
26240         (NS_PUT16): Likewise.
26241         (NS_PUT32): Likewise.
26242         * resolv/gethnamaddr.c (getanswer): Likewise.
26243         (gethostbyname2): Likewise.
26244         (gethostbyaddr): Likewise.
26245         (_gethtent): Likewise.
26246         (_gethtbyname2): Likewise.
26247         (_gethtbyaddr): Likewise.
26248         * resolv/ns_print.c (dst_s_get_int16): Likewise.
26249         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26250         * resolv/res_init.c (__res_vinit): Likewise.
26251         (net_mask): Likewise.
26252         * resolv/res_mkquery.c (outchar): Likewise.
26253         (PRINT): Likewise.
26254         * stdio-common/printf_fp.c (outchar): Likewise.
26255         (PRINT): Likewise.
26256         * stdio-common/printf_fphex.c (outchar): Likewise.
26257         (PRINT): Likewise.
26258         * stdio-common/printf_size.c (outchar): Likewise.
26259         (PRINT): Likewise.
26260         * stdio-common/test_rdwr.c (main): Likewise.
26261         * stdio-common/tfformat.c (matches): Likewise.
26262         * stdio-common/vfprintf.c (outchar): Likewise.
26263         (printf_unknown): Likewise.
26264         (buffered_vfprintf): Likewise.
26265         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26266         * stdio-common/xbug.c (AppendToBuffer): Likewise.
26267         (ReadFile): Likewise.
26268         * stdlib/qsort.c (SWAP): Likewise.
26269         (_quicksort): Likewise.
26270         * stdlib/setenv.c (__add_to_environ): Likewise.
26271         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26272         * stdlib/strtol_l.c (__strtol_l): Likewise.
26273         * stdlib/tst-strtod.c (main): Likewise.
26274         * stdlib/tst-strtol.c (main): Likewise.
26275         * stdlib/tst-strtoll.c (main): Likewise.
26276         * string/bits/string2.h (__strcmp_cc): Likewise.
26277         (__strcmp_cg): Likewise.
26278         (__strcspn_c1): Likewise.
26279         (__strcspn_c2): Likewise.
26280         (__strcspn_c3): Likewise.
26281         (__strspn_c1): Likewise.
26282         (__strspn_c2): Likewise.
26283         (__strspn_c3): Likewise.
26284         (__strsep_1c): Likewise.
26285         (__strsep_2c): Likewise.
26286         (__strsep_3c): Likewise.
26287         * string/memccpy.c (__memccpy): Likewise.
26288         * string/stpcpy.c (__stpcpy): Likewise.
26289         * string/strcmp.c (strcmp): Likewise.
26290         * string/strrchr.c (strrchr): Likewise.
26291         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26292         Likewise.
26293         * sysdeps/mach/hurd/getcwd.c
26294         (_hurd_canonicalize_directory_name_internal): Likewise.
26295         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26296         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26297         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26298         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26299         Likewise, in both definitions.
26300         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26301         definitions.
26302         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26303         64] (__bswap_64): Likewise.
26304         * time/test_time.c (main): Likewise.
26305         * time/tzfile.c (__tzfile_read): Likewise.
26306         (__tzfile_compute): Likewise.
26307         * time/tzset.c (__tzset_parse_tz): Likewise.
26308         (tzset_internal): Likewise.
26309         (compute_change): Likewise.
26310         * wcsmbs/wcscat.c (__wcscat): Likewise.
26311         * wcsmbs/wcschr.c (wcschr): Likewise.
26312         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26313         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26314         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26315         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26316         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26317         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26318         * wcsmbs/wmemchr.c (wmemchr): Likewise.
26319         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26320         * wcsmbs/wmemset.c (wmemset): Likewise.
26322 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
26324         * scripts/config.guess: Update to version 2013-05-16.
26325         * scripts/config.sub: Update to version 2013-04-24.
26326         * scripts/install-sh: Update to version 2011-11-20.07.
26327         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26328         * scripts/move-if-change: Update to version 2012-01-06 07:23.
26330 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
26332         * debug/fgetws_u_chk.c: Fix leading whitespaces.
26333         * elf/sln.c: Likewise.
26334         * hurd/hurd/ioctl.h: Likewise.
26335         * hurd/hurdmalloc.c: Likewise.
26336         * hurd/xattr.c: Likewise.
26337         * include/shlib-compat.h: Likewise.
26338         * inet/ruserpass.c: Likewise.
26339         * libio/iofgets_u.c: Likewise.
26340         * libio/iofgetws_u.c: Likewise.
26341         * locale/programs/ld-identification.c: Likewise.
26342         * locale/programs/ld-time.c: Likewise.
26343         * mach/msg-destroy.c: Likewise.
26344         * nss/nss_files/files-netgrp.c: Likewise.
26345         * resolv/res_data.c: Likewise.
26346         * soft-fp/op-1.h: Likewise.
26347         * soft-fp/op-2.h: Likewise.
26348         * soft-fp/op-4.h: Likewise.
26349         * soft-fp/op-common.h: Likewise.
26350         * stdio-common/printf_fphex.c: Likewise.
26351         * stdlib/strtod_l.c: Likewise.
26352         * sunrpc/rpc/clnt.h: Likewise.
26353         * sysdeps/generic/framestate.c: Likewise.
26354         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26355         * sysdeps/i386/bsd-setjmp.S: Likewise.
26356         * sysdeps/i386/__longjmp.S: Likewise.
26357         * sysdeps/i386/setjmp.S: Likewise.
26358         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26359         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26360         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26361         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26362         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26363         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26364         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26365         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26366         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26367         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26368         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26369         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26370         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26371         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26372         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26373         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26374         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26375         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26376         * sysdeps/ieee754/support.c: Likewise.
26377         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26378         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26379         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26380         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26381         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26382         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26383         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26384         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26385         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26386         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26387         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26388         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26389         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26390         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26391         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26392         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26393         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26396 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
26398         * posix/transbug.c: Remove executable mode.
26400 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
26402         * crypt/speeds.c: Remove trailing whitespace.
26403         * dlfcn/default.c: Likewise.
26404         * elf/ifuncdep2.c: Likewise.
26405         * elf/ifuncmain1.c: Likewise.
26406         * elf/ifuncmain1vis.c: Likewise.
26407         * elf/testobj.h: Likewise.
26408         * elf/tst-stackguard1.c: Likewise.
26409         * gmon/sys/gmon.h: Likewise.
26410         * hurd/hurdmsg.c: Likewise.
26411         * hurd/new-fd.c: Likewise.
26412         * hurd/ports-get.c: Likewise.
26413         * iconvdata/ibm1008_420.c: Likewise.
26414         * inet/tst-getni1.c: Likewise.
26415         * inet/tst-getni2.c: Likewise.
26416         * libio/ioungetc.c: Likewise.
26417         * libio/wfiledoalloc.c: Likewise.
26418         * manual/libm-err-tab.pl: Likewise.
26419         * math/w_dremf.c: Likewise.
26420         * misc/ftruncate.c: Likewise.
26421         * posix/bug-glob2.c: Likewise.
26422         * posix/tst-pcre.c: Likewise.
26423         * posix/wait4.c: Likewise.
26424         * resolv/README: Likewise.
26425         * resolv/res_debug.h: Likewise.
26426         * resolv/tst-inet_ntop.c: Likewise.
26427         * setjmp/bug269-setjmp.c: Likewise.
26428         * soft-fp/extended.h: Likewise.
26429         * soft-fp/op-1.h: Likewise.
26430         * soft-fp/op-2.h: Likewise.
26431         * soft-fp/op-4.h: Likewise.
26432         * soft-fp/op-8.h: Likewise.
26433         * soft-fp/testit.c: Likewise.
26434         * stdio-common/bug16.c: Likewise.
26435         * stdlib/random.c: Likewise.
26436         * sunrpc/rpcsvc/rquota.x: Likewise.
26437         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26438         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26439         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26440         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26441         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26442         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26443         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26444         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26445         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26446         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26447         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26448         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26449         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26450         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26451         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26452         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26453         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26454         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26455         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26456         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26457         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26458         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26459         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26460         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26461         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26462         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26463         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26464         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26465         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26466         * sysdeps/ieee754/s_lib_version.c: Likewise.
26467         * sysdeps/mach/hurd/check_fds.c: Likewise.
26468         * sysdeps/mach/hurd/getsockname.c: Likewise.
26469         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26470         * sysdeps/mach/hurd/recvfrom.c: Likewise.
26471         * sysdeps/powerpc/bits/link.h: Likewise.
26472         * sysdeps/powerpc/dl-procinfo.c: Likewise.
26473         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26474         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26475         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26476         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26477         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26478         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26479         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26480         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26481         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26482         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26483         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26484         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26485         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26486         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26487         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26488         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26489         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26490         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26491         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26492         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26493         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26494         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26495         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26496         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26497         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26498         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26499         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26500         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26501         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26502         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26503         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26504         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26505         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26506         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26507         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26508         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26509         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26510         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26511         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26512         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26513         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26514         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26515         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26516         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26517         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26518         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26519         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26520         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26521         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26522         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26523         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26524         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26525         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26526         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26527         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26528         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26529         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26530         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26531         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26532         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26533         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26534         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26535         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26536         * sysdeps/powerpc/sysdep.h: Likewise.
26537         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26538         * sysdeps/s390/s390-64/sub_n.S: Likewise.
26539         * sysdeps/sh/dl-trampoline.S: Likewise.
26540         * sysdeps/sh/memset.S: Likewise.
26541         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26542         * sysdeps/sh/strlen.S: Likewise.
26543         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26544         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26545         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26546         * sysdeps/sparc/sparc32/rem.S: Likewise.
26547         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26548         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26549         * sysdeps/sparc/sparc32/strchr.S: Likewise.
26550         * sysdeps/sparc/sparc32/udiv.S: Likewise.
26551         * sysdeps/sparc/sparc32/urem.S: Likewise.
26552         * sysdeps/sparc/sparc64/add_n.S: Likewise.
26553         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26554         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26555         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26556         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26557         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26558         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26559         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26560         * sysdeps/unix/bsd/times.c: Likewise.
26561         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26562         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26566         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26567         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26568         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26569         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26570         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26571         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26572         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26573         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26574         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26575         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26576         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26577         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26578         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26579         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26580         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26581         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26582         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26583         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26584         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26585         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26586         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26587         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26588         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26589         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26590         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26591         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26592         * sysdeps/x86_64/strcspn.S: Likewise.
26594 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26596         * locale/C-translit.h: Revert #include <stdint.h> because this is a
26597         generated file.  Regenerate properly from gen-translit.pl.
26598         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
26599         locale/C-translit.h.
26601 2013-06-05  Andreas Schwab  <schwab@suse.de>
26603         [BZ #15100]
26604         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26605         week as 6 instead of -1.
26606         * time/tst-strptime.c (day_tests): Add test case.
26608 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26610         * sysdeps/generic/math_private.h
26611         (libc_feholdexcept_setround_53bit): Replace with
26612         libc_feholdsetround_53bit.
26613         (libc_feupdateenv_53bit): Replace with
26614         libc_feresetround_53bit.
26615         (SET_RESTORE_ROUND_53BIT): Adjust.
26617 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26619         * string/test-strchrnul.c: Add copyright header.
26621         * posix/tst-getaddrinfo4.c: Increase test timeout.
26623 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
26625         [BZ #15536]
26626         * math/libm-test.inc (MAX_EXP): Remove
26627         (MIN_EXP): Define.
26628         (ulp): Use MIN_EXP - MANT_DIG.
26629         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26631 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
26633         * po/be.po: Revert last change.
26634         * po/zh_CN.po: Likewise.
26635         * po/header.pot: Likewise.
26637 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
26639         * Makefile ($(common-objpfx)linkobj/libc.so): Define
26640         link-libc-deps to empty as target-specific variable.
26641         * Makerules (link-libc-args): New variable.
26642         (libc-for-link): Likewise.
26643         (link-libc-deps): Likewise.
26644         (lib%.so): Depend on $(link-libc-deps).  Link with
26645         $(link-libc-args).
26646         (build-module): Link with $(link-libc-args).
26647         (build-module-asneeded): Likewise.
26648         (build-module-helper-objlist): Filter out $(link-libc-deps) from
26649         list of objects.
26650         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26651         target-specific variable.
26652         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26653         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26654         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26655         libc.
26656         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26657         libc and ld.so.
26658         ($(objpfx)libpcprofile.so): Likewise.
26659         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26660         libc_nonshared.a.
26661         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26662         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26663         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26664         $(link-libc-deps).
26665         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26666         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26667         * login/Makefile ($(objpfx)libutil.so): Likewise.
26668         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26669         * math/Makefile ($(objpfx)libm.so): Likewise.
26670         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26671         $(objpfx)libnsl.so): Define libc-for-link as target-specific
26672         variable instead of depending directly on libc.
26673         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26674         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26675         $(link-libc-deps).
26676         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26677         libc.
26678         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26679         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26680         ($(objpfx)libanl.so): Likewise.
26681         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26682         ld.so.
26683         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26684         $(link-libc-deps).
26685         * sysdeps/i386/fpu/Makefile: Remove file.
26686         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26687         ($(objpfx)libm.so): Remove dependency on ld.so.
26689 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
26691         [BZ # 15553]
26692         * nis/yp_xdr.c (XDRMAXNAME): Define.
26693         (XDRMAXRECORD): Define.
26694         (xdr_domainname): Use XDRMAXNAME.
26695         (xdr_mapname): Likewise.
26696         (xdr_peername): Likewise.
26697         (xdr_keydat): Use XDRMAXRECORD.
26698         (xdr_valdat): Likewise.
26700 2013-05-30  Jeff Law  <law@redhat.com>
26702         [BZ #14256]
26703         * manual/errno.texi (ESTALE): Update to account for more than
26704         just NFS file systems.
26705         * sysdeps/gnu/errlist.c: Regenerated.
26707 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26709         [BZ #15465]
26710         * elf/Makefile (tests): Add tst-null-argv.
26711         (modules-names):  Add tst-null-argv-lib.
26712         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26713         (tst-null-argv-ENV): Set environment for tst-null-argv.
26714         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26715         (RTLD_PROGNAME): New macro.
26716         * elf/tst-null-argv.c: New test case.
26717         * elf/tst-null-argv-lib.c: Library for test case.
26718         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26719         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26720         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26721         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26722         * elf/dl-init.c (call_init): Likewise.
26723         (_dl_init): Likewise.
26724         * elf/dl-load.c (print_search_path): Likewise.
26725         (_dl_map_object): Likewise.
26726         * elf/dl-lookup.c (do_lookup_x): Likewise.
26727         (add_dependency): Likewise.
26728         (_dl_lookup_symbol_x): Likewise.
26729         (_dl_debug_bindings): Likewise.
26730         * elf/dl-open.c (_dl_show_scope): Likewise.
26731         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26732         * elf/dl-version.c (match_symbol): Likewise.
26733         (_dl_check_map_versions): Likewise.
26734         * elf/rtld.c (dl_main): Likewise.
26735         (print_unresolved): Use RTLD_PROGNAME.
26736         (print_missing_version): Likewise.
26737         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26738         (elf_machine_rela): Likewise.
26739         * sysdeps/powerpc/powerpc32/dl-machine.c
26740         (__process_machine_rela): Likewise.
26741         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26742         Likewise.
26743         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26744         Likewise.
26745         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26746         Likewise.
26747         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26748         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26749         Likewise.
26750         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26751         Likewise.
26752         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26754 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
26756         * po/be.po: Add descriptive title.
26757         * po/zh_CN.po: Likewise.
26758         * po/header.pot: Likewise.
26760 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
26762         * locale/programs/locarchive.c (create_archive): Inlucde fname in
26763         error message.
26764         (enlarge_archive): Likewise.
26766 2013-05-28  Ben North  <ben@redfrontdoor.org>
26768         * manual/arith.texi (frexp): It is the magnitude of the return
26769         value which lies in [0.5, 1), not the return value itself.
26771 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26775 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
26777         * stdio-common/bug26.c (main): Correct fscanf template.
26779         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26780         declare _dl_skip_args.
26782         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26783         Don't declare.
26785         * manual/platform.texi: Add missing @end deftypefun.
26787 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26789         [BZ #15529]
26790         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26791         bit of mantissa of 2^16382.
26792         * math/libm-test.inc (hypot_test_data): Add more tests.
26794         * math/libm-test.inc: Add drem and pow10 to list of tested
26795         functions.
26796         (pow10_test): New function.
26797         (drem_test): Likewise.
26798         (drem_test_tonearest): Likewise.
26799         (drem_test_towardzero): Likewise.
26800         (drem_test_downward): Likewise.
26801         (drem_test_upward): Likewise.
26802         (main): Call the new functions.
26804         * math/libm-test.inc (finite_test_data): Remove.
26805         (finite_test): Run tests from isfinite_test_data.
26806         (gamma_test_data): Remove.
26807         (gamma_test): Run tests from lgamma_test_data.
26808         * sysdeps/i386/fpu/libm-test-ulps: Update.
26809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26811 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26813         * manual/platform.texi: Add PowerPC PPR function set documentation.
26814         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26815         implementation.
26817 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
26819         * math/libm-test.inc (MAX_EXP): Define.
26820         (ULPDIFF): Define.
26821         (ulp): New function.
26822         (check_float_internal): Use ULPDIFF.
26823         (cpow_test): Disable failing test.
26824         (check_ulp): Test ulp() implemetnation.
26825         (main): Call check_ulp before starting tests.
26827 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26829         * math/gen-libm-test.pl (generate_testfile): Do not handle
26830         START_DATA and END_DATA.
26831         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26832         END_DATA.
26833         (acos_tonearest_test_data): Likewise.
26834         (acos_towardzero_test_data): Likewise.
26835         (acos_downward_test_data): Likewise.
26836         (acos_upward_test_data): Likewise.
26837         (acosh_test_data): Likewise.
26838         (asin_test_data): Likewise.
26839         (asin_tonearest_test_data): Likewise.
26840         (asin_towardzero_test_data): Likewise.
26841         (asin_downward_test_data): Likewise.
26842         (asin_upward_test_data): Likewise.
26843         (asinh_test_data): Likewise.
26844         (atan_test_data): Likewise.
26845         (atanh_test_data): Likewise.
26846         (atan2_test_data): Likewise.
26847         (cabs_test_data): Likewise.
26848         (cacos_test_data): Likewise.
26849         (cacosh_test_data): Likewise.
26850         (carg_test_data): Likewise.
26851         (casin_test_data): Likewise.
26852         (casinh_test_data): Likewise.
26853         (catan_test_data): Likewise.
26854         (catanh_test_data): Likewise.
26855         (cbrt_test_data): Likewise.
26856         (ccos_test_data): Likewise.
26857         (ccosh_test_data): Likewise.
26858         (ceil_test_data): Likewise.
26859         (cexp_test_data): Likewise.
26860         (cimag_test_data): Likewise.
26861         (clog_test_data): Likewise.
26862         (clog10_test_data): Likewise.
26863         (conj_test_data): Likewise.
26864         (copysign_test_data): Likewise.
26865         (cos_test_data): Likewise.
26866         (cos_tonearest_test_data): Likewise.
26867         (cos_towardzero_test_data): Likewise.
26868         (cos_downward_test_data): Likewise.
26869         (cos_upward_test_data): Likewise.
26870         (cosh_test_data): Likewise.
26871         (cosh_tonearest_test_data): Likewise.
26872         (cosh_towardzero_test_data): Likewise.
26873         (cosh_downward_test_data): Likewise.
26874         (cosh_upward_test_data): Likewise.
26875         (cpow_test_data): Likewise.
26876         (cproj_test_data): Likewise.
26877         (creal_test_data): Likewise.
26878         (csin_test_data): Likewise.
26879         (csinh_test_data): Likewise.
26880         (csqrt_test_data): Likewise.
26881         (ctan_test_data): Likewise.
26882         (ctan_tonearest_test_data): Likewise.
26883         (ctan_towardzero_test_data): Likewise.
26884         (ctan_downward_test_data): Likewise.
26885         (ctan_upward_test_data): Likewise.
26886         (ctanh_test_data): Likewise.
26887         (ctanh_tonearest_test_data): Likewise.
26888         (ctanh_towardzero_test_data): Likewise.
26889         (ctanh_downward_test_data): Likewise.
26890         (ctanh_upward_test_data): Likewise.
26891         (erf_test_data): Likewise.
26892         (erfc_test_data): Likewise.
26893         (exp_test_data): Likewise.
26894         (exp_tonearest_test_data): Likewise.
26895         (exp_towardzero_test_data): Likewise.
26896         (exp_downward_test_data): Likewise.
26897         (exp_upward_test_data): Likewise.
26898         (exp10_test_data): Likewise.
26899         (exp2_test_data): Likewise.
26900         (expm1_test_data): Likewise.
26901         (fabs_test_data): Likewise.
26902         (fdim_test_data): Likewise.
26903         (finite_test_data): Likewise.
26904         (floor_test_data): Likewise.
26905         (fma_test_data): Likewise.
26906         (fma_towardzero_test_data): Likewise.
26907         (fma_downward_test_data): Likewise.
26908         (fma_upward_test_data): Likewise.
26909         (fmax_test_data): Likewise.
26910         (fmin_test_data): Likewise.
26911         (fmod_test_data): Likewise.
26912         (fpclassify_test_data): Likewise.
26913         (frexp_test_data): Likewise.
26914         (gamma_test_data): Likewise.
26915         (hypot_test_data): Likewise.
26916         (ilogb_test_data): Likewise.
26917         (isfinite_test_data): Likewise.
26918         (isgreater_test_data): Likewise.
26919         (isgreaterequal_test_data): Likewise.
26920         (isinf_test_data): Likewise.
26921         (isless_test_data): Likewise.
26922         (islessequal_test_data): Likewise.
26923         (islessgreater_test_data): Likewise.
26924         (isnan_test_data): Likewise.
26925         (isnormal_test_data): Likewise.
26926         (issignaling_test_data): Likewise.
26927         (isunordered_test_data): Likewise.
26928         (j0_test_data): Likewise.
26929         (j1_test_data): Likewise.
26930         (jn_test_data): Likewise.
26931         (ldexp_test_data): Likewise.
26932         (lgamma_test_data): Likewise.
26933         (lrint_test_data): Likewise.
26934         (lrint_tonearest_test_data): Likewise.
26935         (lrint_towardzero_test_data): Likewise.
26936         (lrint_downward_test_data): Likewise.
26937         (lrint_upward_test_data): Likewise.
26938         (llrint_test_data): Likewise.
26939         (llrint_tonearest_test_data): Likewise.
26940         (llrint_towardzero_test_data): Likewise.
26941         (llrint_downward_test_data): Likewise.
26942         (llrint_upward_test_data): Likewise.
26943         (log_test_data): Likewise.
26944         (log10_test_data): Likewise.
26945         (log1p_test_data): Likewise.
26946         (log2_test_data): Likewise.
26947         (logb_test_data): Likewise.
26948         (logb_downward_test_data): Likewise.
26949         (lround_test_data): Likewise.
26950         (llround_test_data): Likewise.
26951         (modf_test_data): Likewise.
26952         (nearbyint_test_data): Likewise.
26953         (nextafter_test_data): Likewise.
26954         (nexttoward_test_data): Likewise.
26955         (pow_test_data): Likewise.
26956         (pow_tonearest_test_data): Likewise.
26957         (pow_towardzero_test_data): Likewise.
26958         (pow_downward_test_data): Likewise.
26959         (pow_upward_test_data): Likewise.
26960         (remainder_test_data): Likewise.
26961         (remainder_tonearest_test_data): Likewise.
26962         (remainder_towardzero_test_data): Likewise.
26963         (remainder_downward_test_data): Likewise.
26964         (remainder_upward_test_data): Likewise.
26965         (remquo_test_data): Likewise.
26966         (rint_test_data): Likewise.
26967         (rint_tonearest_test_data): Likewise.
26968         (rint_towardzero_test_data): Likewise.
26969         (rint_downward_test_data): Likewise.
26970         (rint_upward_test_data): Likewise.
26971         (round_test_data): Likewise.
26972         (scalb_test_data): Likewise.
26973         (scalbn_test_data): Likewise.
26974         (scalbln_test_data): Likewise.
26975         (signbit_test_data): Likewise.
26976         (sin_test_data): Likewise.
26977         (sin_tonearest_test_data): Likewise.
26978         (sin_towardzero_test_data): Likewise.
26979         (sin_downward_test_data): Likewise.
26980         (sin_upward_test_data): Likewise.
26981         (sincos_test_data): Likewise.
26982         (sinh_test_data): Likewise.
26983         (sinh_tonearest_test_data): Likewise.
26984         (sinh_towardzero_test_data): Likewise.
26985         (sinh_downward_test_data): Likewise.
26986         (sinh_upward_test_data): Likewise.
26987         (sqrt_test_data): Likewise.
26988         (tan_test_data): Likewise.
26989         (tan_tonearest_test_data): Likewise.
26990         (tan_towardzero_test_data): Likewise.
26991         (tan_downward_test_data): Likewise.
26992         (tan_upward_test_data): Likewise.
26993         (tanh_test_data): Likewise.
26994         (tgamma_test_data): Likewise.
26995         (trunc_test_data): Likewise.
26996         (y0_test_data): Likewise.
26997         (y1_test_data): Likewise.
26998         (yn_test_data): Likewise.
26999         (significand_test_data): Likewise.
27001         * math/gen-libm-test.pl (@functions): Remove variable.
27002         (generate_testfile): Don't handle START and END lines.
27003         * math/libm-test.inc (START): New macro.
27004         (END): Likewise.
27005         (END_COMPLEX): Likewise.
27006         (acos_test): Use END macro without arguments.
27007         (acos_test_tonearest): Likewise.
27008         (acos_test_towardzero): Likewise.
27009         (acos_test_downward): Likewise.
27010         (acos_test_upward): Likewise.
27011         (acosh_test): Likewise.
27012         (asin_test): Likewise.
27013         (asin_test_tonearest): Likewise.
27014         (asin_test_towardzero): Likewise.
27015         (asin_test_downward): Likewise.
27016         (asin_test_upward): Likewise.
27017         (asinh_test): Likewise.
27018         (atan_test): Likewise.
27019         (atanh_test): Likewise.
27020         (atan2_test): Likewise.
27021         (cabs_test): Likewise.
27022         (cacos_test): Use END_COMPLEX macro without arguments.
27023         (cacosh_test): Likewise.
27024         (carg_test): Use END macro without arguments.
27025         (casin_test): Use END_COMPLEX macro without arguments.
27026         (casinh_test): Likewise.
27027         (catan_test): Likewise.
27028         (catanh_test): Likewise.
27029         (cbrt_test): Use END macro without arguments.
27030         (ccos_test): Use END_COMPLEX macro without arguments.
27031         (ccosh_test): Likewise.
27032         (ceil_test): Use END macro without arguments.
27033         (cexp_test): Use END_COMPLEX macro without arguments.
27034         (cimag_test): Use END macro without arguments.
27035         (clog_test): Use END_COMPLEX macro without arguments.
27036         (clog10_test): Likewise.
27037         (conj_test): Likewise.
27038         (copysign_test): Use END macro without arguments.
27039         (cos_test): Likewise.
27040         (cos_test_tonearest): Likewise.
27041         (cos_test_towardzero): Likewise.
27042         (cos_test_downward): Likewise.
27043         (cos_test_upward): Likewise.
27044         (cosh_test): Likewise.
27045         (cosh_test_tonearest): Likewise.
27046         (cosh_test_towardzero): Likewise.
27047         (cosh_test_downward): Likewise.
27048         (cosh_test_upward): Likewise.
27049         (cpow_test): Use END_COMPLEX macro without arguments.
27050         (cproj_test): Likewise.
27051         (creal_test): Use END macro without arguments.
27052         (csin_test): Use END_COMPLEX macro without arguments.
27053         (csinh_test): Likewise.
27054         (csqrt_test): Likewise.
27055         (ctan_test): Likewise.
27056         (ctan_test_tonearest): Likewise.
27057         (ctan_test_towardzero): Likewise.
27058         (ctan_test_downward): Likewise.
27059         (ctan_test_upward): Likewise.
27060         (ctanh_test): Likewise.
27061         (ctanh_test_tonearest): Likewise.
27062         (ctanh_test_towardzero): Likewise.
27063         (ctanh_test_downward): Likewise.
27064         (ctanh_test_upward): Likewise.
27065         (erf_test): Use END macro without arguments.
27066         (erfc_test): Likewise.
27067         (exp_test): Likewise.
27068         (exp_test_tonearest): Likewise.
27069         (exp_test_towardzero): Likewise.
27070         (exp_test_downward): Likewise.
27071         (exp_test_upward): Likewise.
27072         (exp10_test): Likewise.
27073         (exp2_test): Likewise.
27074         (expm1_test): Likewise.
27075         (fabs_test): Likewise.
27076         (fdim_test): Likewise.
27077         (finite_test): Likewise.
27078         (floor_test): Likewise.
27079         (fma_test): Likewise.
27080         (fma_test_towardzero): Likewise.
27081         (fma_test_downward): Likewise.
27082         (fma_test_upward): Likewise.
27083         (fmax_test): Likewise.
27084         (fmin_test): Likewise.
27085         (fmod_test): Likewise.
27086         (fpclassify_test): Likewise.
27087         (frexp_test): Likewise.
27088         (gamma_test): Likewise.
27089         (hypot_test): Likewise.
27090         (ilogb_test): Likewise.
27091         (isfinite_test): Likewise.
27092         (isgreater_test): Likewise.
27093         (isgreaterequal_test): Likewise.
27094         (isinf_test): Likewise.
27095         (isless_test): Likewise.
27096         (islessequal_test): Likewise.
27097         (islessgreater_test): Likewise.
27098         (isnan_test): Likewise.
27099         (isnormal_test): Likewise.
27100         (issignaling_test): Likewise.
27101         (isunordered_test): Likewise.
27102         (j0_test): Likewise.
27103         (j1_test): Likewise.
27104         (jn_test): Likewise.
27105         (ldexp_test): Likewise.
27106         (lgamma_test): Likewise.
27107         (lrint_test): Likewise.
27108         (lrint_test_tonearest): Likewise.
27109         (lrint_test_towardzero): Likewise.
27110         (lrint_test_downward): Likewise.
27111         (lrint_test_upward): Likewise.
27112         (llrint_test): Likewise.
27113         (llrint_test_tonearest): Likewise.
27114         (llrint_test_towardzero): Likewise.
27115         (llrint_test_downward): Likewise.
27116         (llrint_test_upward): Likewise.
27117         (log_test): Likewise.
27118         (log10_test): Likewise.
27119         (log1p_test): Likewise.
27120         (log2_test): Likewise.
27121         (logb_test): Likewise.
27122         (logb_test_downward): Likewise.
27123         (lround_test): Likewise.
27124         (llround_test): Likewise.
27125         (modf_test): Likewise.
27126         (nearbyint_test): Likewise.
27127         (nextafter_test): Likewise.
27128         (nexttoward_test): Likewise.
27129         (pow_test): Likewise.
27130         (pow_test_tonearest): Likewise.
27131         (pow_test_towardzero): Likewise.
27132         (pow_test_downward): Likewise.
27133         (pow_test_upward): Likewise.
27134         (remainder_test): Likewise.
27135         (remainder_test_tonearest): Likewise.
27136         (remainder_test_towardzero): Likewise.
27137         (remainder_test_downward): Likewise.
27138         (remainder_test_upward): Likewise.
27139         (remquo_test): Likewise.
27140         (rint_test): Likewise.
27141         (rint_test_tonearest): Likewise.
27142         (rint_test_towardzero): Likewise.
27143         (rint_test_downward): Likewise.
27144         (rint_test_upward): Likewise.
27145         (round_test): Likewise.
27146         (scalb_test): Likewise.
27147         (scalbn_test): Likewise.
27148         (scalbln_test): Likewise.
27149         (signbit_test): Likewise.
27150         (sin_test): Likewise.
27151         (sin_test_tonearest): Likewise.
27152         (sin_test_towardzero): Likewise.
27153         (sin_test_downward): Likewise.
27154         (sin_test_upward): Likewise.
27155         (sincos_test): Likewise.
27156         (sinh_test): Likewise.
27157         (sinh_test_tonearest): Likewise.
27158         (sinh_test_towardzero): Likewise.
27159         (sinh_test_downward): Likewise.
27160         (sinh_test_upward): Likewise.
27161         (sqrt_test): Likewise.
27162         (tan_test): Likewise.
27163         (tan_test_tonearest): Likewise.
27164         (tan_test_towardzero): Likewise.
27165         (tan_test_downward): Likewise.
27166         (tan_test_upward): Likewise.
27167         (tanh_test): Likewise.
27168         (tgamma_test): Likewise.
27169         (trunc_test): Likewise.
27170         (y0_test): Likewise.
27171         (y1_test): Likewise.
27172         (yn_test): Likewise.
27173         (significand_test): Likewise.
27175 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
27177         [BZ #15381]
27178         * libio/genops.c (_IO_no_init): Initialize wide struct info.
27180 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27182         [BZ #14894]
27183         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27184         __ppc_mdoio and __ppc_mdoom.
27185         * manual/platform.texi: Document new functions __ppc_yield,
27186         __ppc_mdoio and __ppc_mdoom.
27188 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
27190         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27191         (main): Mention "tls" pseudo-hwcap is legacy.
27192         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27194 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27196         * math/gen-libm-test.pl (parse_args): Output only string of
27197         arguments as text for test name, not full call or descriptions of
27198         tests for extra outputs.
27199         (generate_testfile): Do not pass function name to parse_args.
27200         Generate this_func variable from START.
27201         * math/libm-test.inc (struct test_f_f_data): Rename test_name
27202         field to arg_str.
27203         (struct test_ff_f_data): Likewise.
27204         (test_ff_f_data_nexttoward): Likewise.
27205         (struct test_fi_f_data): Likewise.
27206         (struct test_fl_f_data): Likewise.
27207         (struct test_if_f_data): Likewise.
27208         (struct test_fff_f_data): Likewise.
27209         (struct test_c_f_data): Likewise.
27210         (struct test_f_f1_data): Likewise.  Remove field extra_name.
27211         (struct test_fF_f1_data): Likewise.
27212         (struct test_ffI_f1_data): Likewise.
27213         (struct test_c_c_data): Rename test_name field to arg_str.
27214         (struct test_cc_c_data): Likewise.
27215         (struct test_f_i_data): Likewise.
27216         (struct test_ff_i_data): Likewise.
27217         (struct test_f_l_data): Likewise.
27218         (struct test_f_L_data): Likewise.
27219         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
27220         and extra2_name.
27221         (COMMON_TEST_SETUP): New macro.
27222         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27223         (COMMON_TEST_CLEANUP): Likewise.
27224         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27225         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
27226         macros.
27227         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27228         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
27229         macros.
27230         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27231         (RUN_TEST_fff_f): Take argument string.  Call new setup and
27232         cleanup macros.
27233         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27234         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
27235         macros.
27236         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27237         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
27238         macros.
27239         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27240         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
27241         cleanup macros.
27242         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27243         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
27244         cleanup macros.
27245         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27246         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
27247         cleanup macros.
27248         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27249         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
27250         macros.
27251         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27252         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
27253         macros.
27254         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27255         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
27256         macros.
27257         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27258         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
27259         cleanup macros.
27260         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27261         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
27262         cleanup macros.
27263         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27264         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
27265         macros.
27266         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27267         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
27268         cleanup macros.
27269         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27270         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
27271         macros.
27272         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27273         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
27274         macros.
27275         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27276         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
27277         cleanup macros.
27278         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27280 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
27282         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27283         to _sifields.sigfault.
27284         (si_addr_lsb): Define new macro.
27285         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27286         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27287         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27289 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
27291         [BZ #15441]
27292         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27293         returns -1.
27294         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27295         null return -1.
27296         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27297         loading the domain.
27299 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27301         * math/gen-libm-test.pl (parse_args): Do not include expected
27302         result in test name.
27303         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27304         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27305         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27306         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27307         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27310 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27312         * benchtests/Makefile: Sort function entries.
27314         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27315         tanh, asinh, acosh, atanh.
27316         * benchtests/acos-inputs: New file.
27317         * benchtests/acosh-inputs: New file.
27318         * benchtests/asin-inputs: New file.
27319         * benchtests/asinh-inputs: New file.
27320         * benchtests/atanh-inputs: New file.
27321         * benchtests/cosh-inputs: New file.
27322         * benchtests/log-inputs: New file.
27323         * benchtests/sinh-inputs: New file.
27324         * benchtests/tanh-inputs: New file.
27326 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
27328         [BZ #15339]
27329         * posix/tst-getaddrinfo4.c: New test.
27330         * posix/Makefile (tests): Add it.
27332 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27334         [BZ #15339]
27335         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27336         when no services were used.
27337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27338         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27340 2013-05-21  Andreas Schwab  <schwab@suse.de>
27342         [BZ #15014]
27343         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27344         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27345         successful.
27346         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27347         redundant variable declarations and reallocation of buffer when
27348         parsing as IPv6 address.  Always set NSS status when called from
27349         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
27350         buffer too small.  Correct computation of needed size.
27351         * nss/Makefile (tests): Add test-digits-dots.
27352         * nss/test-digits-dots.c: New test.
27354 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27356         * benchtests/Makefile: Remove instructions for adding
27357         benchmark tests.
27358         * benchtests/README: New file to explain how to execute and
27359         enhance the benchmark tests.
27361 2013-05-21  Andreas Schwab  <schwab@suse.de>
27363         [BZ #15493]
27364         * setjmp/Makefile (tests): Add tst-sigsetjmp.
27365         * setjmp/tst-sigsetjmp.c: New test.
27367 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
27369         * sysdeps/x86_64/memset.S (memset): New implementation.
27370         (__bzero): Likewise.
27371         (__memset_tail): New function.
27373 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
27375         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27376         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27377         __memcpy_sse2_unaligned ifunc selection.
27378         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27379         Add memcpy-sse2-unaligned.S.
27380         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27381         Add: __memcpy_sse2_unaligned.
27383 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
27385         [BZ #15490]
27386         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27387         math_force_eval before restoring floating-point envrionment.
27388         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27389         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27390         Likewise.
27391         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27392         <math_private.h>.
27393         (__nearbyintl): Use math_force_eval before restoring
27394         floating-point environment.
27395         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27397         * math/gen-libm-test.pl (special_functions): Remove.
27398         (parse_args): Don't handle TEST_extra.  Handle functions with no
27399         return value.
27400         * math/libm-test.inc (struct test_sincos_data): Replace with
27401         struct test_fFF_11_data.
27402         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27403         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27404         (sincos_test_data): Change element type to struct
27405         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
27406         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27407         RUN_TEST_LOOP_sincos.
27408         * math/README.libm-test: Don't mention special handling of
27409         individual functions.
27410         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27411         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27412         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27413         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27414         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27417         * math/gen-libm-test.pl (get_variable): Remove function.
27418         (parse_args): Don't show pointer parameters to call in test
27419         names.  Use "extra output N" in test names for extra outputs
27420         rather than naming variables.
27422 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
27424         [BZ #15488]
27425         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27426         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27427         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27428         double tests.
27429         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27430         disable.
27431         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27432         check_long_double.
27434         * math/gen-libm-test.pl (@tests): Remove variable.
27435         ($count): Likewise.
27436         (new_test): Remove function.
27437         (show_exceptions): New function.
27438         (special_functions): Use show_exceptions instead of new_test.
27439         (parse_args): Likewise.
27440         (generate_testfile): Pass only function name in generated call to
27441         print_max_error or print_complex_max_error.
27442         (get_ulps): Do not handle complex tests specially.
27443         (output_test): Rename to ...
27444         (get_all_ulps_for_test): ... this.  Return a string rather than
27445         printing to a file.  Require ulps to be present.
27446         (output_ulps): Generate arrays rather than #defines.
27447         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27448         (struct ulp_data): New type.
27449         (BUILD_COMPLEX_ULP): Remove macro.
27450         (compare_ulp_data): New function.
27451         (find_ulps): Likewise.
27452         (find_test_ulps): Likewise.
27453         (find_function_ulps): Likewise.
27454         (find_complex_function_ulps): Likewise.
27455         (print_max_error): Determine allowed ulps using
27456         find_function_ulps.
27457         (print_complex_max_error): Determine allowed ulps using
27458         find_complex_function_ulps.
27459         (check_float_internal): Determine max ulps using find_test_ulps.
27460         (check_float): Do not take max_ulp parameter.  Update call to
27461         check_float_internal.
27462         (check_complex): Likewise.
27463         (check_int): Do not take max_ulp parameter.
27464         (check_long): Likewise.
27465         (check_bool): Likewise.
27466         (check_longlong): Likewise.
27467         (struct test_f_f_data): Remove max_ulp field.
27468         (struct test_ff_f_data): Likewise.
27469         (struct test_ff_f_data_nexttoward): Likewise.
27470         (struct test_fi_f_data): Likewise.
27471         (struct test_fl_f_data): Likewise.
27472         (struct test_if_f_data): Likewise.
27473         (struct test_fff_f_data): Likewise.
27474         (struct test_c_f_data): Likewise.
27475         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27476         (struct test_fF_f1_data): Likewise.
27477         (struct test_ffI_f1_data): Likewise.
27478         (struct test_c_c_data): Remove max_ulp field.
27479         (struct test_cc_c_data): Likewise.
27480         (struct test_f_i_data): Likewise.
27481         (struct test_ff_i_data): Likewise.
27482         (struct test_f_l_data): Likewise.
27483         (struct test_f_L_data): Likewise.
27484         (struct test_sincos_data): Likewise.
27485         (RUN_TEST_f_f): Do not handle ulps.
27486         (RUN_TEST_LOOP_f_f): Likewise.
27487         (RUN_TEST_2_f): Likewise.
27488         (RUN_TEST_LOOP_2_f): Likewise.
27489         (RUN_TEST_fff_f): Likewise.
27490         (RUN_TEST_LOOP_fff_f): Likewise.
27491         (RUN_TEST_c_f): Likewise.
27492         (RUN_TEST_LOOP_c_f): Likewise.
27493         (RUN_TEST_f_f1): Likewise.
27494         (RUN_TEST_LOOP_f_f1): Likewise.
27495         (RUN_TEST_fF_f1): Likewise.
27496         (RUN_TEST_LOOP_fF_f1): Likewise.
27497         (RUN_TEST_fI_f1): Likewise.
27498         (RUN_TEST_LOOP_fI_f1): Likewise.
27499         (RUN_TEST_ffI_f1): Likewise.
27500         (RUN_TEST_LOOP_ffI_f1): Likewise.
27501         (RUN_TEST_c_c): Likewise.
27502         (RUN_TEST_LOOP_c_c): Likewise.
27503         (RUN_TEST_cc_c): Likewise.
27504         (RUN_TEST_LOOP_cc_c): Likewise.
27505         (RUN_TEST_f_i): Likewise.
27506         (RUN_TEST_LOOP_f_i): Likewise.
27507         (RUN_TEST_f_i_tg): Likewise.
27508         (RUN_TEST_LOOP_f_i_tg): Likewise.
27509         (RUN_TEST_ff_i_tg): Likewise.
27510         (RUN_TEST_LOOP_ff_i_tg): Likewise.
27511         (RUN_TEST_f_b): Likewise.
27512         (RUN_TEST_LOOP_f_b): Likewise.
27513         (RUN_TEST_f_b_tg): Likewise.
27514         (RUN_TEST_LOOP_f_b_tg): Likewise.
27515         (RUN_TEST_f_l): Likewise.
27516         (RUN_TEST_LOOP_f_l): Likewise.
27517         (RUN_TEST_f_L): Likewise.
27518         (RUN_TEST_LOOP_f_L): Likewise.
27519         (RUN_TEST_sincos): Likewise.
27520         (RUN_TEST_LOOP_sincos): Likewise.
27522 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
27524         [BZ #15480]
27525         [BZ #15485]
27526         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27527         main case of finite arguments, set rounding mode to FE_TONEAREST
27528         and discard exceptions.
27529         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27530         exceptions.
27531         (remainder_tonearest_test_data): New variable.
27532         (remainder_test_tonearest): New function.
27533         (remainder_towardzero_test_data): New variable.
27534         (remainder_test_towardzero): New function.
27535         (remainder_downward_test_data): New variable.
27536         (remainder_test_downward): New function.
27537         (remainder_upward_test_data): New variable.
27538         (remainder_test_upward): New function.
27539         (main): Call the new test functions.
27541         * math/libm-test.inc (struct test_f_f1_data): Remove field
27542         extra_init.
27543         (struct test_fF_f1_data): Likewise.
27544         (struct test_ffI_f1_data): Likewise.
27545         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
27546         based on value of EXTRA_EXPECTED.
27547         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27548         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
27549         EXTRA_VAR based on value of EXTRA_EXPECTED.
27550         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27551         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
27552         EXTRA_VAR based on value of EXTRA_EXPECTED.
27553         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27554         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
27555         EXTRA_VAR based on value of EXTRA_EXPECTED.
27556         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27557         * math/gen-libm-test.pl (parse_args): Don't output initializers
27558         for extra output values.
27560         * math/libm-test.inc (check_int): Expect result to be exactly
27561         equal to expected value and do not handle ulps.
27562         (check_long): Likewise.
27563         (check_longlong): Likewise.
27565         * math/libm-test.inc (ceil_test_data): Test for "inexact"
27566         exceptions.
27567         (cimag_test_data): Likewise.
27568         (conj_test_data): Likewise.
27569         (copysign_test_data): Likewise.
27570         (cproj_test_data): Likewise.
27571         (creal_test_data): Likewise.
27572         (fabs_test_data): Likewise.
27573         (fdim_test_data): Likewise.
27574         (finite_test_data): Likewise.
27575         (floor_test_data): Likewise.
27576         (fmax_test_data): Likewise.
27577         (fmin_test_data): Likewise.
27578         (fmod_test_data): Likewise.
27579         (fpclassify_test_data): Likewise.
27580         (frexp_test_data): Likewise.
27581         (ilogb_test_data): Likewise.
27582         (isfinite_test_data): Likewise.
27583         (isgreater_test_data): Likewise.
27584         (isgreaterequal_test_data): Likewise.
27585         (isinf_test_data): Likewise.
27586         (isless_test_data): Likewise.
27587         (islessequal_test_data): Likewise.
27588         (islessgreater_test_data): Likewise.
27589         (isnan_test_data): Likewise.
27590         (isnormal_test_data): Likewise.
27591         (issignaling_test_data): Likewise.
27592         (isunordered_test_data): Likewise.
27593         (ldexp_test_data): Likewise.
27594         (lrint_test_data): Likewise.
27595         (lrint_test_data) [TEST_FLOAT]: Disable one test.
27596         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27597         (lrint_tonearest_test_data): Test for "inexact" exceptions.
27598         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27599         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27600         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27601         test input.
27602         (lrint_towardzero_test_data): Test for "inexact" exceptions.
27603         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27604         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27605         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27606         that test input.
27607         (lrint_downward_test_data): Test for "inexact" exceptions.
27608         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27609         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27610         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27611         test input.
27612         (lrint_upward_test_data): Test for "inexact" exceptions.
27613         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27614         test input.
27615         (llrint_test_data): Test for "inexact" exceptions.
27616         (llrint_test_data) [TEST_FLOAT]: Disable one test.
27617         (llrint_tonearest_test_data): Test for "inexact" exceptions.
27618         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27619         (llrint_towardzero_test_data): Test for "inexact" exceptions.
27620         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27621         (llrint_downward_test_data): Test for "inexact" exceptions.
27622         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27623         (llrint_upward_test_data): Test for "inexact" exceptions.
27624         (logb_test_data): Likewise.
27625         (logb_downward_test_data): Likewise.
27626         (nextafter_test_data): Likewise.
27627         (nexttoward_test_data): Likewise.
27628         (remainder_test_data): Likewise.
27629         (remquo_test_data): Likewise.
27630         (scalbn_test_data): Likewise.
27631         (scalbln_test_data): Likewise.
27632         (signbit_test_data): Likewise.
27633         (sqrt_test_data): Likewise.
27634         (significand_test_data): Likewise.
27636 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27638         [BZ #15424]
27639         * benchtests/bench-modf.c (struct args): Mark arg0 as
27640         volatile.
27641         * scripts/bench.pl: Mark members of struct args as volatile.
27643 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27645         [BZ # 15497]
27646         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27647         negative infinity on POWER6 or lower.
27648         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27650 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27652         [BZ #15442]
27653         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27654         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27655         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27656         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27657         (_FP_SETQNAN): New macro.
27658         (_FP_SETQNAN_SEMIRAW): Likewise.
27659         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27660         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27661         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27662         (FP_EXTEND): Use _FP_FRAC_SNANP.
27663         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27664         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27665         into account.
27666         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27667         New macro.
27668         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27669         Likewise.
27671 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27673         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27674         with DIVIDE_BY_ZERO_EXCEPTION.
27675         (gamma_test_data): Likewise.
27676         (lgamma_test_data): Likewise.
27677         (log_test_data): Likewise.
27678         (log10_test_data): Likewise.
27679         (log2_test_data): Likewise.
27680         (tgamma_test_data): Likewise.
27682         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27683         (acos_test_tonearest): Likewise.
27684         (acos_test_towardzero): Likewise.
27685         (acos_test_downward): Likewise.
27686         (acos_test_upward): Likewise.
27687         (acosh_test): Likewise.
27688         (asin_test): Likewise.
27689         (asin_test_tonearest): Likewise.
27690         (asin_test_towardzero): Likewise.
27691         (asin_test_downward): Likewise.
27692         (asin_test_upward): Likewise.
27693         (asinh_test): Likewise.
27694         (atan_test): Likewise.
27695         (atanh_test): Likewise.
27696         (atan2_test): Likewise.
27697         (cabs_test): Likewise.
27698         (cacos_test): Likewise.
27699         (cacosh_test): Likewise.
27700         (casin_test): Likewise.
27701         (casinh_test): Likewise.
27702         (catan_test): Likewise.
27703         (catanh_test): Likewise.
27704         (cbrt_test): Likewise.
27705         (ccos_test): Likewise.
27706         (ccosh_test): Likewise.
27707         (cexp_test): Likewise.
27708         (clog_test): Likewise.
27709         (clog10_test): Likewise.
27710         (cos_test): Likewise.
27711         (cos_test_tonearest): Likewise.
27712         (cos_test_towardzero): Likewise.
27713         (cos_test_downward): Likewise.
27714         (cos_test_upward): Likewise.
27715         (cosh_test): Likewise.
27716         (cosh_test_tonearest): Likewise.
27717         (cosh_test_towardzero): Likewise.
27718         (cosh_test_downward): Likewise.
27719         (cosh_test_upward): Likewise.
27720         (cpow_test): Likewise.
27721         (csin_test): Likewise.
27722         (csinh_test): Likewise.
27723         (csqrt_test): Likewise.
27724         (ctan_test): Likewise.
27725         (ctan_test_tonearest): Likewise.
27726         (ctan_test_towardzero): Likewise.
27727         (ctan_test_downward): Likewise.
27728         (ctan_test_upward): Likewise.
27729         (ctanh_test): Likewise.
27730         (ctanh_test_tonearest): Likewise.
27731         (ctanh_test_towardzero): Likewise.
27732         (ctanh_test_downward): Likewise.
27733         (ctanh_test_upward): Likewise.
27734         (erf_test): Likewise.
27735         (erfc_test): Likewise.
27736         (exp_test): Likewise.
27737         (exp_test_tonearest): Likewise.
27738         (exp_test_towardzero): Likewise.
27739         (exp_test_downward): Likewise.
27740         (exp_test_upward): Likewise.
27741         (exp10_test): Likewise.
27742         (exp2_test): Likewise.
27743         (expm1_test): Likewise.
27744         (fmod_test): Likewise.
27745         (gamma_test): Likewise.
27746         (hypot_test): Likewise.
27747         (j0_test): Likewise.
27748         (j1_test): Likewise.
27749         (jn_test): Likewise.
27750         (lgamma_test): Likewise.
27751         (log_test): Likewise.
27752         (log10_test): Likewise.
27753         (log1p_test): Likewise.
27754         (log2_test): Likewise.
27755         (logb_test_downward): Likewise.
27756         (pow_test): Likewise.
27757         (pow_test_tonearest): Likewise.
27758         (pow_test_towardzero): Likewise.
27759         (pow_test_downward): Likewise.
27760         (pow_test_upward): Likewise.
27761         (remainder_test): Likewise.
27762         (remquo_test): Likewise.
27763         (sin_test): Likewise.
27764         (sin_test_tonearest): Likewise.
27765         (sin_test_towardzero): Likewise.
27766         (sin_test_downward): Likewise.
27767         (sin_test_upward): Likewise.
27768         (sincos_test): Likewise.
27769         (sinh_test): Likewise.
27770         (sinh_test_tonearest): Likewise.
27771         (sinh_test_towardzero): Likewise.
27772         (sinh_test_downward): Likewise.
27773         (sinh_test_upward): Likewise.
27774         (sqrt_test): Likewise.
27775         (tan_test): Likewise.
27776         (tan_test_tonearest): Likewise.
27777         (tan_test_towardzero): Likewise.
27778         (tan_test_downward): Likewise.
27779         (tan_test_upward): Likewise.
27780         (tanh_test): Likewise.
27781         (tgamma_test): Likewise.
27782         (y0_test): Likewise.
27783         (y1_test): Likewise.
27784         (yn_test): Likewise.
27786         * math/gen-libm-test.pl (adjust_arg): Remove function.
27787         (special_function): Remove argument $in_func.  Only handle
27788         generating output for tables of tests, not inside functions.
27789         (parse_args): Likewise.
27790         (generate_testfile): Remove variable $in_func.  Update call to
27791         parse_args.
27792         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27793         (MINUS_ZERO_INIT): Rename macro to minus_zero.
27794         (PLUS_INFTY_INIT): Rename macro to plus_infty.
27795         (MINUS_INFTY_INIT): Rename macro to minus_infty.
27796         (QNAN_VALUE_INIT): Rename macro to qnan_value.
27797         (MAX_VALUE_INIT): Rename macro to max_value.
27798         (MIN_VALUE_INIT): Rename macro to min_value.
27799         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27800         (plus_zero): Remove variable.
27801         (minus_zero): Likewise.
27802         (plus_infty): Likewise.
27803         (minus_infty): Likewise.
27804         (qnan_value): Likewise.
27805         (max_value): Likewise.
27806         (min_value): Likewise.
27807         (min_subnorm_value): Likewise.
27809 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27811         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27812         uint64_t or uint32_t usage.
27813         * crypt/sha256-block.c: Likewise.
27814         * crypt/sha256-crypt.c: Likewise.
27815         * crypt/sha256.c: Likewise.
27816         * crypt/sha512-block.c: Likewise.
27817         * crypt/sha512-crypt.c: Likewise.
27818         * crypt/sha512.c: Likewise.
27819         * debug/backtrace-tst.c: Likewise.
27820         * debug/pcprofiledump.c: Likewise.
27821         * elf/cache.c: Likewise.
27822         * elf/dl-cache.c: Likewise.
27823         * elf/dl-misc.c: Likewise.
27824         * elf/dl-profile.c: Likewise.
27825         * elf/dl-support.c: Likewise.
27826         * elf/ldconfig.c: Likewise.
27827         * elf/sprof.c: Likewise.
27828         * iconv/dummy-repertoire.c: Likewise.
27829         * iconv/iconv_charmap.c: Likewise.
27830         * iconv/skeleton.c: Likewise.
27831         * iconvdata/8bit-generic.c: Likewise.
27832         * iconvdata/cp737.h: Likewise.
27833         * iconvdata/cp775.h: Likewise.
27834         * iconvdata/ibm1008.h: Likewise.
27835         * iconvdata/ibm1025.h: Likewise.
27836         * iconvdata/ibm1046.h: Likewise.
27837         * iconvdata/ibm1097.h: Likewise.
27838         * iconvdata/ibm1112.h: Likewise.
27839         * iconvdata/ibm1122.h: Likewise.
27840         * iconvdata/ibm1123.h: Likewise.
27841         * iconvdata/ibm1124.h: Likewise.
27842         * iconvdata/ibm1129.h: Likewise.
27843         * iconvdata/ibm1130.h: Likewise.
27844         * iconvdata/ibm1132.h: Likewise.
27845         * iconvdata/ibm1133.h: Likewise.
27846         * iconvdata/ibm1137.h: Likewise.
27847         * iconvdata/ibm1140.h: Likewise.
27848         * iconvdata/ibm1141.h: Likewise.
27849         * iconvdata/ibm1142.h: Likewise.
27850         * iconvdata/ibm1143.h: Likewise.
27851         * iconvdata/ibm1144.h: Likewise.
27852         * iconvdata/ibm1145.h: Likewise.
27853         * iconvdata/ibm1146.h: Likewise.
27854         * iconvdata/ibm1147.h: Likewise.
27855         * iconvdata/ibm1148.h: Likewise.
27856         * iconvdata/ibm1149.h: Likewise.
27857         * iconvdata/ibm1153.h: Likewise.
27858         * iconvdata/ibm1154.h: Likewise.
27859         * iconvdata/ibm1155.h: Likewise.
27860         * iconvdata/ibm1156.h: Likewise.
27861         * iconvdata/ibm1157.h: Likewise.
27862         * iconvdata/ibm1158.h: Likewise.
27863         * iconvdata/ibm1160.h: Likewise.
27864         * iconvdata/ibm1161.h: Likewise.
27865         * iconvdata/ibm1162.h: Likewise.
27866         * iconvdata/ibm1163.h: Likewise.
27867         * iconvdata/ibm1164.h: Likewise.
27868         * iconvdata/ibm1166.h: Likewise.
27869         * iconvdata/ibm1167.h: Likewise.
27870         * iconvdata/ibm12712.h: Likewise.
27871         * iconvdata/ibm1390.h: Likewise.
27872         * iconvdata/ibm1399.h: Likewise.
27873         * iconvdata/ibm16804.h: Likewise.
27874         * iconvdata/ibm4517.h: Likewise.
27875         * iconvdata/ibm4899.h: Likewise.
27876         * iconvdata/ibm4909.h: Likewise.
27877         * iconvdata/ibm4971.h: Likewise.
27878         * iconvdata/ibm5347.h: Likewise.
27879         * iconvdata/ibm803.h: Likewise.
27880         * iconvdata/ibm856.h: Likewise.
27881         * iconvdata/ibm901.h: Likewise.
27882         * iconvdata/ibm902.h: Likewise.
27883         * iconvdata/ibm9030.h: Likewise.
27884         * iconvdata/ibm9066.h: Likewise.
27885         * iconvdata/ibm921.h: Likewise.
27886         * iconvdata/ibm922.h: Likewise.
27887         * iconvdata/ibm9448.h: Likewise.
27888         * iconvdata/isiri-3342.h: Likewise.
27889         * iconvdata/jis0201.h: Likewise.
27890         * include/link.h: Likewise.
27891         * include/netdb.h: Likewise.
27892         * inet/check_native.c: Likewise.
27893         * inet/check_pf.c: Likewise.
27894         * inet/getipv4sourcefilter.c: Likewise.
27895         * inet/getnameinfo.c: Likewise.
27896         * inet/getsourcefilter.c: Likewise.
27897         * inet/htonl.c: Likewise.
27898         * inet/setipv4sourcefilter.c: Likewise.
27899         * inet/setsourcefilter.c: Likewise.
27900         * inet/test-inet6_opt.c: Likewise.
27901         * inet/tst-network.c: Likewise.
27902         * locale/C-collate.c: Likewise.
27903         * locale/C-ctype.c: Likewise.
27904         * locale/C-time.c: Likewise.
27905         * locale/C-translit.h: Likewise.
27906         * locale/loadarchive.c: Likewise.
27907         * locale/programs/3level.h: Likewise.
27908         * locale/programs/charmap.c: Likewise.
27909         * locale/programs/charmap.h: Likewise.
27910         * locale/programs/ld-address.c: Likewise.
27911         * locale/programs/ld-collate.c: Likewise.
27912         * locale/programs/ld-ctype.c: Likewise.
27913         * locale/programs/ld-identification.c: Likewise.
27914         * locale/programs/ld-measurement.c: Likewise.
27915         * locale/programs/ld-messages.c: Likewise.
27916         * locale/programs/ld-monetary.c: Likewise.
27917         * locale/programs/ld-name.c: Likewise.
27918         * locale/programs/ld-numeric.c: Likewise.
27919         * locale/programs/ld-paper.c: Likewise.
27920         * locale/programs/ld-telephone.c: Likewise.
27921         * locale/programs/ld-time.c: Likewise.
27922         * locale/programs/linereader.c: Likewise.
27923         * locale/programs/locale.c: Likewise.
27924         * locale/programs/locarchive.c: Likewise.
27925         * locale/programs/locfile.h: Likewise.
27926         * locale/programs/repertoire.c: Likewise.
27927         * locale/programs/simple-hash.c: Likewise.
27928         * locale/programs/simple-hash.h: Likewise.
27929         * malloc/memusage.c: Likewise.
27930         * malloc/memusagestat.c: Likewise.
27931         * nis/nis_defaults.c: Likewise.
27932         * nis/nis_hash.c: Likewise.
27933         * nis/nis_print.c: Likewise.
27934         * nis/nis_xdr.c: Likewise.
27935         * nscd/connections.c: Likewise.
27936         * nscd/hstcache.c: Likewise.
27937         * nscd/nscd_gethst_r.c: Likewise.
27938         * nscd/nscd_getserv_r.c: Likewise.
27939         * nscd/nscd_helper.c: Likewise.
27940         * nscd/servicescache.c: Likewise.
27941         * nss/makedb.c: Likewise.
27942         * nss/nss_db/db-XXX.c: Likewise.
27943         * nss/nss_db/db-initgroups.c: Likewise.
27944         * nss/nss_db/db-netgrp.c: Likewise.
27945         * nss/nss_files/files-network.c: Likewise.
27946         * nss/nss_files/files-parse.c: Likewise.
27947         * posix/bug-regex5.c: Likewise.
27948         * posix/fnmatch_loop.c: Likewise.
27949         * posix/regcomp.c: Likewise.
27950         * posix/regexec.c: Likewise.
27951         * posix/tst-rfc3484-2.c: Likewise.
27952         * posix/tst-rfc3484-3.c: Likewise.
27953         * posix/tst-rfc3484.c: Likewise.
27954         * resolv/nss_dns/dns-canon.c: Likewise.
27955         * resolv/nss_dns/dns-network.c: Likewise.
27956         * resolv/res_init.c: Likewise.
27957         * resolv/res_mkquery.c: Likewise.
27958         * resolv/tst-aton.c: Likewise.
27959         * stdlib/cxa_atexit.c: Likewise.
27960         * stdlib/cxa_finalize.c: Likewise.
27961         * stdlib/gen-fpioconst.c: Likewise.
27962         * stdlib/strtol_l.c: Likewise.
27963         * string/tst-endian.c: Likewise.
27964         * sunrpc/auth_des.c: Likewise.
27965         * sunrpc/clnt_udp.c: Likewise.
27966         * sunrpc/rtime.c: Likewise.
27967         * sunrpc/svcauth_des.c: Likewise.
27968         * sunrpc/xdr.c: Likewise.
27969         * sunrpc/xdr_intXX_t.c: Likewise.
27970         * sunrpc/xdr_rec.c: Likewise.
27971         * sysdeps/generic/ldconfig.h: Likewise.
27972         * sysdeps/generic/ldsodefs.h: Likewise.
27973         * sysdeps/generic/memusage.h: Likewise.
27974         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27975         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27976         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27977         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27978         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27979         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27980         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27981         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27982         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27983         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27984         * sysdeps/posix/getaddrinfo.c: Likewise.
27985         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27986         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27987         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27988         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27989         * sysdeps/powerpc/test-gettimebase.c: Likewise.
27990         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27991         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27992         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27993         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27994         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27995         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27996         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27997         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27998         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27999         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28000         * sysdeps/x86_64/dl-tls.h: Likewise.
28001         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28002         * time/alt_digit.c: Likewise.
28003         * time/era.c: Likewise.
28004         * wcsmbs/tst-c16c32-1.c: Likewise.
28006 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28008         * math/libm-test.inc (struct test_sincos_data): New type.
28009         (RUN_TEST_LOOP_sincos): New macro.
28010         (sincos_test_data): New variable.
28011         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28013 2013-05-16  Richard Henderson  <rth@redhat.com>
28015         * math/atest-exp2.c (LIMB64): New macro.
28016         (CONSTSZ): New macro.
28017         (mp_exp1, mp_exp_m1, mp_log2): New variables.
28018         (hexdig): Move ...
28019         (print_mpn_fp): ... to function scope.
28020         (read_mpn_hex): Remove.
28021         (get_log2): Remove.
28022         (exp2_mpn): Use mp_log2.
28023         (main): Use mp_exp1.
28025 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28027         * math/libm-test.inc: Remove comment about not testing "inexact"
28028         exceptions.
28029         (INEXACT_EXCEPTION): New macro.
28030         (NO_INEXACT_EXCEPTION): Likewise.
28031         (INVALID_EXCEPTION_OK): Update value.
28032         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28033         (OVERFLOW_EXCEPTION_OK): Likewise.
28034         (UNDERFLOW_EXCEPTION_OK): Likewise.
28035         (IGNORE_ZERO_INF_SIGN): Likewise.
28036         (ERRNO_UNCHANGED): Likewise.
28037         (ERRNO_EDOM): Likewise.
28038         (ERRNO_ERANGE): Likewise.
28039         (test_exceptions): Handle testing "inexact" exceptions.
28040         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28041         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28042         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28043         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28044         INEXACT_EXCEPTION.
28045         (rint_towardzero_test_data): Likewise.
28046         (rint_downward_test_data): Likewise.
28047         (rint_upward_test_data): Likewise.
28049         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28050         with OVERFLOW_EXCEPTION.
28051         (exp10_test_data): Likewise.
28052         (exp2_test_data): Likewise.
28053         (expm1_test_data): Likewise.
28054         (lgamma_test_data): Likewise.
28055         (pow_test_data): Likewise.
28056         (tgamma_test_data): Likewise.
28057         (yn_test_data): Remove duplicate test of overflow.
28059         * math/libm-test.inc (struct test_cc_c_data): New type.
28060         (RUN_TEST_LOOP_cc_c): New macro.
28061         (cpow_test_data): New variable.
28062         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28064         * math/libm-test.inc (struct test_f_L_data): New type.
28065         (RUN_TEST_LOOP_f_L): New macro.
28066         (llrint_test_data): New variable.
28067         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28068         (llrint_tonearest_test_data): New variable.
28069         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28070         (llrint_towardzero_test_data): New variable.
28071         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28072         (llrint_downward_test_data): New variable.
28073         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28074         (llrint_upward_test_data): New variable.
28075         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28076         (llround_test_data): New variable.
28077         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28079 2013-05-13  Peter Collingbourne  <pcc@google.com>
28081         * math/atest-exp2.c (get_log2): Remove const attribute.
28083 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28085         * math/libm-test.inc (struct test_f_l_data): New type.
28086         (RUN_TEST_LOOP_f_l): New macro.
28087         (lrint_test_data): New variable.
28088         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28089         (lrint_tonearest_test_data): New variable.
28090         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28091         (lrint_towardzero_test_data): New variable.
28092         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28093         (lrint_downward_test_data): New variable.
28094         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28095         (lrint_upward_test_data): New variable.
28096         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28097         (lround_test_data): New variable.
28098         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28100 2013-05-15  Peter Collingbourne  <pcc@google.com>
28102         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28103         (EXTRACT_WORDS64) Use where appropriate.
28104         (INSERT_WORDS64) Likewise.
28106         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28107         constraints with x constraints.
28108         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28110         * malloc/obstack.c (_obstack_compat): Add initializer.
28112 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28114         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28115         si_trapno and add si_addr_lsb to _sifields.sigfault.
28116         (si_trapno): Remove macro.
28117         (si_addr_lsb): Define new macro.
28118         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28120 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28122         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28123         instead of TEST_f_l.
28124         (llrint_test_tonearest): Likewise.
28125         (llrint_test_towardzero): Likewise.
28126         (llrint_test_downward): Likewise.
28127         (llrint_test_upward): Likewise.
28128         (llround_test): Likewise.
28130         * math/libm-test.inc (struct test_f_i_data): Add comment.
28131         (RUN_TEST_LOOP_f_b): New macro.
28132         (RUN_TEST_LOOP_f_b_tg): Likewise.
28133         (finite_test_data): New variable.
28134         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28135         (isfinite_test_data): New variable.
28136         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28137         (isinf_test_data): New variable.
28138         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28139         (isnan_test_data): New variable.
28140         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28141         (isnormal_test_data): New variable.
28142         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28143         (issignaling_test_data): New variable.
28144         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28145         (signbit_test_data): New variable.
28146         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28148         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28149         with INVALID_EXCEPTION.
28150         (acosh_test_data): Likewise.
28151         (asin_test_data): Likewise.
28152         (atanh_test_data): Likewise.
28153         (fmod_test_data): Likewise.
28154         (log_test_data): Likewise.
28155         (log10_test_data): Likewise.
28156         (log2_test_data): Likewise.
28157         (pow_test_data): Likewise.
28158         (sqrt_test_data): Likewise.
28159         (y0_test_data): Likewise.
28160         (y1_test_data): Likewise.
28161         (yn_test_data): Likewise.
28163         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28164         function contents.
28166         * math/libm-test.inc (struct test_ff_i_data): New type.
28167         (RUN_TEST_LOOP_ff_i_tg): New macro.
28168         (isgreater_test_data): New variable.
28169         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28170         (isgreaterequal_test_data): New variable.
28171         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28172         (isless_test_data): New variable.
28173         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28174         (islessequal_test_data): New variable.
28175         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28176         (islessgreater_test_data): New variable.
28177         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28178         (isunordered_test_data): New variable.
28179         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28181 2013-05-14  David S. Miller  <davem@davemloft.net>
28183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28185 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
28187         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28189         * math/libm-test.inc (struct test_fF_f1_data): Change type of
28190         extra_test to int.
28191         (struct test_f_i_data): Change type of max_ulp to int.
28193         * math/libm-test.inc (test_ffI_f1_data): New type.
28194         (RUN_TEST_LOOP_ffI_f1): New macro.
28195         (remquo_test_data): New variable.
28196         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28198         * setjmp/tst-setjmp-fp.c: New file.
28199         * setjmp/Makefile (tests): Add tst-setjmp-fp.
28200         (link-libm): New variable.
28201         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28203         * math/libm-test.inc (struct test_f_i_data): New type.
28204         (RUN_TEST_LOOP_f_i): New macro.
28205         (RUN_TEST_LOOP_f_i_tg): Likewise.
28206         (fpclassify_test_data): New variable.
28207         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28208         (ilogb_test_data): New variable.
28209         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28211         * math/libm-test.inc (scalbln_test): Correct function name in END
28212         call.
28214         * math/libm-test.inc (struct test_f_f1_data): Add comment.
28215         (RUN_TEST_LOOP_fI_f1): New macro.
28216         (frexp_test_data): New variable.
28217         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28219         * math/libm-test.inc (struct test_fF_f1_data): New type.
28220         (RUN_TEST_LOOP_fF_f1): New macro.
28221         (modf_test_data): New variable.
28222         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28224         * math/libm-test.inc (struct test_f_f1_data): New type.
28225         (RUN_TEST_LOOP_f_f1): New macro.
28226         (gamma_test_data): New variable.
28227         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28228         (lgamma_test_data): New variable.
28229         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28231 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
28233         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28234         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28235         (main): Comment "tls" pseudo-hwcap.
28237 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
28239         * math/libm-test.inc (struct test_fl_f_data): New type.
28240         (RUN_TEST_LOOP_fl_f): New variable.
28241         (scalbln_test_data): New variable.
28242         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28244         * math/libm-test.inc (struct test_fi_f_data): New type.
28245         (RUN_TEST_LOOP_fi_f): New macro.
28246         (ldexp_test_data): New variable.
28247         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28248         (scalbn_test_data): New variable.
28249         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28251         * math/libm-test.inc (struct test_c_f_data): New type.
28252         (RUN_TEST_LOOP_c_f): New macro.
28253         (cabs_test_data): New variable.
28254         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28255         (carg_test_data): New variable.
28256         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28257         (cimag_test_data): New variable.
28258         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28259         (creal_test_data): New variable.
28260         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28262         * math/libm-test.inc (struct test_if_f_data): New type.
28263         (RUN_TEST_LOOP_if_f): New macro.
28264         (jn_test_data): New variable.
28265         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28266         (yn_test_data): New variable.
28267         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28269         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28271 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28273         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28274         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28276 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28278         * benchtests/Makefile (CPPFLAGS-nonlib): Add
28279         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28280         (bench-deps): Add bench-timing.h.
28281         * benchtests-bench-skeleton.c: Include bench-timing.h.
28282         (main): Use TIMING_* macros instead of clock_gettime.
28283         * benchtests/bench-timing.h: New file.
28285         [BZ #14582]
28286         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28287         Renamed from _LIB_VERSION.
28288         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28290 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
28292         * math/libm-test.inc (struct test_fff_f_data): New type.
28293         (RUN_TEST_LOOP_fff_f): New macro.
28294         (fma_test_data): New variable.
28295         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28296         (fma_towardzero_test_data): New variable.
28297         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28298         (fma_downward_test_data): New variable.
28299         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28300         (fma_upward_test_data): New variable.
28301         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28303         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28304         (struct test_c_c_data): New type.
28305         (RUN_TEST_LOOP_c_c): New macro.
28306         (cacos_test_data): New variable.
28307         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28308         (cacosh_test_data): New variable.
28309         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28310         (casin_test_data): New variable.
28311         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28312         (casinh_test_data): New variable.
28313         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28314         (catan_test_data): New variable.
28315         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28316         (catanh_test_data): New variable.
28317         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28318         (ccos_test_data): New variable.
28319         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28320         (ccosh_test_data): New variable.
28321         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28322         (cexp_test_data): New variable.
28323         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28324         (clog_test_data): New variable.
28325         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28326         (clog10_test_data): New variable.
28327         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28328         (conj_test_data): New variable.
28329         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28330         (cproj_test_data): New variable.
28331         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28332         (csin_test_data): New variable.
28333         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28334         (csinh_test_data): New variable.
28335         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28336         (csqrt_test_data): New variable.
28337         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28338         (ctan_test_data): New variable.
28339         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28340         (ctan_tonearest_test_data): New variable.
28341         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28342         (ctan_towardzero_test_data): New variable.
28343         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28344         (ctan_downward_test_data): New variable.
28345         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28346         (ctan_upward_test_data): New variable.
28347         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28348         (ctanh_test_data): New variable.
28349         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28350         (ctanh_tonearest_test_data): New variable.
28351         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28352         (ctanh_towardzero_test_data): New variable.
28353         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28354         (ctanh_downward_test_data): New variable.
28355         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28356         (ctanh_upward_test_data): New variable.
28357         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28358         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28359         of BUILD_COMPLEX.
28361         * math/libm-test.inc (struct test_ff_f_data): New type.
28362         (struct test_ff_f_data_nexttoward): Likewise.
28363         (RUN_TEST_LOOP_2_f): New macro.
28364         (RUN_TEST_LOOP_ff_f): Likewise.
28365         (atan2_test_data): New variable.
28366         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28367         (copysign_test_data): New variable.
28368         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28369         (fdim_test_data): New variable.
28370         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28371         (fmax_test_data): New variable.
28372         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28373         (fmin_test_data): New variable.
28374         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28375         (fmod_test_data): New variable.
28376         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28377         (hypot_test_data): New variable.
28378         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28379         (nextafter_test_data): New variable.
28380         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28381         (nexttoward_test_data): New variable.
28382         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28383         (pow_test_data): New variable.
28384         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28385         (pow_tonearest_test_data): New variable.
28386         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28387         (pow_towardzero_test_data): New variable.
28388         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28389         (pow_downward_test_data): New variable.
28390         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28391         (pow_upward_test_data): New variable.
28392         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28393         (remainder_test_data): New variable.
28394         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28395         (scalb_test_data): New variable.
28396         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28397         * sysdeps/i386/fpu/libm-test-ulps: Update.
28399 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
28401         * math/libm-test.inc (fma_test): Use max_value instead of local
28402         variable fltmax.
28403         (nextafter_test): Likewise.
28405         * math/libm-test.inc (acos_towardzero_test_data): New variable.
28406         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28407         (acos_downward_test_data): New variable.
28408         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28409         (acos_upward_test_data): New variable.
28410         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28411         (acosh_test_data): New variable.
28412         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28413         (asin_test_data): New variable.
28414         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28415         (asin_tonearest_test_data): New variable.
28416         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28417         (asin_towardzero_test_data): New variable.
28418         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28419         (asin_downward_test_data): New variable.
28420         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28421         (asin_upward_test_data): New variable.
28422         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28423         (asinh_test_data): New variable.
28424         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28425         (atan_test_data): New variable.
28426         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28427         (atanh_test_data): New variable.
28428         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28429         (cbrt_test_data): New variable.
28430         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28431         (ceil_test_data): New variable.
28432         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28433         (cos_test_data): New variable.
28434         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28435         (cos_tonearest_test_data): New variable.
28436         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28437         (cos_towardzero_test_data): New variable.
28438         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28439         (cos_downward_test_data): New variable.
28440         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28441         (cos_upward_test_data): New variable.
28442         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28443         (cosh_test_data): New variable.
28444         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28445         (cosh_tonearest_test_data): New variable.
28446         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28447         (cosh_towardzero_test_data): New variable.
28448         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28449         (cosh_downward_test_data): New variable.
28450         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28451         (cosh_upward_test_data): New variable.
28452         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28453         (erf_test_data): New variable.
28454         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28455         (erfc_test_data): New variable.
28456         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28457         (exp_test_data): New variable.
28458         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28459         (exp_tonearest_test_data): New variable.
28460         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28461         (exp_towardzero_test_data): New variable.
28462         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28463         (exp_downward_test_data): New variable.
28464         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28465         (exp_upward_test_data): New variable.
28466         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28467         (exp10_test_data): New variable.
28468         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28469         (exp2_test_data): New variable.
28470         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28471         (expm1_test_data): New variable.
28472         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28473         (fabs_test_data): New variable.
28474         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28475         (floor_test_data): New variable.
28476         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28477         (j0_test_data): New variable.
28478         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28479         (j1_test_data): New variable.
28480         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28481         (log_test_data): New variable.
28482         (log_test): Run tests with RUN_TEST_LOOP_f_f.
28483         (log10_test_data): New variable.
28484         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28485         (log1p_test_data): New variable.
28486         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28487         (log2_test_data): New variable.
28488         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28489         (logb_test_data): New variable.
28490         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28491         (logb_downward_test_data): New variable.
28492         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28493         (nearbyint_test_data): New variable.
28494         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28495         (rint_test_data): New variable.
28496         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28497         (rint_tonearest_test_data): New variable.
28498         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28499         (rint_towardzero_test_data): New variable.
28500         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28501         (rint_downward_test_data): New variable.
28502         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28503         (rint_upward_test_data): New variable.
28504         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28505         (round_test_data): New variable.
28506         (round_test): Run tests with RUN_TEST_LOOP_f_f.
28507         (sin_test_data): New variable.
28508         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28509         (sin_tonearest_test_data): New variable.
28510         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28511         (sin_towardzero_test_data): New variable.
28512         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28513         (sin_downward_test_data): New variable.
28514         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28515         (sin_upward_test_data): New variable.
28516         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28517         (sinh_test_data): New variable.
28518         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28519         (sinh_tonearest_test_data): New variable.
28520         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28521         (sinh_towardzero_test_data): New variable.
28522         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28523         (sinh_downward_test_data): New variable.
28524         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28525         (sinh_upward_test_data): New variable.
28526         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28527         (sqrt_test_data): New variable.
28528         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28529         (tan_test_data): New variable.
28530         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28531         (tan_tonearest_test_data): New variable.
28532         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28533         (tan_towardzero_test_data): New variable.
28534         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28535         (tan_downward_test_data): New variable.
28536         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28537         (tan_upward_test_data): New variable.
28538         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28539         (tanh_test_data): New variable.
28540         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28541         (tgamma_test_data): New variable.
28542         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28543         (trunc_test_data): New variable.
28544         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28545         (y0_test_data): New variable.
28546         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28547         (y1_test_data): New variable.
28548         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28549         (significand_test_data): New variable.
28550         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28552 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
28554         [BZ #12387]
28555         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28557 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28559         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28561 2013-05-10  Andreas Jaeger  <aj@suse.de>
28563         [BZ #15448]
28564         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28565         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28567 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28569         * math/gen-libm-test.pl (adjust_arg): New function.
28570         (special_functions): Handle generating output in both functions
28571         and arrays.
28572         (parse_args): Likewise.
28573         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
28574         $in_func argument to parse_args.
28575         * math/libm-test.inc (struct test_f_f_data): New type.
28576         (IF_ROUND_INIT_): New macro.
28577         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28578         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28579         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28580         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28581         (ROUND_RESTORE_): Likewise.
28582         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28583         (ROUND_RESTORE_FE_TONEAREST): Likewise.
28584         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28585         (ROUND_RESTORE_FE_UPWARD): Likewise.
28586         (RUN_TEST_LOOP_f_f): New macro.
28587         (acos_test_data): New variable.
28588         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28589         (acos_tonearest_test_data): New variable.
28590         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28592 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28594         * benchtests/bench-skeleton.c (startup): Fix coding style.
28596 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28598         [BZ #6809]
28599         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28600         negative infinity argument.
28601         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28602         negative infinity argument.
28603         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28604         negative infinity argument.
28605         * math/libm-test.inc (tgamma_test): Expect errno to be set for
28606         domain errors.
28608 2013-05-10  Florian Weimer  <fweimer@redhat.com>
28610         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28611         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28612         * iconv/iconv_prog.c (main): Likewise.
28613         * locale/programs/charmap-dir.c (charmap_readdir)
28614         (fopen_uncompressed): Likewise.
28615         * locale/programs/locfile.c (siblings_uncached)
28616         (write_locale_data): Use lstat64 instead of lstat.
28617         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28618         stat.
28620 2013-05-10  Andreas Jaeger  <aj@suse.de>
28622         [BZ #15395]
28623         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28624         localization.
28625         Include <locale.h>.
28627 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
28629         * elf/dl-close.c (_dl_close_worker): Add comments.
28631 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
28633         [BZ #15359]
28634         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28635         high part of pi/2.
28636         (__ieee754_rem_pio2l): Update comments.
28638         [BZ #15429]
28639         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28640         high part of pi/2.
28641         (__ieee754_rem_pio2l): Update comments.
28643         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28644         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28646         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28647         M_PI_4l.
28649         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28650         (M_PI_34_LOG10El): Likewise.
28651         (M_PI2_LOG10El): Likewise.
28652         (M_PI4_LOG10El): Likewise.
28653         (M_PI_LOG10El): Likewise.
28655 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28659 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
28661         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28662         (MINUS_ZERO_INIT): Likewise.
28663         (PLUS_INFTY_INIT): Likewise.
28664         (MINUS_INFTY_INIT): Likewise.
28665         (QNAN_VALUE_INIT): Likewise.
28666         (MAX_VALUE_INIT): Likewise.
28667         (MIN_VALUE_INIT): Likewise.
28668         (MIN_SUBNORM_VALUE_INIT): Likewise.
28669         (plus_zero): Initialize with PLUS_ZERO_INIT.
28670         (minus_zero): Initialize with MINUS_ZERO_INIT.
28671         (plus_infty): Initialize with PLUS_INFTY_INIT.
28672         (minus_infty): Initialize with MINUS_INFTY_INIT.
28673         (qnan_value): Initialize with QNAN_VALUE_INIT.
28674         (max_value): Initialize with MAX_VALUE_INIT.
28675         (min_value): Initialize with MIN_VALUE_INIT.
28676         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28678         * math/libm-test.inc (RUN_TEST_if_f): New macro.
28679         (jn_test): Use TEST_if_f instead of TEST_ff_f.
28680         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28681         (yn_test): Use TEST_if_f instead of TEST_ff_f.
28683         * math/libm-test.inc (RUN_TEST_f_f): New macro.
28684         (RUN_TEST_2_f): Likewise.
28685         (RUN_TEST_ff_f): Likewise.
28686         (RUN_TEST_fi_f): Likewise.
28687         (RUN_TEST_fl_f): Likewise.
28688         (RUN_TEST_fff_f): Likewise.
28689         (RUN_TEST_c_f): Likewise.
28690         (RUN_TEST_f_f1): Likewise.
28691         (RUN_TEST_fF_f1): Likewise.
28692         (RUN_TEST_fI_f1): Likewise.
28693         (RUN_TEST_ffI_f1): Likewise.
28694         (RUN_TEST_c_c): Likewise.
28695         (RUN_TEST_cc_c): Likewise.
28696         (RUN_TEST_f_i): Likewise.
28697         (RUN_TEST_f_i_tg): Likewise.
28698         (RUN_TEST_ff_i_tg): Likewise.
28699         (RUN_TEST_f_b): Likewise.
28700         (RUN_TEST_f_b_tg): Likewise.
28701         (RUN_TEST_f_l): Likewise.
28702         (RUN_TEST_f_L): Likewise.
28703         (RUN_TEST_sincos): Likewise.
28704         * math/gen-libm-test.pl (new_test): Take new argument to indicate
28705         whether to show exceptions.  Do not include ");\n" in return
28706         value.
28707         (special_functions): Output call to RUN_TEST_sincos instead of
28708         check_float calls.  Update calls to new_test.
28709         (parse_args): Output call to single RUN_TEST_* macro instead of
28710         check_* calls and other assignments.  Update calls to new_test.
28712         [BZ #2546]
28713         [BZ #2560]
28714         [BZ #5159]
28715         [BZ #15426]
28716         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28717         input to result for tgamma overflow.
28718         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28719         (gamma_coeff): New variable.
28720         (NCOEFF): New macro.
28721         (gamma_positive): New function.
28722         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28723         underflow here.  Use gamma_positive instead of exp (lgamma) for
28724         other arguments.
28725         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28726         (gamma_coeff): New variable.
28727         (NCOEFF): New macro.
28728         (gammaf_positive): New function.
28729         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28730         underflow here.  Use gamma_positive instead of exp (lgamma) for
28731         other arguments.
28732         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28733         (gamma_coeff): New variable.
28734         (NCOEFF): New macro.
28735         (gammal_positive): New function.
28736         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28737         underflow here.  Use gamma_positive instead of exp (lgamma) for
28738         other arguments.
28739         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28740         (gamma_coeff): New variable.
28741         (NCOEFF): New macro.
28742         (gammal_positive): New function.
28743         (__ieee754_gammal_r): Handle positive infinity, overflow and
28744         underflow here.  Handle NaN the same as positive infinity.  Remove
28745         check x < 0xffffffff for negative integers.  Use gamma_positive
28746         instead of exp (lgamma) for other arguments.
28747         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28748         (gamma_coeff): New variable.
28749         (NCOEFF): New macro.
28750         (gammal_positive): New function.
28751         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28752         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28753         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28754         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28755         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28756         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28757         * sysdeps/generic/math_private.h (__gamma_productf): New
28758         prototype.
28759         (__gamma_product): Likewise.
28760         (__gamma_productl): Likewise.
28761         * math/Makefile (libm-calls): Add gamma_product.
28762         * math/libm-test.inc (tgamma_test): Add more tests.
28763         * sysdeps/i386/fpu/libm-test-ulps: Update.
28764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28766 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
28768         * benchtests/bench-skeleton.c (main): Preheat CPU.
28770 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
28772         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28774 2013-05-07  Roland McGrath  <roland@hack.frob.com>
28776         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28777         and _dl_skip_args_internal.
28779 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
28781         * manual/message.texi (Message Translation): Talk about users.
28782         Message to key mapping impacts design.
28784 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28786         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28788         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28790         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28791         * sysdeps/wordsize-64/glob64.c: ... here.
28793         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28794         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28795         New macros.
28797         * debug/getlogin_r_chk.c: Moved to ...
28798         * login/getlogin_r_chk.c: ... here.
28799         * debug/Makefile (routines): Move getlogin_r_chk to ...
28800         * login/Makefile (routines): ... here.
28801         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28802         * login/Versions (libc: GLIBC_2.4): ... here.
28804         * io/poll.c (__poll): Renamed from poll.
28805         Add libc_hidden_def.
28806         (poll): Define as weak alias.
28808         * debug/ptsname_r_chk.c: Moved to ...
28809         * login/ptsname_r_chk.c: ... here.
28810         * debug/Makefile (routines): Move ptsname_r_chk to ...
28811         * login/Makefile (routines): ... here.
28812         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28813         * login/Versions (libc: GLIBC_2.4): ... here.
28815         * posix/getlogin.c: Moved to ...
28816         * login/getlogin.c: ... here.
28817         * posix/getlogin_r.c: Moved to ...
28818         * login/getlogin_r.c: ... here.
28819         * posix/getlogin_r.c: Moved to ...
28820         * login/getlogin_r.c: ... here.
28821         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28822         * login/Makefile (routines): ... here.
28823         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28824         * login/Versions (libc: GLIBC_2.0): ... here.
28826         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28827         (setrlimit): Define as weak alias.
28829         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28830         Call __ names for open, ftruncate, and close.
28831         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28832         (truncate): Define as weak alias.
28834 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
28836         * math/gen-libm-test.pl (parse_args): Initialize x before each
28837         test of frexp, modf and remquo.
28839         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28840         test signgam value.
28842 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28844         [BZ #15418]
28845         [BZ #15419]
28846         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28847         internal tests.
28848         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28850 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28852         * elf/dl-writev.h: New file.
28853         * elf/dl-misc.c: Include it.
28854         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28855         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28857 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
28859         * math/libm-test.inc (noXFails): Remove variable.
28860         (noXPasses): Likewise.
28861         (BUILD_COMPLEX_INT): Remove macro.
28862         (print_screen): Remove xfail argument.
28863         (print_screen_max_error): Likewise.
28864         (update_stats): Likewise.
28865         (print_max_error): Likewise.  Update calls to other affected
28866         functions.
28867         (print_complex_max_error): Likewise.
28868         (test_single_exception): Update calls to print_screen.
28869         (test_single_errno): Likewise.
28870         (check_float_internal): Remove xfail argument.  Update calls to
28871         other affected functions.
28872         (check_float): Likewise.
28873         (check_complex): Likewise.
28874         (check_int): Likewise.
28875         (check_long): Likewise.
28876         (check_bool): Likewise.
28877         (check_longlong): Likewise.
28878         (main): Don't print noXFails and noXPasses.
28879         * math/gen-libm-test.pl (top level): Don't mention expected
28880         failure handling in comment.
28881         (new_test): Don't handle expected failures.
28882         (parse_args): Don't mention expected failure handling in comment.
28883         (generate_testfile): Don't handle expected failures.
28884         (parse_ulps): Likewise.
28885         (print_ulps_file): Likewise.
28886         (get_failure): Remove function.
28887         (output_test): Don't handle expected failures.
28888         * make/README.libm-test: Don't mention expected failure handling.
28890         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
28891         (minus_zero): Likewise.
28892         (plus_infty): Likewise.
28893         (minus_infty): Likewise.
28894         (qnan_value): Likewise.
28895         (max_value): Likewise.
28896         (min_value): Likewise.
28897         (min_subnorm_value): Likewise.
28898         (initialize): Do not initialize those variables dynamically.
28900 2013-05-03  Roland McGrath  <roland@hack.frob.com>
28902         * io/open.c (__open_2): Moved to ...
28903         * io/open_2.c: ... this new file.
28904         * io/open64.c (__open64_2): Moved to ...
28905         * io/open64_2.c: ... this new file.
28906         * io/openat.c (__openat_2): Moved to ...
28907         * io/openat_2.c: ... this new file.
28908         * io/openat64.c (__openat64_2): Moved to ...
28909         * io/openat64_2.c: ... this new file.
28910         * io/Makefile (routines): Add them.
28911         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28912         * sysdeps/unix/sysv/linux/open_2.c: File removed.
28913         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28914         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28915         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28916         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28917         (__openat64): Add hidden_ver.
28918         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28919         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28921         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28922         Separately conditionalize setting of GLRO(dl_sysinfo) so
28923         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28924         as well, but the actual setting is only under [NEED_DL_SYSINFO].
28926 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28928         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28929         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28930         definition.
28931         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28932         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28933         (_libc_vdso_platform_setup): Add __vdso_time initialization.
28934         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28935         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28937 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
28939         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28940         test signgam value.
28942         * math/libm-test.inc (hypot_test): Do not use
28943         IGNORE_ZERO_INF_SIGN.
28945 2013-05-03  Andreas Jaeger  <aj@suse.de>
28947         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28948         Linux 3.9.
28949         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28950         (PF_MAX): Adjust for VSOCK change.
28952 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28956 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
28958         [BZ #15264]
28959         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28960         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28961         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28963 2013-05-02  David S. Miller  <davem@davemloft.net>
28965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28967 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
28969         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28971 2013-05-01  Roland McGrath  <roland@hack.frob.com>
28973         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28975 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
28977         [BZ #14952]
28978         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28979         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28980         Use __attribute__ ((__gnu_inline__)).
28981         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28982         Don't use __attribute__ ((__gnu_inline__)).
28984 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
28986         [BZ #15423]
28987         * math/s_catan.c (__catan): Handle small real or imaginary part of
28988         input specially to avoid spurious underflow.
28989         * math/s_catanf.c (__catanf): Likewise.
28990         * math/s_catanh.c (__catanh): Likewise.
28991         * math/s_catanhf.c (__catanhf): Likewise.
28992         * math/s_catanhl.c (__catanhl): Likewise.
28993         * math/s_catanl.c (__catanl): Likewise.
28994         * math/libm-test.inc (catan_test): Add more tests.
28995         (catanh_test): Likewise.
28996         * sysdeps/i386/fpu/libm-test-ulps: Update.
28997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28999 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29003 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
29005         [BZ #15416]
29006         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29007         accurately for denominator in atan2.
29008         * math/s_catanf.c (__catanf): Likewise.
29009         * math/s_catanh.c (__catanh): Likewise.
29010         * math/s_catanhf.c (__catanhf): Likewise.
29011         * math/s_catanhl.c (__catanhl): Likewise.
29012         * math/s_catanl.c (__catanl): Likewise.
29013         * math/libm-test.inc (catan_test): Add more tests.
29014         (catanh_test): Likewise.
29015         * sysdeps/i386/fpu/libm-test-ulps: Update.
29016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29018 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29020         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29022         * benchtests/Makefile (bench): Remove slow benchmarks.
29023         * benchtests/atan-inputs: Add slow benchmark inputs.
29024         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29025         (BENCH_FUNC): Accept variant offset.
29026         (VARIANT): Define.
29027         * benchtests/bench-skeleton.c (main): Run benchmark for each
29028         variant.
29029         * benchtests/cos-inputs: Add slow benchmark inputs.
29030         * benchtests/exp-inputs: Likewise.
29031         * benchtests/pow-inputs: Likewise.
29032         * benchtests/sin-inputs: Likewise.
29033         * benchtests/slowatan-inputs: Remove.
29034         * benchtests/slowatan.c: Remove.
29035         * benchtests/slowcos-inputs: Remove.
29036         * benchtests/slowcos.c: Remove.
29037         * benchtests/slowexp-inputs: Remove.
29038         * benchtests/slowexp.c: Remove.
29039         * benchtests/slowpow-inputs: Remove.
29040         * benchtests/slowpow.c: Remove.
29041         * benchtests/slowsin-inputs: Remove.
29042         * benchtests/slowsin.c: Remove.
29043         * benchtests/slowtan-inputs: Remove.
29044         * benchtests/slowtan.c: Remove.
29045         * benchtests/tan-inputs: Add slow benchmark inputs.
29046         * scripts/bench.pl: Parse comments and directives.
29048         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
29049         in CPPFLAGS.
29050         ($(objpfx)bench-%.c): Remove *-ITER.
29051         * benchtests/bench-modf.c: Remove definition of ITER.
29052         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29053         (main): Loop for DURATION seconds instead of fixed number of
29054         iterations.
29055         * scripts/bench.pl: Don't expect iterations in parameters.
29057 2013-04-29  Roland McGrath  <roland@hack.frob.com>
29059         * io/fchdir.c (__fchdir): Renamed from fchdir.
29060         (fchdir): Define as weak alias.
29062 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29064         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29065         (ERRNO_EDOM): Likewise.
29066         (ERRNO_ERANGE): Likewise.
29067         (noErrnoTests): New variable.
29068         (init_max_error): Set errno to 0.
29069         (test_single_errno): New function.
29070         (test_errno): Likewise.
29071         (check_float_internal): Call test_errno.  Set errno to 0.
29072         (check_complex): Refer to errno tests in comment.
29073         (check_int): Call test_errno.  Set errno to 0.
29074         (check_long): Likewise.
29075         (check_bool): Likewise.
29076         (check_longlong): Likewise.
29077         (cos_test): Use ERRNO_* flags for errno tests instead of
29078         check_int.
29079         (expm1_test): Likewise.
29080         (fmod_test): Likewise.
29081         (ilogb_test): Likewise.
29082         (lgamma_test): Likewise.
29083         (pow_test): Likewise.
29084         (remainder_test): Likewise.
29085         (sin_test): Likewise.
29086         (tan_test): Likewise.
29087         (yn_test): Likewise.
29088         (initialize): Set errno to 0.
29089         (main): Print number of errno tests.
29090         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29092 2013-04-29  Andreas Jaeger  <aj@suse.de>
29094         [BZ #15084]
29095         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29096         and RES_USEVC.
29098         [BZ #15085]
29099         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29100         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29101         unimplemented.
29103         [BZ #15380]
29104         * stdlib/random.c (__initstate): Return NULL if
29105         __initstate fails.
29107         [BZ #15086]
29108         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29109         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29110         RES_SNGLKUPREOP.
29112 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29116 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29118         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29119         of individual tests.
29120         (casin_test): Likewise.
29121         (casinh_test): Likewise.
29123 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
29125         [BZ #15409]
29126         * math/s_catan.c (__catan): Handle arguments with large real or
29127         imaginary part separately without squaring.
29128         * math/s_catanf.c (__catanf): Likewise.
29129         * math/s_catanh.c (__catanh): Likewise.
29130         * math/s_catanhf.c (__catanhf): Likewise.
29131         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29132         and redefine.
29133         (__catanhl): Handle arguments with large real or imaginary part
29134         separately without squaring.
29135         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29136         and redefine.
29137         (__catanl): Handle arguments with large real or imaginary part
29138         separately without squaring.
29139         * math/libm-test.inc (catan_test): Add more tests.
29140         (catanh_test): Likewise.
29141         * sysdeps/i386/fpu/libm-test-ulps: Update.
29142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29144 2013-04-27  Andreas Jaeger  <aj@suse.de>
29146         [BZ #15007]
29147         * stdlib/stdlib.h: Update guards for qecvt.
29148         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29149         <stdlib.h>.
29151 2013-04-27  Allan McRae  <allan@archlinux.org>
29153         * sysdeps/i386/fpu/libm-test-ulps: Update.
29155 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
29157         [BZ #15406]
29158         * math/s_catan.c: Include <float.h>.
29159         (__catan): Ensure underflow exception occurs for underflowed
29160         result.
29161         * math/s_catanf.c: Include <float.h>.
29162         (__catanf): Ensure underflow exception occurs for underflowed
29163         result.
29164         * math/s_catanh.c: Include <float.h>.
29165         (__catanh): Ensure underflow exception occurs for underflowed
29166         result.
29167         * math/s_catanhf.c: Include <float.h>.
29168         (__catanhf): Ensure underflow exception occurs for underflowed
29169         result.
29170         * math/s_catanhl.c: Include <float.h>.
29171         (__catanhl): Ensure underflow exception occurs for underflowed
29172         result.
29173         * math/s_catanl.c: Include <float.h>.
29174         (__catanl): Ensure underflow exception occurs for underflowed
29175         result.
29176         * math/libm-test.inc (catan_test): Add more tests.
29177         (catanh_test): Likewise.
29179         [BZ #15405]
29180         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29181         underflowed result.
29182         * math/s_ccoshf.c (__ccoshf): Likewise.
29183         * math/s_ccoshl.c (__ccoshl): Likewise.
29184         * math/s_csin.c (__csin): Likewise.
29185         * math/s_csinf.c (__csinf): Likewise.
29186         * math/s_csinh.c (__csinh): Likewise.
29187         * math/s_csinhf.c (__csinhf): Likewise.
29188         * math/s_csinhl.c (__csinhl): Likewise.
29189         * math/s_csinl.c (__csinl): Likewise.
29190         * math/libm-test.inc (ccos_test): Add more tests.
29191         (ccosh_test): Likewise.
29192         (csin_test): Likewise.
29193         (csinh_test): Likewise.
29195 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29197         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29198         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29199         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29200         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29201         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29202         powerpc/power5+/fpu folders.
29203         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29206 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29210 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
29212         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29213         additions to variable.
29214         [$(config-machine) = x86_64] (modules-names): Likewise.
29215         ($(objpfx)tst-audit3): Remove dependency.
29216         ($(objpfx)tst-audit3.out): Likewise.
29217         ($(objpfx)tst-audit4): Likewise.
29218         ($(objpfx)tst-audit4.out): Likewise.
29219         ($(objpfx)tst-audit5): Likewise.
29220         ($(objpfx)tst-audit5.out): Likewise.
29221         ($(objpfx)tst-audit6): Likewise.
29222         ($(objpfx)tst-audit6.out): Likewise.
29223         ($(objpfx)tst-audit7): Likewise.
29224         ($(objpfx)tst-audit7.out): Likewise.
29225         (tst-audit3-ENV): Remove variable.
29226         (tst-audit4-ENV): Likewise.
29227         (tst-audit5-ENV): Likewise.
29228         (tst-audit6-ENV): Likewise.
29229         (tst-audit7-ENV): Likewise.
29230         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29231         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29232         addition to variable.
29233         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29234         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29235         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29236         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29237         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29238         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29239         tst-audit3, tst-audit4 and tst-audit5.
29240         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29241         tst-audit6 and tst-audit7.
29242         [$(subdir) = elf] (modules-names): Add audit modules for those
29243         tests.
29244         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29245         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29246         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29247         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29248         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29249         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29250         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29251         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29252         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29253         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29254         [$(subdir) = elf] (tst-audit3-ENV): New variable.
29255         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29256         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29257         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29258         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29259         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29260         Likewise.
29261         [$(subdir) = elf && $(config-cflags-avx) = yes]
29262         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29263         [$(subdir) = elf && $(config-cflags-avx) = yes]
29264         (CFLAGS-tst-auditmod4a.c): Likewise.
29265         [$(subdir) = elf && $(config-cflags-avx) = yes]
29266         (CFLAGS-tst-auditmod4b.c): Likewise.
29267         [$(subdir) = elf && $(config-cflags-avx) = yes]
29268         (CFLAGS-tst-auditmod6b.c): Likewise.
29269         [$(subdir) = elf && $(config-cflags-avx) = yes]
29270         (CFLAGS-tst-auditmod6c.c): Likewise.
29271         [$(subdir) = elf && $(config-cflags-avx) = yes]
29272         (CFLAGS-tst-auditmod7b.c): Likewise.
29273         * elf/tst-audit3.c: Move to ...
29274         * sysdeps/x86_64/tst-audit3.c: ... here.
29275         * elf/tst-audit4.c: Move to ...
29276         * sysdeps/x86_64/tst-audit4.c: ... here.
29277         * elf/tst-audit5.c: Move to ...
29278         * sysdeps/x86_64/tst-audit5.c: ... here.
29279         * elf/tst-audit6.c: Move to ...
29280         * sysdeps/x86_64/tst-audit6.c: ... here.
29281         * elf/tst-audit7.c: Move to ...
29282         * sysdeps/x86_64/tst-audit7.c: ... here.
29283         * elf/tst-auditmod3a.c: Move to ...
29284         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29285         * elf/tst-auditmod3b.c: Move to ...
29286         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29287         * elf/tst-auditmod4a.c: Move to ...
29288         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29289         * elf/tst-auditmod4b.c: Move to ...
29290         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29291         * elf/tst-auditmod5a.c: Move to ...
29292         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29293         * elf/tst-auditmod5b.c: Move to ...
29294         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29295         * elf/tst-auditmod6a.c: Move to ...
29296         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29297         * elf/tst-auditmod6b.c: Move to ...
29298         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29299         * elf/tst-auditmod6c.c: Move to ...
29300         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29301         * elf/tst-auditmod7a.c: Move to ...
29302         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29303         * elf/tst-auditmod7b.c: Move to ...
29304         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29306 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
29308         [BZ #15366]
29309         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29310         define unconditionally.
29311         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29312         define unconditionally.
29313         (INT8_C, INT16_C, etc.): Likewise.
29315 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
29317         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29318         __ehdr_start with hidden visibility.
29320         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29322 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
29324         * math/libm-test.inc (cos_test): Use accurate hex constants.
29325         (sincost_test): Likewise.
29327 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
29329         * math/libm-test.inc (catan_test): Add more tests.
29330         (catanh_test): Likewise.
29332         * math/s_catanf.c (__catanf): Use suffixed floating-point
29333         constants.
29334         * math/s_catanhf.c (__catanhf): Likewise.
29335         * math/s_catanhl.c (__catanhl): Likewise.
29336         * math/s_catanl.c (__catanl): Likewise.
29338         [BZ #15394]
29339         * math/s_catan.c (__catan): Calculate imaginary part of result
29340         with log1p not log unless computing log of number close to 0.
29341         * math/s_catanf.c (__catanf): Likewise.
29342         * math/s_catanl.c (__catanl): Likewise.
29343         * math/s_catanh.c (__catanh): Calculate real part of result with
29344         log1p not log unless computing log of number close to 0.
29345         * math/s_catanhf.c (__catanhf): Likewise.
29346         * math/s_catanhl.c (__catanhl): Likewise.
29347         * math/libm-test.inc (catan_test): Add more tests.
29348         (catanh_test): Likewise.
29349         * sysdeps/i386/fpu/libm-test-ulps: Update.
29350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29352 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29354         * benchtests/Makefile: Mention files in which fast and slow
29355         paths of math functions are implemented.
29357 2013-04-23  Roland McGrath  <roland@hack.frob.com>
29359         * sysdeps/posix/timespec_get.c: New file.
29361 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29363         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29364         POWER.
29365         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29366         for POWER.
29367         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29368         powerpc/power5/fpu folders.
29369         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29370         * benchtests/Makefile: Add modf testcase.
29371         * benchtests/bench-modf.c: New file: Benchmark test for mo
29373 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29375         [BZ #14888]
29376         * time/Makefile (tests): Add tst-strptime-whitespace.
29377         * time/strptime_l.c (get_number): Use ISSPACE.
29378         (__strptime_internal): Likewise.
29379         * time/tst-strptime-whitespace.c: New test case.
29381 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
29383         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29384         member.
29385         (_nss_files_init): Set it here.
29387 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
29389         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29390         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29391         unsigned.
29393 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
29395         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29397 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29399         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29400         size just once.
29402 2013-04-21  David S. Miller  <davem@davemloft.net>
29404         * po/ru.po: Update Russion translation from translation project.
29406 2013-04-17  Adam Conrad  <adconrad@0c3.net>
29408         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29409         and setfsgid.
29411 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
29413         * configure.in: Remove i386 configure warning. Remove i386 case.
29414         * configure: Regenerate.
29415         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29416         Add example to error message.
29417         * sysdeps/i386/configure: Regenerate.
29419 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29421         * benchtests/Makefile (bench): Add cos, tan, slowcos and
29422         slowtan.
29423         * benchtests/cos-inputs: New file.
29424         * benchtests/slowcos-inputs: New file.
29425         * benchtests/slowcos.c: New file.
29426         * benchtests/slowtan-inputs: New file.
29427         * benchtests/slowtan.c: New file.
29428         * benchtests/tan-inputs: New file.
29430 2013-04-16  Roland McGrath  <roland@hack.frob.com>
29432         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29433         considered kosher.
29435 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29437         * benchtests/Makefile: Include cppflags-iterator.mk to add
29438         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29440         * Makefile.in (bench-clean): New target.
29441         * benchtests/Makefile (bench-clean): Likewise.
29443 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
29445         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29447 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
29449         * stdio-common/tstdiomisc.c: Fix coding-style violation.
29451 2013-04-15  Andreas Schwab  <schwab@suse.de>
29453         * nscd/grpcache.c (cache_addgr): Properly check for short write.
29454         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29455         * nscd/pwdcache.c (cache_addpw): Likewise.
29456         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
29457         more than recsize.
29459 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29461         * benchtests/Makefile (bench): Write all output to
29462         bench-out.tmp together.
29464 2013-04-15  Andreas Schwab  <schwab@suse.de>
29466         * nscd/nscd.c (main): Don't fork again after closing files.
29468 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29470         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29472         * benchtests/Rules (bench-deps): Collect dependencies into a
29473         single variable.  Add Makefile to dependencies.
29474         ($(objpfx)bench-%.c): Depend on bench-deps.
29476 2013-04-12  Roland McGrath  <roland@hack.frob.com>
29477             Xavier Roche  <roche+kml2@exalead.com>
29479         [BZ #15361]
29480         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29481         just that it's a file descriptor.
29482         * manual/llio.texi (Synchronizing AIO Operations): Update description
29483         for EBADF error from aio_fsync.
29485 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29487         * Rules (bench): Move target definition...
29488         * benchtests/Makefile: ... here.
29490 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
29492         * math/libm-test.inc (cos_test): Fix PI/2 test.
29493         (sincos_test): Likewise.
29494         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29495         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29497 2013-04-11  Andreas Schwab  <schwab@suse.de>
29499         [BZ #13988]
29500         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29501         accept exponent character only when digits were seen.
29502         * stdio-common/Makefile (tests): Add bug26.
29503         * stdio-common/bug26.c: New file.
29505         [BZ #14293]
29506         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29507         non-freeable.
29509 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29511         * Makeconfig (rtld-prefix): Define built linker prefix.
29512         * Rules (run-bench): Use it.
29513         * math/Makefile (run-regen-ulps): Likewise.
29515         * Rules (bench): Remove eval.
29517 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29518             Roland McGrath  <roland@hack.frob.com>
29519             Ondrej Bilka  <neleai@seznam.cz>
29521         [BZ #15346]
29522         * time/getdate.c: Include ctype.h and alloca.h.
29523         (__getdate_r): Trim leading and trailing spaces of input.
29524         * time/tst-getdate.c (tests): Add tests with leading and
29525         trailing spaces.
29527 2013-04-08  Roland McGrath  <roland@hack.frob.com>
29529         [BZ #14280]
29530         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29531         when computing value.
29533 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29535         * math/README.libm-test (How can I generate "libm-test-ulps"?):
29536         Use testrun.sh to run libm tests.
29538         [BZ #15309]
29539         * elf/dl-open.c (dl_open_worker): memset all of seen array.
29541 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
29543         [BZ #15264]
29544         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29546 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29548         * Makefile.in (regen-ulps): New target.
29549         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29550         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29551         [ifneq (no,$(PERL)] (regen-ulps): New target.
29552         [ifeq (no,$(PERL)] (regen-ulps): New target.
29553         * math/libm-test.inc (ulps_file_name): Define.
29554         (output_dir): New variable.
29555         (options): Add "output-dir" option.
29556         (parse_opt): Handle 'o' case.
29557         (main): If output_dir is non-NULL use it as a prefix
29558         otherwise use "".
29559         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29561 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29563         [BZ #10060, #10062]
29564         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29565         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29566         fail configure if __sync_val_compare_and_swap is not inlined.
29567         * sysdeps/i386/configure: Regenerate.
29568         * configure.in: Build for i686 when configured for i386.
29569         * configure: Regenerate.
29570         * README: Remove i386 reference.
29572 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29574         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29575         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29577 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
29579         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29580         (lmsnanval): New variables.
29581         (F): Add conversion tests.
29582         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29583         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29585         * stdio-common/tstdiomisc.c (F): Properly collect individual
29586         tests' results.
29588         [BZ #14686, #15336]
29589         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29590         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29591         Instead, use input NaN values or generate a qNaN by arithmetic
29592         operation.  Also fix bugs to comply with the standard.
29593         * math/libm-test.inc (remainder_test): Add more tests.
29595         [BZ #15335, #15342]
29596         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29597         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29598         input NaN values or generate a qNaN by arithmetic operation.
29600         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29601         unreachable code.
29603         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29604         definitions.
29606 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
29608         [BZ #14478]
29609         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29610         underflowed result.
29611         * math/s_cexpf.c (__cexpf): Likewise.
29612         * math/s_cexpl.c (__cexpl): Likewise.
29613         * math/libm-test.inc (cexp_test): Add more tests.
29615 2013-04-03  Andreas Schwab  <schwab@suse.de>
29617         [BZ #15330]
29618         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29619         order arrays from heap if bigger than alloca cutoff.
29621 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
29623         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29624         (SNAN_TESTS_double): Refer to GCC PR56831.
29625         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29626         GCC PR56828.
29628 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29630         * Rules (bench): Move bench.out after the run is complete.
29632         * Rules (bench): Echo currently running benchmark.
29634         * benchtests/Makefile (bench): Add atan and slowatan.
29635         * benchtests/atan-inputs: New file.
29636         * benchtests/slowatan-inputs: New file.
29637         * benchtests/slowatan.c: New file.
29639         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29640         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29641         its value.
29643         [BZ #15305]
29644         * sysdeps/unix/sysv/linux/kernel-features.h
29645         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29646         __ASSUME_XFS_RESTRICTED_CHOWN.
29647         * sysdeps/unix/sysv/linux/pathconf.c
29648         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29649         Save and restore errno.
29651 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
29653         [BZ #15327]
29654         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29655         arguments using __kernel_casinh.
29656         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29657         arguments using __kernel_casinhf.
29658         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29659         arguments using __kernel_casinhl.
29660         * math/libm-test.inc (cacosh_test): Add more tests.
29661         * sysdeps/i386/fpu/libm-test-ulps: Update.
29662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29664 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29666         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29669         * bench/Makefile (bench): Add sin and slowsin.
29670         * benchtests/sin-inputs: New file.
29671         * benchtests/slowsin-inputs: New file.
29672         * benchtests/slowsin.c: New file.
29674         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29675         (bench): Add slowexp and slowpow.
29676         (exp-ITER): Increase iterations.
29677         (pow-ITER): Likewise.
29678         * benchtests/exp-inputs: Change input.
29679         * benchtests/pow-inputs: Likewise.
29680         * benchtests/slowexp-inputs: New file.
29681         * benchtests/slowexp.c: New file.
29682         * benchtests/slowpow-inputs: New file.
29683         * benchtests/slowpow.c: New file.
29685 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29687         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29688         instructions.
29689         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29690         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29691         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29692         * benchtests/Makefile: Add rint benchtest.
29693         * benchtests/rint-inputs: Input for rint benchtest.
29695 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
29697         * Versions.def (libm): Add GLIBC_2.18.
29698         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29699         hidden libm prototypes.
29700         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29701         * math/Makefile (libm-calls): Add s_issignaling.
29702         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29703         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
29704         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29705         declaration.
29706         * math/math.h [__USE_GNU] (issignaling): New macro.
29707         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29708         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29709         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29710         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29711         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29712         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29713         * manual/arith.texi (issignaling): New section.
29714         * manual/libm-err-tab.pl (@all_functions): Update comment.
29715         * math/gen-libm-test.pl (parse_args): Apply special handling for
29716         issignaling.
29717         * math/libm-test.inc (print_float, issignaling_test): New
29718         functions.
29719         (check_float_internal): Add issignaling checks.
29720         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29721         default definition.
29722         * sysdeps/powerpc/math-tests.h: New file.
29723         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29724         tests.
29725         * math/test-snan.c (TEST_FUNC): Likewise.
29727 2013-03-30  David S. Miller  <davem@davemloft.net>
29729         * po/de.po: Update from translation team.
29731 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
29733         [BZ #10357]
29734         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29735         imaginary part less than 1.0 and real part less than 0.5
29736         specially.
29737         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29738         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29739         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29740         (cacos_test): Add more tests.
29741         (casin_test): Likewise.
29742         (casinh_test): Likewise.
29743         * sysdeps/i386/fpu/libm-test-ulps: Update.
29744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29746 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29748         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29749         ONE with its value.
29751         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29752         (__pow_mp): Replace ONE and MONE with their values.
29753         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29754         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29755         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29756         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29757         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29758         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29760         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29762         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29763         (__pow_mp): Replace ZERO and MZERO with their values.
29764         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29765         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29766         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29767         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29768         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29769         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29770         (__sqr): Likewise.
29772         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29774         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29776 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29778         * include/stdlib.h [!SHARED] (__call_tls_dtors):
29779         Declare with __attribute__ ((weak)).
29780         * stdlib/exit.c (__libc_atexit) [!SHARED]:
29781         Call __call_tls_dtors only if it's not NULL.
29783 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29785         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29786         didn't do it already, then set _dl_phdr and _dl_phnum based on the
29787         magic __ehdr_start linker symbol if it's defined.
29788         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29789         them up here if it was already done.
29791         * elf/dl-support.c (_dl_phdr): Make pointer to const.
29792         (_dl_aux_init): Use const in cast when setting it.
29793         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29794         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29795         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29797         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29798         Declare them here.
29799         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29800         * csu/libc-tls.c: Nor here.
29801         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29803         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29804         (__libc_message): Never call vsyslog.
29806 2013-03-28  Alan Modra  <amodra@gmail.com>
29808         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29809         Define as empty.
29810         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29811         Likewise.
29813 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29815         [BZ #15214]
29816         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29817         underflow.
29818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29820 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29822         [BZ #15304]
29823         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29824         Don't add gid passed as argument.
29826         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29828 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
29830         [BZ #15307]
29831         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29832         imaginary part between 1.0 and 1.5 and real part less than 0.5
29833         specially.
29834         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29835         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29836         * math/libm-test.inc (cacos_test): Add more tests.
29837         (casin_test): Likewise.
29838         (casinh_test): Likewise.
29839         * sysdeps/i386/fpu/libm-test-ulps: Update.
29840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29842 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29844         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29845         constants.
29846         (norm): Likewise.
29847         (denorm): Likewise.
29848         (__dbl_mp): Likewise.
29849         (add_magnitudes): Likewise.
29850         (sub_magnitudes): Likewise.
29851         (__add): Likewise.
29852         (__sub): Likewise.
29853         (__mul): Likewise.
29854         (__sqr): Likewise.
29855         (__inv): Likewise.
29856         (__dvd): Likewise.
29858         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29859         commented code.
29860         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29861         (__dubcos): Likewise.
29862         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29863         (__ieee754_acos): Likewise.
29864         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29865         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29866         (__exp1): Likewise.
29867         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29868         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29869         (log1): Likewise.
29870         (my_log2): Likewise.
29871         (checkint): Likewise.
29872         * sysdeps/ieee754/dbl-64/e_remainder.c
29873         (__ieee754_remainder): Likewise.
29874         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29875         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29876         (bsloww): Likewise.
29877         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29879         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29880         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29881         MANTISSA_STORE_T to store computations on mantissa.  Use
29882         macros for rounding and division.
29883         (denorm): Likewise.
29884         (__dbl_mp): Likewise.
29885         (add_magnitudes): Likewise.
29886         (sub_magnitudes): Likewise.
29887         (__mul): Likewise.
29888         (__sqr): Likewise.
29889         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29890         powers of two in terms of TWOPOW macro.
29891         (mp_no): Make type of mantissa as MANTISSA_T.
29892         [!RADIXI]: Define RADIXI.
29893         [!TWO52]: Define TWO52.
29894         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29896 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29898         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29899         llroundl symbol when building for PPC32.
29901 2013-03-24  Mark H Weaver  <mhw@netris.org>
29903         * manual/arith.texi (Normalization Functions): Fix prototypes for
29904         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29906 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29908         [BZ #13889]
29909         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29910         high value to check if expl overflow.
29911         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29912         to check for underflow and overflow.
29913         * math/libm-test.inc: Add exp test.
29915 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
29917         [BZ #11120]
29918         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29919         with NOT_IN_libc.
29921 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29923         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29924         symbol.
29926 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29928         * math/gen-libm-test.pl (parse_args, special_functions): Properly
29929         wrap blocks consisting of several statements.
29931         * sysdeps/generic/math-tests.h: New file.
29932         * sysdeps/i386/fpu/math-tests.h: Likewise.
29933         * math/test-snan.c: Include it.
29934         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29936 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29938         [BZ #15285]
29939         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29940         (__ieee754_j0l): Do not improve calculations using cos of twice
29941         input for inputs above LDBL_MAX / 2.0L.
29942         (__ieee754_y0l): Likewise.
29943         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29944         (__ieee754_j1l): Do not improve calculations using cos of twice
29945         input for inputs above LDBL_MAX / 2.0L.
29946         (__ieee754_y1l): Likewise.
29947         * math/libm-test.inc (j0_test): Add another test.
29948         (j1_test): Likewise.
29949         (y0_test): Likewise.
29950         (y1_test): Likewise.
29951         * sysdeps/i386/fpu/libm-test-ulps: Update.
29953 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29955         * Rules ($(objpfx)bench-%.c): Include code from a C source
29956         file.
29958 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29960         [BZ #15287]
29961         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29962         imaginary part 1.0 and real part less than 0.5 specially.
29963         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29964         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29965         * math/libm-test.inc (cacos_test): Add more tests.
29966         (casin_test): Likewise.
29967         (casinh_test): Likewise.
29968         * sysdeps/i386/fpu/libm-test-ulps: Update.
29969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29971 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29973         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29974         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29976 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
29978         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29979         * config.make.in (config-cflags-sse4): Remove variable.
29980         (config-cflags-avx): Likewise.
29981         (config-cflags-sse2avx): Likewise.
29982         (config-cflags-novzeroupper): Likewise.
29983         (config-asflags-i686): Likewise.
29984         (have-mfma4): Likewise.
29985         (have-as-vis3): Likewise.
29986         (MIG): Likewise.
29987         * configure.in (MIG): Do not AC_SUBST.
29988         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29989         (libc_cv_cc_sse4): Do not AC_SUBST.
29990         (libc_cv_cc_avx): Likewise.
29991         (libc_cv_cc_sse2avx): Likewise.
29992         (libc_cv_cc_novzeroupper): Likewise.
29993         (libc_cv_cc_fma4): Likewise.
29994         (libc_cv_as_i686): Likewise.
29995         (libc_cv_sparc_as_vis3): Likewise.
29996         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29997         LIBC_CONFIG_VAR.
29998         (config-asflags-i686): Likewise.
29999         (config-cflags-avx): Likewise.
30000         (config-cflags-sse2avx): Likewise.
30001         (have-mfma4): Likewise.
30002         (config-cflags-novzeroupper): Likewise.
30003         * sysdeps/mach/configure.in (MIG): Likewise.
30004         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30005         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30006         LIBC_CONFIG_VAR.
30007         (config-cflags-avx): Likewise.
30008         (config-cflags-sse2avx): Likewise.
30009         (have-mfma4): Likewise.
30010         (config-cflags-novzeroupper): Likewise.
30011         * configure: Regenerated.
30012         * sysdeps/i386/configure: Likewise.
30013         * sysdeps/mach/configure: Likewise.
30014         * sysdeps/sparc/configure: Likewise.
30015         * sysdeps/x86_64/configure: Likewise.
30017 2013-03-20  Roland McGrath  <roland@hack.frob.com>
30019         [BZ #14812]
30020         * locale/programs/localedef.c (options): Put N_ translation marker
30021         on argument names, not just descriptions.
30023 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30025         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30027 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
30029         [BZ #14176]
30030         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30032 2013-03-19  Roland McGrath  <roland@hack.frob.com>
30034         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30035         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30036         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30037         [!BEFORE_ABORT] (before_abort): New function.
30038         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30039         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30040         (writev_for_fatal): New function.
30041         (WRITEV_FOR_FATAL): New macro; call that.
30042         (backtrace_and_maps): New function.
30043         (BEFORE_ABORT): New macro; call that.
30044         (struct str_list): Type removed.
30045         (__libc_message, __libc_fatal): Functions removed.
30046         Include <sysdeps/posix/libc_fatal.c> instead.
30048 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
30050         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30051         constants.
30052         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30053         double constants.
30055 2013-03-19  Andreas Schwab  <schwab@suse.de>
30057         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30058         * sysdeps/gnu/configure: Regenerate.
30060         * configure.in: Substitute libc_cv_rtlddir.
30061         * configure: Regenerate.
30062         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30063         * Makeconfig (rtlddir, inst_rtlddir): New variables.
30064         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30065         * elf/Makefile (install-others, CFLAGS-interp.c)
30066         (ldso_install, common-ldd-rewrite): Likewise.
30067         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30068         $(inst_slibdir)/$(rtld-installed-name).
30069         * scripts/rellns-sh: Add -p option.
30070         * Makerules (make-shlib-link): Use rellns-sh to get relative name
30071         for source.
30073 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30075         * manual/nptl.texi: Renamed to ...
30076         * manual/threads.texi: ... this.
30077         * manual/Makefile (chapters): Update.
30079 2013-03-18  Roland McGrath  <roland@hack.frob.com>
30081         [BZ #14812]
30082         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30083         on argument names, not just descriptions.
30084         * malloc/memusagestat.c (options): Likewise.
30085         * nss/getent.c (options): Likewise.
30087 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
30089         [BZ #14812]
30090         * iconv/iconv_prog.c (options): Put N_ translation marker
30091         on argument names, not just descriptions.
30092         * iconv/iconvconfig.c (options): Likewise.
30094 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
30096         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30097         implementation which is faster on all x86_64 architectures.
30098         Tested on AMD, Intel Nehalem, SNB, IVB.
30099         * sysdeps/x86_64/strnlen.S: Likewise.
30101         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30102         Remove all multiarch strlen and strnlen versions.
30103         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30104         Remove strlen and strnlen related parts.
30106         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30107         Inline strlen part.
30108         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30110         * sysdeps/x86_64/multiarch/strlen.S: Remove.
30111         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30112         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30113         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30114         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30115         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30117 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
30119         * manual/memory.texi (Malloc Tunable Parameters):
30120         Sort parameters alphabetically. Add comments for missing entries.
30122 2013-03-17  David S. Miller  <davem@davemloft.net>
30124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30126 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
30128         [BZ #15283]
30129         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30130         for arguments at most half maximum finite value.
30131         * math/libm-test.inc (j0_test): Add more tests.
30132         (j1_test): Likewise.
30133         (y0_test): Likewise.
30134         (y1_test): Likewise.
30135         * sysdeps/i386/fpu/libm-test-ulps: Update.
30136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30138         [BZ #14155]
30139         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30140         1 / x and functions P and Q for arguments above 0x1p256L.
30141         (__ieee754_y0l): Likewise.
30142         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30143         (__ieee754_y1l): Likewise.
30144         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30145         (j1_test): Likewise.
30146         (y0_test): Likewise.
30147         (y1_test): Likewise.
30149 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
30151         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30152         variable.
30154 2013-03-15  Roland McGrath  <roland@hack.frob.com>
30156         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30157         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30158         zero since it's initialized to EXEC_PAGESIZE.
30160         * sysdeps/unix/sysv/linux/ldsodefs.h
30161         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30162         * sysdeps/generic/ldsodefs.h: ... here.
30164 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
30166         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30168         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30169         math/test-snan.c.
30170         * math/test-snan.c: Renamed from
30171         sysdeps/powerpc/fpu/test-powerpc-snan.c.
30172         * math/Makefile (tests): Add test-snan.
30173         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30174         test-powerpc-snan.
30176         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30177         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
30178         functions.
30179         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
30180         __builtin_nan family of functions.
30181         * math/libm-test.inc (initialize): Initialize qnan_value with
30182         __builtin_nan family of functions.
30183         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30184         Remove variables.
30185         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30186         Remove functions.
30187         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
30188         storage class.  Initialize qNaN_var and sNaN_var with
30189         __builtin_nan and __builtin_nans families of functions,
30190         respectively.
30192         * math/libm-test.inc (acosh_test): Also test with qNaN input.
30193         (sqrt_test): Remove duplicate test with qNaN input.
30194         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30195         (round_test, signbit_test, significand_test): Note missing +/-Inf
30196         as well as qNaN tests.
30198         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30199         qNaN_var.  Fix a few strings, too.
30200         * math/libm-test.inc (nan_value): Rename to qnan_value.
30201         * math/gen-libm-test.pl (%beautify): Adjust to that.
30202         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30203         * math/test-misc.c (main): Likewise.
30204         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30205         to __qnan_bytes, and __qnan_union, respectively.
30206         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30207         Likewise.
30208         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30209         and lqnanval, respectively.
30210         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30211         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30212         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30213         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30215         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30216         * math/test-misc.c (main) [__x86_64__]: Enable test for long
30217         doubles.
30219         * math/test-misc.c (main): Fix copy'n'pastos.
30220         * misc/tst-efgcvt.c (special): Likewise.
30222         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30223         Remove declarations.
30225 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30227         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30228         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30229         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30230         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30232 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30234         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30235         macro to return vdso values correctly in IFUNC implementations.
30236         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30237         Optimization by using IFUNC.
30239 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30240             Richard Henderson  <rth@redhat.com>
30241             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30243         * Makefile.in (bench): New target.
30244         * NEWS: Mention the benchmark framework.
30245         * Rules (bench): Likewise.
30246         (binaries-bench): Generate binaries for functions to
30247         benchmark.
30248         * benchtests/Makefile: New makefile for benchmark tests.
30249         * benchtests/bench-skeleton.c: New skeleton file for benchmark
30250         programs.
30251         * benchtests/exp-inputs: New input file for EXP function.
30252         * benchtests/pow-inputs: New input file for POW function.
30253         * scripts/bench.pl: New script to generate source files for
30254         benchmark programs.
30256 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30258         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30259         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30260         computations on mantissa.  Use macros for rounding and
30261         division.
30262         (denorm): Likewise.
30263         (__dbl_mp): Likewise.
30264         (add_magnitudes): Likewise.
30265         (sub_magnitudes): Likewise.
30266         (__mul): Likewise.
30267         (__sqr): Likewise.
30268         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30269         powers of two in terms of TWOPOW macro.
30270         (mp_no): Make type of mantissa as MANTISSA_T.
30271         [!RADIXI]: Define RADIXI.
30272         [!TWO52]: Define TWO52.
30273         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30275         * manual/nptl.texi (cindex): Modify threads to pthreads.
30277 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
30279         * sysdeps/x86_64/preconfigure: Regenerated.
30281 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
30283         [BZ #14155]
30284         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30285         0x1p28 and above.
30286         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30287         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30288         0x1p28 and above.
30289         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30290         * math/libm-test.inc (j0_test): Do not allow one spurious
30291         underflow exception.
30292         (y1_test): Likewise.
30294 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30296         * manual/Makefile (chapters): Add nptl.
30297         * manual/debug.texi (Debugging Support): Add link to Threads
30298         chapter.
30299         * manual/nptl.texi: New file.
30301         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30303 2013-03-14  Petr Baudis  <pasky@ucw.cz>
30305         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30306         for non-NULL pointer before the memory validity test. Pointed
30307         out by Holger Brunck <holger.brunck@keymile.com>.
30309 2013-03-13  Andreas Schwab  <schwab@suse.de>
30311         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30312         instead of .os.
30314 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
30316         * timezone/zic.c: Update from tzcode 2013b.
30318 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
30320         * manual/install.texi (Configuring and compiling):
30321         Mention i686 and i586.
30322         * INSTALL: Regenerate.
30324 2013-03-12  Roland McGrath  <roland@hack.frob.com>
30326         * sysdeps/init_array/elf-init.c: New file.
30327         * csu/elf-init.c
30328         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30329         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30331         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30332         __gmon_start__ as global, but as static with a .preinit_array pointer.
30333         * sysdeps/init_array/gmon-start.c: New file.  Use that.
30334         * sysdeps/init_array/crti.S: New file, empty except for comments.
30335         * sysdeps/init_array/crtn.S: Likewise.
30337 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
30339         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30340         definining bcopy.
30341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30342         Remove Prefer_SSE_for_memop.
30343         * sysdeps/x86_64/multiarch/init-arch.h: Remove
30344         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30345         HAS_PREFER_SSE_FOR_MEMOP.
30346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30347         memset-x86-64.
30348         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30349         Remove bzero, memset ifunc support.
30350         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30351         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30352         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30353         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30355 2013-03-11  Andreas Schwab  <schwab@suse.de>
30357         [BZ #15234]
30358         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30359         by SHLIB_COMPAT.
30360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30361         (GLIBC_2.16): Remove pthread_atfork.
30363 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30365         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30366         (ptestcases.h): Likewise.
30368 2013-03-08  Roland McGrath  <roland@hack.frob.com>
30370         * Makeconfig ($(common-objpfx)config.status): Depend on
30371         sysdeps/*/preconfigure{,.in} too.
30373 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
30375         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30376         (__free_hook): Use void * instead of __malloc_ptr_t.
30377         (__malloc_hook): Likewise.
30378         (__realloc_hook): Likewise.
30379         (__memalign_hook): Likewise.
30380         (__after_morecore_hook): Likewise.
30381         * malloc/arena.c (save_malloc_hook): Likewise.
30382         (save_free_hook): Likewise.
30383         * malloc/hooks.c (malloc_hook_ini): Likewise.
30384         (realloc_hook_ini): Likewise.
30385         (memalign_hook_ini): Likewise.
30386         * malloc/malloc.c (malloc_hook_ini): Likewise.
30387         (realloc_hook_ini): Likewise.
30388         (memalign_hook_ini): Likewise.
30389         (__free_hook): Likewise.
30390         (__malloc_hook): Likewise.
30391         (__realloc_hook): Likewise.
30392         (__memalign_hook): Likewise.
30393         (__libc_malloc): Likewise.
30394         (__libc_free): Likewise.
30395         (__libc_realloc): Likewise.
30396         (__libc_memalign): Likewise.
30397         (__libc_valloc): Likewise.
30398         (__libc_pvalloc): Likewise.
30399         (__libc_calloc): Likewise.
30400         (__posix_memalign): Likewise.
30401         * malloc/morecore.c (__sbrk): Likewise.
30402         (__default_morecore): Likewise.
30404         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30406         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30407         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30408         __malloc_ptrdiff_t.
30410         * malloc/malloc.h (__malloc_size_t): Remove macro.
30411         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30412         __malloc_size_t.
30413         (old_memalign_hook): Likewise.
30414         (old_realloc_hook): Likewise.
30415         (struct hdr): Likewise.
30416         (flood): Likewise.
30417         (mallochook): Likewise.
30418         (memalignhook): Likewise.
30419         (reallochook): Likewise.
30420         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30421         (tr_old_realloc_hook): Likewise.
30422         (tr_old_memalign_hook): Likewise.
30423         (tr_mallochook): Likewise.
30424         (tr_reallochook): Likewise.
30425         (tr_memalignhook): Likewise.
30427 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30429         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30430         default_ldbl_pack and using as default implementation.
30431         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30432         implementation.
30433         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30434         redundant definition.
30435         (ldbl_insert_mantissa): Likewise.
30436         (ldbl_canonicalize): Likewise.
30437         (ldbl_nearbyint): Likewise.
30438         (ldbl_pack): Rename to ldbl_pack_ppc.
30439         (ldbl_unpack): Rename to ldbl_unpack_ppc.
30440         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30441         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30443 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30446         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30447         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30448         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30450         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30451         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30452         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30454 2013-03-07  Andreas Jaeger  <aj@suse.de>
30456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30457         bits/mman-linux.h.
30459 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30461         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30462         Include mpa.h and declare __MPEXP.
30463         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30464         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30465         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30466         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30467         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30468         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30469         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30471         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30472         (__slowpow): Use long double EXPL and LOGL functions to
30473         compute POW.
30474         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30475         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30476         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30477         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30478         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30479         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30482         intermediate variable to calculate exponent.
30483         (__sqr): Likewise.
30484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30485         Likewise.
30486         (__sqr): Likewise.
30488         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30489         [!NO__SQR]: Define __sqr.
30490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30491         and NO__SQR.  Remove all code except __mul and __sqr.  Include
30492         sysdeps/ieee754/dbl-64/mpa.c.
30493         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30495         [BZ #12723]
30496         * posix/Makefile (tests): Add tst-pathconf.
30497         * posix/tst-pathconf.c: New test case.
30498         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30499         _PC_PIPE_BUF.
30500         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30502 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
30504         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30506 2013-03-06  Andreas Jaeger  <aj@suse.de>
30508         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30509         definition via __MAP_ANONYMOUS.
30511         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30512         it's not part of Linux headers.
30514         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30515         (MAP_HUGE_MASK): Define.
30517         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30518         Define.
30519         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30520         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30521         Define.
30522         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30523         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30524         Define.
30525         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30526         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30527         Define.
30528         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30530         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30531         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30532         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30533         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30534         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30535         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30537         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30538         Handle f2fs.
30540         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30541         Handle f2fs and efivarfs.
30543         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30544         f2fs.
30546         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30547         (EFIVARFS_MAGIC): Add.
30548         (F2FS_LINK_MAX): Add.
30550 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30552         * stdio-common/vfprintf.c: Replace __builtin_expect with
30553         __glibc_unlikely.
30555 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
30557         [BZ #13550]
30558         * sysdeps/generic/bp-sym.h: Remove file.
30559         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30560         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30561         <bp-sym.h> and <bp-asm.h>.
30562         (__longjmp): Don't use BP_SYM.
30563         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30564         and <bp-asm.h>.
30565         (memcpy): Don't use BP_SYM.
30566         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30567         <bp-sym.h> and <bp-asm.h>.
30568         (memcpy): Don't use BP_SYM.
30569         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30570         <bp-asm.h>.
30571         (memcpy): Don't use BP_SYM.
30572         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30573         <bp-asm.h>.
30574         (memset): Don't use BP_SYM.
30575         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30576         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30577         (__bzero): Don't use BP_SYM.
30578         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30579         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30580         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30581         <bp-sym.h> and <bp-asm.h>.
30582         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30583         pointers.
30584         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30585         <bp-sym.h> and <bp-asm.h>.
30586         (memcpy): Don't use BP_SYM.
30587         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30588         <bp-sym.h> and <bp-asm.h>.
30589         (memset): Don't use BP_SYM.
30590         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30591         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30592         (__bzero): Don't use BP_SYM.
30593         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30594         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30595         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30596         <bp-sym.h> and <bp-asm.h>.
30597         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30598         pointers.
30599         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30600         <bp-sym.h> and <bp-asm.h>.
30601         (memcpy): Don't use BP_SYM.
30602         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30603         <bp-sym.h> and <bp-asm.h>.
30604         (memset): Don't use BP_SYM.
30605         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30606         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30607         (__bzero): Don't use BP_SYM.
30608         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30609         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30610         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30611         <bp-sym.h> and <bp-asm.h>.
30612         (__memchr): Don't use BP_SYM.
30613         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30614         <bp-sym.h> and <bp-asm.h>.
30615         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30616         pointers.
30617         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30618         <bp-sym.h> and <bp-asm.h>.
30619         (memcpy): Don't use BP_SYM.
30620         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30621         <bp-sym.h> and <bp-asm.h>.
30622         (__mempcpy): Don't use BP_SYM.
30623         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30624         <bp-sym.h> and <bp-asm.h>.
30625         (__memrchr): Don't use BP_SYM.
30626         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30627         <bp-sym.h> and <bp-asm.h>.
30628         (memset): Don't use BP_SYM.
30629         (__bzero): Likewise.
30630         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30631         <bp-sym.h> and <bp-asm.h>.
30632         (__rawmemchr): Don't use BP_SYM.
30633         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30634         <bp-sym.h> and <bp-asm.h>.
30635         (__STRCMP): Don't use BP_SYM.
30636         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30637         <bp-sym.h> and <bp-asm.h>.
30638         (strchr): Don't use BP_SYM.
30639         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30640         <bp-sym.h> and <bp-asm.h>.
30641         (__strchrnul): Don't use BP_SYM.
30642         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30643         <bp-sym.h> and <bp-asm.h>.
30644         (strlen): Don't use BP_SYM.
30645         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30646         <bp-sym.h> and <bp-asm.h>.
30647         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30648         pointers.
30649         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30650         <bp-sym.h> and <bp-asm.h>.
30651         (__strnlen): Don't use BP_SYM.
30652         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30653         <bp-sym.h> and <bp-asm.h>.
30654         (__GI__setjmp): Don't use BP_SYM.
30655         (_setjmp): Likewise.
30656         (__sigsetjmp): Likewise.
30657         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30658         (L(start_addresses)): Don't use BP_SYM.
30659         (_start): Likewise.
30660         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30661         <bp-asm.h>.
30662         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30663         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30664         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30665         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30666         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30667         <bp-asm.h>.
30668         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30669         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
30670         about bounded pointers.
30671         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30672         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30673         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30674         <bp-asm.h>.
30675         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30676         about bounded pointers.  Remove GKM FIXME comments.
30677         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30678         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30679         <bp-asm.h>.
30680         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30681         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
30682         Remove GKM FIXME comments.
30683         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30684         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30685         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30686         <bp-asm.h>.
30687         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30688         about bounded pointers.  Remove GKM FIXME comment.
30689         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30690         and <bp-asm.h>.
30691         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30692         pointers.
30693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30694         <bp-sym.h> and <bp-asm.h>.
30695         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30697         <bp-sym.h> and <bp-asm.h>.
30698         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30699         comment.
30701 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30703         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30704         call free(NULL).
30706 2013-03-05  David S. Miller  <davem@davemloft.net>
30708         * po/es.po: Update from translation team.
30710 2013-03-05  Andreas Jaeger  <aj@suse.de>
30712         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30713         <bits/mman-linux.h>.
30714         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30715         is fine.
30716         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30717         <bits/mman-linux.h> to end of file.
30718         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30719         is fine.
30720         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30721         <bits/mman-linux.h> to end of file.
30722         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30723         is fine.
30724         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30725         <bits/mman-linux.h> to end of file.
30727         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30728         (MCL_CURRENT, MCL_FUTURE): Define here.
30730 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30732         [BZ #15232]
30733         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30734         attribute_hidden.
30735         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30737 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30739         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30740         fourth parameter needed for rt_sigprocmask syscall.
30741         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30742         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30743         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30744         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30745         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30746         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30748 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
30750         [BZ #13550]
30751         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30752         comment about bounded pointers.
30753         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30754         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30756 2013-03-04  Andreas Jaeger  <aj@suse.de>
30758         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30759         common definitions.
30761         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30762         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30763         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30764         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30765         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30766         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30768 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30770         [BZ #15055]
30771         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30772         __ieee754_sqrl instead of __sqrl.
30774 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
30776         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30777         * sysdeps/powerpc/fpu_control.h: ... here.
30778         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30779         * sysdeps/powerpc/bits/fenvinline.h: ... here.
30780         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30781         * sysdeps/powerpc/bits/mathinline.h: ... here.
30783 2013-03-01  Roland McGrath  <roland@hack.frob.com>
30785         * elf/dl-hwcaps.c (_dl_important_hwcaps):
30786         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30787         to just [NEED_DL_SYSINFO_DSO].
30788         * elf/dl-support.c: Likewise.
30789         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30790         * elf/rtld.c (dl_main): Likewise.
30791         * elf/setup-vdso.h (setup_vdso): Likewise.
30792         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30793         * sysdeps/unix/sysv/linux/dl-sysdep.c
30794         (_dl_discover_osversion): Likewise.
30796 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
30798         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30799         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30801 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30803         * NEWS: Mention libm performance improvements and non-x86 PI
30804         futex support.
30806         * csu/libc-start.c (__pthread_initialize_minimal): Change
30807         function arguments.
30808         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30810 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
30812         [BZ #13550]
30813         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30814         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30815         <bp-sym.h> and <bp-asm.h>.
30816         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30817         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30818         and <bp-asm.h>.
30819         (memcpy): Don't use BP_SYM.
30820         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30821         <bp-asm.h>.
30822         (__mpn_add_n): Don't use BP_SYM.
30823         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30824         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30825         and <bp-asm.h>.
30826         (__mpn_addmul_1): Don't use BP_SYM.
30827         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30828         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30829         <bp-sym.h>.
30830         (_setjmp): Don't use BP_SYM.
30831         (__novmx_setjmp): Likewise.
30832         (__GI__setjmp): Likewise.
30833         (__vmx_setjmp): Likewise.
30834         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30835         <bp-sym.h>.
30836         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30837         (__bzero): Don't use BP_SYM.
30838         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30839         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30840         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30841         <bp-sym.h> and <bp-asm.h>.
30842         (memcpy): Don't use BP_SYM.
30843         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30844         <bp-sym.h> and <bp-asm.h>.
30845         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30846         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30847         <bp-sym.h> and <bp-asm.h>.
30848         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30849         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30850         <bp-asm.h>.
30851         (__mpn_lshift): Don't use BP_SYM.
30852         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30853         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30854         <bp-asm.h>.
30855         (memset): Don't use BP_SYM.
30856         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30857         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30858         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30859         <bp-asm.h>.
30860         (__mpn_mul_1): Don't use BP_SYM.
30861         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30862         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30863         <bp-sym.h> and <bp-asm.h>.
30864         (memcmp): Don't use BP_SYM.
30865         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30866         <bp-sym.h> and <bp-asm.h>.
30867         (memcpy): Don't use BP_SYM.
30868         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30869         <bp-sym.h> and <bp-asm.h>.
30870         (memset): Don't use BP_SYM.
30871         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30872         <bp-sym.h> and <bp-asm.h>.
30873         (strncmp): Don't use BP_SYM.
30874         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30875         <bp-sym.h> and <bp-asm.h>.
30876         (memcpy): Don't use BP_SYM.
30877         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30878         <bp-sym.h> and <bp-asm.h>.
30879         (memset): Don't use BP_SYM.
30880         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30881         <bp-sym.h> and <bp-asm.h>.
30882         (__memchr): Don't use BP_SYM.
30883         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30884         <bp-sym.h> and <bp-asm.h>.
30885         (memcmp): Don't use BP_SYM.
30886         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30887         <bp-sym.h> and <bp-asm.h>.
30888         (memcpy): Don't use BP_SYM.
30889         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30890         <bp-sym.h> and <bp-asm.h>.
30891         (__mempcpy): Don't use BP_SYM.
30892         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30893         <bp-sym.h> and <bp-asm.h>.
30894         (__memrchr): Don't use BP_SYM.
30895         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30896         <bp-sym.h> and <bp-asm.h>.
30897         (memset): Don't use BP_SYM.
30898         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30899         <bp-sym.h> and <bp-asm.h>.
30900         (__rawmemchr): Don't use BP_SYM.
30901         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30902         <bp-sym.h> and <bp-asm.h>.
30903         (__STRCMP): Don't use BP_SYM.
30904         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30905         <bp-sym.h> and <bp-asm.h>.
30906         (strchr): Don't use BP_SYM.
30907         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30908         <bp-sym.h> and <bp-asm.h>.
30909         (__strchrnul): Don't use BP_SYM.
30910         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30911         <bp-sym.h> and <bp-asm.h>.
30912         (strlen): Don't use BP_SYM.
30913         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30914         <bp-sym.h> and <bp-asm.h>.
30915         (strncmp): Don't use BP_SYM.
30916         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30917         <bp-sym.h> and <bp-asm.h>.
30918         (__strnlen): Don't use BP_SYM.
30919         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30920         <bp-asm.h>.
30921         (__mpn_rshift): Don't use BP_SYM.
30922         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30923         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30924         <bp-sym.h> and <bp-asm.h>.
30925         (__sigsetjmp): Don't use BP_SYM.
30926         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30927         (L(start_addresses)): Don't use BP_SYM.
30928         (_start): Likewise.
30929         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30930         <bp-asm.h>.
30931         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30932         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30933         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30934         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30935         <bp-asm.h>.
30936         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30937         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30938         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30939         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30940         <bp-asm.h>.
30941         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30942         comments.
30943         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30944         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30945         <bp-asm.h>.
30946         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
30947         FIXME comments.
30948         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30949         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30950         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30951         <bp-asm.h>.
30952         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30953         comment.
30954         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30955         and <bp-asm.h>.
30956         (strncmp): Don't use BP_SYM,
30957         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30958         <bp-asm.h>.
30959         (__mpn_sub_n): Don't use BP_SYM.
30960         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30961         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30962         and <bp-asm.h>.
30963         (__mpn_submul_1): Don't use BP_SYM.
30964         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30966         <bp-sym.h> and <bp-asm.h>.
30967         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30969         <bp-sym.h> and <bp-asm.h>.
30970         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30971         comment.
30973 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30975         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30976         Use ZK to minimize writes to Z.
30977         (sub_magnitudes): Simplify code a bit.
30978         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30979         Use ZK to minimize writes to Z.
30980         (sub_magnitudes): Simplify code a bit.
30982 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30984         * csu/gmon-start.c: Add special exception to license text.
30986 2013-02-27  Richard Henderson  <rth@redhat.com>
30988         * scripts/config.guess: Update from config.git.
30989         * scripts/config.sub: Likewise.
30991 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30993         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30995         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30997         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30999         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31001         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31003 2013-02-26  Roland McGrath  <roland@hack.frob.com>
31005         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31006         [$(build-shared = yes].
31008 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31010         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31011         (__mul): Reduce iterations for calculating mantissa.
31013         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31014         MPTWO.
31015         (__mpranred): Likewise.
31017         [BZ #15160]
31018         * malloc/memusagestat.c (main): Draw graphs for heap and stack
31019         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31021 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
31023         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31024         Define __attribute__.
31026 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31028         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31029         unused.
31030         * posix/regex_internal.h (__attribute): Remove.
31031         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31032         (re_string_context_at): Likewise.
31033         (bitset_not): Use __attribute__ and mark function as possibly
31034         unused.
31035         (bitset_merge): Likewise.
31036         (bitset_mask): Likewise.
31037         (re_string_char_size_at): Likewise.
31038         (re_string_wchar_at): Likewise.
31039         (re_string_elem_size_at): Likewise.
31041 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31043         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31044         code.
31045         (cc32): Likewise.
31047         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31048         (__acr): Likewise.
31049         (__cpy): Likewise.
31050         (norm): Likewise.
31051         (denorm): Likewise.
31052         (__dbl_mp): Likewise.
31053         (add_magnitudes): Likewise.
31054         (sub_magnitudes): Likewise.
31055         (__mul): Likewise.
31056         (__inv): Likewise.
31058         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31059         style.
31061         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31062         style.
31064         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31065         code.
31067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31068         up changes with default code.
31069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31070         Likewise.
31072 2013-02-24  Allan McRae  <allan@archlinux.org>
31074         * manual/socket.texi (The Internet Namespace): Order menu items
31075         to match that in the file.
31077         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31078         node listing of the info page menu.
31080 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
31082         [BZ #13550]
31083         * sysdeps/i386/bp-asm.h: Remove file.
31084         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31085         (PARMS): Do not use macros from bp-asm.h.
31086         (S1): Likewise.
31087         (S2): Likewise.
31088         (SIZE): Likewise.
31089         (__mpn_add_n): Do not use BP_SYM
31090         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31091         "bp-asm.h".
31092         (PARMS): Do not use macros from bp-asm.h.
31093         (S1): Likewise.
31094         (SIZE): Likewise.
31095         (__mpn_addmul_1): Do not use BP_SYM
31096         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31097         "bp-asm.h".
31098         (PARMS): Do not use macros from bp-asm.h.
31099         (SIGMSK): Likewise.
31100         (_setjmp): Likewise.  Do not use BP_SYM.
31101         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31102         "bp-asm.h".
31103         (PARMS): Do not use macros from bp-asm.h.
31104         (SIGMSK): Likewise.
31105         (setjmp): Likewise.  Do not use BP_SYM.
31106         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31107         "bp-asm.h".
31108         (PARMS): Do not use macros from bp-asm.h.
31109         (__frexp): Do not use BP_SYM.
31110         (frexp): Likewise.
31111         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31112         "bp-asm.h".
31113         (PARMS): Do not use macros from bp-asm.h.
31114         (__frexpf): Do not use BP_SYM.
31115         (frexpf): Likewise.
31116         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31117         "bp-asm.h".
31118         (PARMS): Do not use macros from bp-asm.h.
31119         (__frexpl): Do not use BP_SYM.
31120         (frexpl): Likewise.
31121         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31122         "bp-asm.h".
31123         (PARMS): Do not use macros from bp-asm.h.
31124         (__remquo): Do not use BP_SYM.
31125         (remquo): Likewise.
31126         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31127         "bp-asm.h".
31128         (PARMS): Do not use macros from bp-asm.h.
31129         (__remquof): Do not use BP_SYM.
31130         (remquof): Likewise.
31131         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31132         "bp-asm.h".
31133         (PARMS): Do not use macros from bp-asm.h.
31134         (__remquol): Do not use BP_SYM.
31135         (remquol): Likewise.
31136         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31137         "bp-asm.h".
31138         (PARMS): Do not use macros from bp-asm.h.
31139         (DEST): Likewise.
31140         (SRC): Likewise.
31141         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
31142         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31143         "bp-asm.h".
31144         (PARMS): Do not use macros from bp-asm.h.
31145         (strlen): Do not use BP_SYM.
31146         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31147         "bp-asm.h".
31148         (PARMS): Do not use macros from bp-asm.h.
31149         (S1): Likewise.
31150         (S2): Likewise.
31151         (SIZE): Likewise.
31152         (__mpn_add_n): Do not use BP_SYM.
31153         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31154         "bp-asm.h".
31155         (PARMS): Do not use macros from bp-asm.h.
31156         (S1): Likewise.
31157         (SIZE): Likewise.
31158         (__mpn_addmul_1): Do not use BP_SYM.
31159         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31160         weak_alias.
31161         (bzero): Likewise.
31162         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31163         "bp-asm.h".
31164         (PARMS): Do not use macros from bp-asm.h.
31165         (S): Likewise.
31166         (SIZE): Likewise.
31167         (__mpn_lshift): Do not use BP_SYM.
31168         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31169         "bp-asm.h".
31170         (PARMS): Do not use macros from bp-asm.h.
31171         (DEST): Likewise.
31172         (SRC): Likewise.
31173         (LEN): Likewise.
31174         (memcpy): Likewise.  Do not use BP_SYM.
31175         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31176         libc_hidden_def and weak_alias.
31177         (mempcpy): Do not use BP_SYM in weak_alias.
31178         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31179         "bp-asm.h".
31180         (PARMS): Do not use macros from bp-asm.h.
31181         (DEST): Likewise.
31182         (LEN): Likewise.
31183         [!BZERO_P] (CHR): Likewise.
31184         (memset): Likewise.  Do not use BP_SYM.
31185         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31186         "bp-asm.h".
31187         (PARMS): Do not use macros from bp-asm.h.
31188         (S1): Likewise.
31189         (SIZE): Likewise.
31190         (__mpn_mul_1): Do not use BP_SYM.
31191         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31192         "bp-asm.h".
31193         (PARMS): Do not use macros from bp-asm.h.
31194         (S): Likewise.
31195         (SIZE): Likewise.
31196         (__mpn_rshift): Do not use BP_SYM.
31197         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31198         "bp-asm.h".
31199         (PARMS): Do not use macros from bp-asm.h.
31200         (STR): Likewise.
31201         (CHR): Likewise.
31202         (strchr): Likewise.  Do not use BP_SYM.
31203         (index): Do not use BP_SYM in weak_alias.
31204         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31205         "bp-asm.h".
31206         (PARMS): Do not use macros from bp-asm.h.
31207         (DEST): Likewise.
31208         (SRC): Likewise.
31209         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
31210         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31211         "bp-asm.h".
31212         (PARMS): Do not use macros from bp-asm.h.
31213         (strlen): Do not use BP_SYM.
31214         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31215         "bp-asm.h".
31216         (PARMS): Do not use macros from bp-asm.h.
31217         (S1): Likewise.
31218         (S2): Likewise.
31219         (SIZE): Likewise.
31220         (__mpn_sub_n): Do not use BP_SYM.
31221         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31222         "bp-asm.h".
31223         (PARMS): Do not use macros from bp-asm.h.
31224         (S1): Likewise.
31225         (SIZE): Likewise.
31226         (__mpn_submul_1): Do not use BP_SYM.
31227         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31228         "bp-asm.h".
31229         (PARMS): Do not use macros from bp-asm.h.
31230         (S1): Likewise.
31231         (S2): Likewise.
31232         (SIZE): Likewise.
31233         (__mpn_add_n): Do not use BP_SYM.
31234         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31235         weak_alias.
31236         (bzero): Likewise.
31237         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31238         "bp-asm.h".
31239         (PARMS): Do not use macros from bp-asm.h.
31240         (BLK2): Likewise.
31241         (LEN): Likewise.
31242         (memcmp): Do not use BP_SYM.
31243         (bcmp): Do not use BP_SYM in weak_alias.
31244         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31245         "bp-asm.h".
31246         (PARMS): Do not use macros from bp-asm.h.
31247         (DEST): Likewise.
31248         (SRC): Likewise.
31249         (LEN): Likewise.
31250         (memcpy): Likewise.  Do not use BP_SYM.
31251         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31252         "bp-asm.h".
31253         (PARMS): Do not use macros from bp-asm.h.
31254         (DEST): Likewise.
31255         (SRC): Likewise.
31256         (LEN): Likewise.
31257         (memmove): Likewise.  Do not use BP_SYM.
31258         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31259         "bp-asm.h".
31260         (PARMS): Do not use macros from bp-asm.h.
31261         (DEST): Likewise.
31262         (SRC): Likewise.
31263         (LEN): Likewise.
31264         (__mempcpy): Likewise.  Do not use BP_SYM.
31265         (mempcpy): Do not use BP_SYM in weak_alias.
31266         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31267         "bp-asm.h".
31268         (PARMS): Do not use macros from bp-asm.h.
31269         (DEST): Likewise.
31270         (LEN): Likewise.
31271         [!BZERO_P] (CHR): Likewise.
31272         (memset): Likewise.  Do not use BP_SYM.
31273         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31274         "bp-asm.h".
31275         (PARMS): Do not use macros from bp-asm.h.
31276         (STR2): Likewise.
31277         (strcmp): Do not use BP_SYM.
31278         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31279         "bp-asm.h".
31280         (PARMS): Do not use macros from bp-asm.h.
31281         (STR): Likewise.
31282         (DELIM): Likewise.
31283         [USE_AS_STRTOK_R] (SAVE): Likewise.
31284         (FUNCTION): Likewise.  Do not use BP_SYM.
31285         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31286         aliases.
31287         (strtok_r): Likewise.
31288         (__GI___strtok_r): Likewise.
31289         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31290         (PARMS): Do not use macros from bp-asm.h.
31291         (S): Likewise.
31292         (SIZE): Likewise.
31293         (__mpn_lshift): Do not use BP_SYM.
31294         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31295         (PARMS): Do not use macros from bp-asm.h.
31296         (STR): Likewise.
31297         (CHR): Likewise.
31298         (__memchr): Do not use BP_SYM.
31299         (memchr): Do not use BP_SYM in weak_alias.
31300         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31301         (PARMS): Do not use macros from bp-asm.h.
31302         (BLK2): Likewise.
31303         (LEN): Likewise.
31304         (memcmp): Do not use BP_SYM.
31305         (bcmp): Do not use BP_SYM in weak_alias.
31306         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31307         (PARMS): Do not use macros from bp-asm.h.
31308         (S1): Likewise.
31309         (SIZE): Likewise.
31310         (__mpn_mul_1): Do not use BP_SYM.
31311         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31312         "bp-asm.h".
31313         (PARMS): Do not use macros from bp-asm.h.
31314         (STR): Likewise.
31315         (CHR): Likewise.
31316         (__rawmemchr): Do not use BP_SYM.
31317         (rawmemchr): Do not use BP_SYM in weak_alias.
31318         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31319         (PARMS): Do not use macros from bp-asm.h.
31320         (S): Likewise.
31321         (SIZE): Likewise.
31322         (__mpn_rshift): Do not use BP_SYM.
31323         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31324         (PARMS): Do not use macros from bp-asm.h.
31325         (SIGMSK): Likewise.
31326         (__sigsetjmp): Likewise.  Do not use BP_SYM.
31327         * sysdeps/i386/start.S: Do not include "bp-sym.h".
31328         (_start): Do not use BP_SYM.
31329         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31330         (PARMS): Do not use macros from bp-asm.h.
31331         (DEST): Likewise.
31332         (SRC): Likewise.
31333         (__stpcpy): Likewise.  Do not use BP_SYM.
31334         (stpcpy): Do not use BP_SYM in weak_alias.
31335         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31336         "bp-asm.h".
31337         (PARMS): Do not use macros from bp-asm.h.
31338         (DEST): Likewise.
31339         (SRC): Likewise.
31340         (LEN): Likewise.
31341         (__stpncpy): Likewise.  Do not use BP_SYM.
31342         (stpncpy): Do not use BP_SYM in weak_alias.
31343         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31344         (PARMS): Do not use macros from bp-asm.h.
31345         (STR): Likewise.
31346         (CHR): Likewise.
31347         (strchr): Likewise.  Do not use BP_SYM.
31348         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31349         "bp-asm.h".
31350         (PARMS): Do not use macros from bp-asm.h.
31351         (STR): Likewise.
31352         (CHR): Likewise.
31353         (__strchrnul): Likewise.  Do not use BP_SYM.
31354         (strchrnul): Do not use BP_SYM in weak_alias.
31355         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31356         "bp-asm.h".
31357         (PARMS): Do not use macros from bp-asm.h.
31358         (STOP): Likewise.
31359         (strcspn): Do not use BP_SYM.
31360         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31361         "bp-asm.h".
31362         (PARMS): Do not use macros from bp-asm.h.
31363         (STR): Likewise.
31364         (STOP): Likewise.
31365         (strpbrk): Likewise.  Do not use BP_SYM.
31366         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31367         "bp-asm.h".
31368         (PARMS): Do not use macros from bp-asm.h.
31369         (STR): Likewise.
31370         (CHR): Likewise.
31371         (strrchr): Likewise.  Do not use BP_SYM.
31372         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31373         (PARMS): Do not use macros from bp-asm.h.
31374         (SKIP): Likewise.
31375         (strspn): Do not use BP_SYM.
31376         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31377         (PARMS): Do not use macros from bp-asm.h.
31378         (STR): Likewise.
31379         (DELIM): Likewise.
31380         (SAVE): Likewise.
31381         (FUNCTION): Likewise.  Do not use BP_SYM.
31382         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31383         aliases.
31384         (strtok_r): Likewise.
31385         (__GI___strtok_r): Likewise.
31386         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31387         (PARMS): Do not use macros from bp-asm.h.
31388         (S1): Likewise.
31389         (S2): Likewise.
31390         (SIZE): Likewise.
31391         (__mpn_sub_n): Do not use BP_SYM.
31392         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31393         "bp-asm.h".
31394         (PARMS): Do not use macros from bp-asm.h.
31395         (S1): Likewise.
31396         (SIZE): Likewise.
31397         (__mpn_submul_1): Do not use BP_SYM.
31398         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31399         <bp-sym.h>.
31400         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31401         and <bp-asm.h>.
31402         (PARMS): Do not use macros from bp-asm.h.
31403         (FLAGS): Likewise.
31404         (PTID): Likewise.
31405         (TLS): Likewise.
31406         (CTID): Likewise.
31407         (__clone): Do not use BP_SYM.
31408         (clone): Do not use BP_SYM in weak_alias.
31409         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31410         and <bp-asm.h>.
31411         (PARMS): Do not use macros from bp-asm.h.
31412         (LEN): Likewise.
31413         (__mmap64): Do not use BP_SYM.
31414         (mmap64): Do not use BP_SYM in weak_alias.
31415         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31416         <bp-sym.h> and <bp-asm.h>.
31417         (PARMS): Do not use macros from bp-asm.h.
31418         (__posix_fadvise64_l64): Do not use BP_SYM.
31419         * sysdeps/unix/sysv/linux/i386/semtimedop.S
31420         (PARMS): Do not use macros from bp-asm.h.
31421         (NSOPS): Likewise.
31422         (semtimedop): Do not use BP_SYM.
31423         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31424         and <bp-asm.h>.
31426 2013-02-21  Allan McRae  <allan@archlinux.org>
31428         * manual/message.texi (Charset conversion in gettext):
31429         Move @end statement to beginning of line.
31431 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31434         static.
31435         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31436         Likewise.
31438         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31439         (denorm): Likewise.
31440         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31443 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31445         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31446         tail-call to the resolved function if pltexit isn't needed.
31448 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31451         or Y being zero as being unlikely.
31452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31453         Likewise.
31455 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
31457         * manual/nss.texi (System Databases and Name Service Switch):
31458         Remove frobnicate @pxref.
31460 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31462         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31463         __attribute__ ((unused)) to __attribute__ ((__unused__)).
31465 2013-02-20  Petr Machata  <pmachata@redhat.com>
31467         * elf/elf.h (R_ARM_TARGET1): New macro.
31468         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31469         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31470         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31471         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31472         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31473         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31474         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31475         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31476         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31477         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31478         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31479         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31480         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31481         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31482         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31483         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31484         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31485         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31486         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31487         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31488         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31489         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31490         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31491         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31492         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31493         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31494         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31495         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31496         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31497         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31498         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31499         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31500         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31501         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31502         (R_ARM_THM_GOT_BREL12): Likewise.
31503         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31504         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31505         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31506         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31507         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31508         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31509         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31510         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31511         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31513 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31515         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31516         __attribute_used__ to __attribute__ ((unused)).
31518 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31520         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31521         powerpc mpa.c.
31522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31523         comment formatting.
31524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31526 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
31528         [BZ #13550]
31529         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31530         Remove macro.
31531         (ENTER): Remove both macro definitions.
31532         (LEAVE): Likewise.
31533         (CHECK_BOUNDS_LOW): Likewise.
31534         (CHECK_BOUNDS_HIGH): Likewise.
31535         (CHECK_BOUNDS_BOTH): Likewise.
31536         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31537         (RETURN_BOUNDED_POINTER): Likewise.
31538         (RETURN_NULL_BOUNDED_POINTER): Likewise.
31539         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31540         (POP_ERRNO_LOCATION_RETURN): Likewise.
31541         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31542         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31543         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31544         macros.
31545         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31546         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31547         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31548         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31549         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31550         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31551         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31552         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31553         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31554         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31555         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31556         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31557         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31558         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31559         removed macros.
31560         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31561         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31562         macros.
31563         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31564         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31565         * sysdeps/i386/i586/memset.S (memset): Likewise.
31566         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31567         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31568         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31569         macros.
31570         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31571         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31572         Change uses of L(2) to L(out).
31573         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31574         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31575         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31576         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31577         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31578         removed macros.
31579         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31580         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31581         macros.
31582         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31583         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31584         (RETURN): Do not use macro LEAVE.
31585         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31586         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31587         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31588         * sysdeps/i386/i686/memset.S (memset): Likewise.
31589         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31590         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31591         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31592         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31593         Likewise.
31594         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31595         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
31596         L(1_2) and L(1_3) into L(1).
31597         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31598         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31599         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31600         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31601         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31602         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31603         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31604         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31605         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31606         macros.
31607         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31608         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31609         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31610         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31611         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31612         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31613         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31614         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31615         * sysdeps/i386/strcspn.S (strcspn): Likewise.
31616         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31617         * sysdeps/i386/strrchr.S (strrchr): Likewise.
31618         * sysdeps/i386/strspn.S (strspn): Likewise.
31619         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31620         conditional code.
31621         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31622         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31623         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31624         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
31625         L(1_3) into L(1_1).
31626         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31627         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31628         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31629         macros.
31630         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31632 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
31634         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31635         macro.
31637 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31639         * math/atest-exp.c (exp_mpn): Remove ROUND.
31640         * math/atest-exp2.c (exp_mpn): Likewise.
31641         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31643         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31644         * stdlib/tst-tls-atexit-lib.c: Likewise.
31645         * stdlib/tst-tls-atexit.c: Likewise.
31647 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31649         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31650         and __attribute_alloc_size__.
31652 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31654         * include/programs/xmalloc.h: Change __attribute_alloc_size to
31655         __attribute_alloc_size__.
31656         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31657         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31659 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31661         * include/programs/xmalloc.h: New file.
31662         * catgets/gencat.c: Include it.
31663         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31664         * elf/pldd.c: Likewise.
31665         * iconv/iconv_charmap.c: Likewise.
31666         * iconv/iconvconfig.c: Likewise.
31667         * iconv/strtab.c: Likewise.
31668         * locale/programs/locale.c: Likewise.
31669         * locale/programs/localedef.h: Likewise.
31670         * locale/programs/simple-hash.c: Likewise.
31671         * nscd/nscd.h: Likewise.
31672         * nss/makedb.c: Likewise.
31673         * sysdeps/generic/ldconfig.h: Likewise.
31675 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31677         * Versions.def: Add GLIBC_2.18.
31678         * include/link.h (struct link_map): New member l_tls_dtor_count.
31679         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31680         (__call_tls_dtors): Likewise.
31681         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31682         __cxa_thread_atexit_impl.
31683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31684         Likewise.
31685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31686         Likewise.
31687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31688         Likewise.
31689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31690         Likewise.
31691         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31693         Likewise.
31694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31695         Likewise.
31696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31698         Likewise.
31699         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31700         (tests): Add test case tst-tls-atexit.
31701         (modules-names): Add shared library for tst-tls-atexit.
31702         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31703         (GLIBC_PRIVATE): Add __call_tls_dtors.
31704         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31705         for libstdc++.
31706         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31707         * stdlib/tst-tls-atexit.c: New test case.
31708         * stdlib/tst-tls-atexit-lib.c: New test case.
31710         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31712         * elf/Versions (ld): Add _dl_find_dso_for_object.
31713         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31714         * elf/dl-open.c (_dl_find_dso_for_object): New function.
31715         (dl_open_worker): Use _dl_find_dso_for_object.
31716         * elf/dl-sym.c (do_sym): Likewise.
31717         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31719 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31721         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31722         Syntactic changes only.
31723         (_dl_runtime_profile): Do a tail-call to the resolved function.
31725 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
31727         [BZ #13550]
31728         * sysdeps/x86_64/bp-asm.h: Remove file.
31729         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31730         <bp-sym.h> and <bp-asm.h>.
31731         (__clone): Do not use BP_SYM.
31732         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31733         <bp-sym.h> and <bp-asm.h>.
31734         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31735         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31736         "bp-asm.h".
31737         (_setjmp): Do not use BP_SYM.
31738         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31739         "bp-asm.h".
31740         (setjmp): Do not use BP_SYM.
31741         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31742         libc_hidden_def.
31743         (mempcpy): Do not use BP_SYM in weak_alias.
31744         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31745         "bp-asm.h".
31746         (strchr): Do not use BP_SYM.
31747         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31748         "bp-asm.h".
31749         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31750         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31751         (_start): Do not use BP_SYM.
31752         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31753         "bp-asm.h".
31754         (strcat): Do not use BP_SYM.
31755         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31756         "bp-asm.h".
31757         (STRCMP): Do not use BP_SYM.
31758         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31759         "bp-asm.h".
31760         (STRCPY): Do not use BP_SYM.
31761         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31762         "bp-asm.h".
31763         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31764         "bp-asm.h".
31765         (FUNCTION): Do not use BP_SYM.
31766         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31767         weak_alias.
31768         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31770 2013-02-17  Andreas Jaeger  <aj@suse.de>
31772         * time/Versions: Sort entries.
31773         * string/Versions: Likewise.
31774         * resolv/Versions: Likewise.
31775         * posix/Versions: Likewise.
31776         * iconv/Versions: Likewise.
31777         * elf/Versions: Likewise.
31778         * wcsmbs/Versions: Likewise.
31780 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31782         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31783         loop termination condition.
31785         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31786         variable to calculate EZ.
31787         (__sqr): Likewise.
31789         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31790         the lower precision input.
31792 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
31794         [BZ #13550]
31795         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31796         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31797         (run-via-rtld-prefix): Do not handle %-bp tests.
31798         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31799         (all-object-suffixes): Remove .ob.
31800         (bppfx): Remove variable.
31801         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31802         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31803         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31804         [$(build-bounded) = yes] (libtype.ob): Likewise.
31805         * Makerules (elide-routines.ob): Remove variable.
31806         (do-tests-clean): Do not handle *-bp.out.
31807         (common-mostlyclean): Do not handle *-bp and *-bp.out.
31808         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31809         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31810         (tests): Do not include $(tests-bp.out).
31811         (xtests): Do not include $(xtests-bp.out).
31812         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31813         [$(build-bounded) = yes] ($(addprefix
31814         $(objpfx),$(binaries-bounded))): Remove rule.
31815         ($(objpfx)%-bp.out): Remove rule.
31816         * config.make.in (build-bounded): Remove variable.
31817         * crypt/Makefile [$(build-bounded) = yes]
31818         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31819         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31820         append to variable.
31821         [$(build-bounded) = yes] (install-lib): Likewise.
31822         [$(build-bounded) = yes] (generated): Likewise.
31823         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31824         Remove rule.
31825         * intl/Makefile [$(build-bounded) = yes]
31826         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31827         * math/Makefile [$(build-bounded) = yes]
31828         ($(tests:%=$(objpfx)%-bp): Likewise.
31829         * misc/Makefile [$(build-bounded) = yes]
31830         ($(objpfx)tst-tsearch-bp): Likewise.
31831         * nptl/Makeconfig (bounded-thread-library): Remove variable.
31832         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31833         Remove dependency.
31834         * string/Makefile (o-objects.ob): Remove variable.
31835         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31836         (CFLAGS-.ob): Remove variable.
31837         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31838         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31839         both definitions of variable.
31840         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31841         (ASFLAGS-.ob): Remove variable.
31843 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
31845         [BZ #13550]
31846         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31847         Remove __BOUNDED_POINTERS__ from condition.
31848         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31849         * string/bits/string2.h [!__NO_STRING_INLINES &&
31850         !__BOUNDED_POINTERS__]: Likewise.
31851         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31852         Likewise.
31853         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31854         Remove conditional code.
31855         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31856         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31857         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31858         condition.
31860         [BZ #13550]
31861         * csu/libc-start.c: Do not include <bp-sym.h>.
31862         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31863         * elf/dl-open.c: Do not include <bp-sym.h>.
31864         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31865         * math/fegetenv.c: Do not include <bp-sym.h>.
31866         (fegetenv): Do not use BP_SYM in versioned symbols.
31867         * nptl/sysdeps/pthread/bits/libc-lockP.h
31868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31869         <bp-sym.h>.
31870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31871         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31873         (__pthread_mutex_destroy): Likewise.
31874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31875         (__pthread_mutex_lock): Likewise.
31876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31877         (__pthread_mutex_trylock): Likewise.
31878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31879         (__pthread_mutex_unlock): Likewise.
31880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31881         (__pthread_mutexattr_init): Likewise.
31882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31883         (__pthread_mutexattr_destroy): Likewise.
31884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31885         (__pthread_mutexattr_settype): Likewise.
31886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31887         (__pthread_rwlock_init): Likewise.
31888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31889         (__pthread_rwlock_destroy): Likewise.
31890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31891         (__pthread_rwlock_rdlock): Likewise.
31892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31893         (__pthread_rwlock_tryrdlock): Likewise.
31894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31895         (__pthread_rwlock_wrlock): Likewise.
31896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31897         (__pthread_rwlock_trywrlock): Likewise.
31898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31899         (__pthread_rwlock_unlock): Likewise.
31900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31901         (__pthread_key_create): Likewise.
31902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31903         (__pthread_setspecific): Likewise.
31904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31905         (__pthread_getspecific): Likewise.
31906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31907         Likewise.
31908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31909         (_pthread_cleanup_push_defer): Likewise.
31910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31911         (_pthread_cleanup_pop_restore): Likewise.
31912         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31913         (pthread_setcancelstate): Likewise.
31914         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31915         <bp-sym.h>.
31916         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31917         (memchr): Do not use BP_SYM in weak_alias.
31918         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31919         (fegetenv): Do not use BP_SYM in versioned symbols.
31920         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31921         (fesetenv): Do not use BP_SYM in versioned symbols.
31922         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31923         (feupdateenv): Do not use BP_SYM in versioned symbols.
31924         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31925         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31926         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31927         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31928         (open64): Do not use BP_SYM in weak_alias.
31929         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31930         (fegetenv): Do not use BP_SYM in versioned symbols.
31931         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31932         (fesetenv): Do not use BP_SYM in versioned symbols.
31933         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31934         (feupdateenv): Do not use BP_SYM in versioned symbols.
31935         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31936         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31937         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31938         (feraiseexcept): Do not use BP_SYM in versioned symbols.
31939         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31940         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31941         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31942         <bp-sym.h>.
31943         (__libc_start_main): Do not use BP_SYM.
31945 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31948         redundant return line.
31949         (norm): Likewise.
31950         (denorm): Likewise.
31951         (dbl_mp): Likewise.
31952         (sub_magnitudes): Likewise.
31953         (__add): Likewise.
31954         (__sub): Likewise.
31955         (__mul): Likewise.
31956         (__inv): Likewise.
31957         (__dvd): Likewise.
31958         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31959         (norm): Likewise.
31960         (denorm): Likewise.
31961         (dbl_mp): Likewise.
31962         (sub_magnitudes): Likewise.
31963         (__add): Likewise.
31964         (__sub): Likewise.
31965         (__mul): Likewise.
31966         (__inv): Likewise.
31967         (__dvd): Likewise.
31969         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31970         instead of __mul.
31971         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31972         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31973         (cc32): Likewise.
31975         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31976         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31978         of __mul for squares.
31979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31980         function
31981         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31982         Likewise.
31983         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31984         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31986 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
31988         [BZ #13550]
31989         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31990         code.
31991         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31992         prototype or function definition.  Rename ubp_* variables and
31993         parameters.  Remove argv definitions conditional on
31994         [__BOUNDED_POINTERS__].
31995         * debug/backtrace.c (__backtrace): Do not use __unbounded.
31996         * elf/dl-runtime.c (_dl_fixup): Likewise.
31997         * include/set-hooks.h (RUN_HOOK): Likewise.
31998         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31999         definition.
32000         * string/strcpy.c (strcpy): Do not use __unbounded.
32001         * sysdeps/generic/frame.h (struct layout): Likewise.
32002         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32003         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32004         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32005         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32006         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32007         (__backtrace): Likewise.
32008         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32009         use __ptrvalue.
32010         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32011         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32012         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32013         Likewise.
32014         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32015         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32016         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32017         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32018         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32019         Do not use __unbounded.
32020         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32021         Rename __unboundedrlimits parameter to rlimits in prototype.
32022         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32023         Do not use __unbounded.
32024         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32025         not use __ptrvalue.
32026         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32027         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32028         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32029         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32030         __ptrvalue or __unbounded.
32031         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32032         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32033         use __unbounded.
32034         (__new_msgctl): Do not use __ptrvalue.
32035         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32036         __unbounded.
32037         (__libc_msgrcv): Do not use __ptrvalue.
32038         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32039         startup_info): Do not use __unbounded.
32040         (__libc_start_main): Likewise.  Rename ubp_* variables and
32041         parameters.  Remove argv definitions conditional on
32042         [__BOUNDED_POINTERS__].
32043         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32044         __ptrvalue.
32045         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32046         use __unbounded.
32047         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32048         or __ptrvalue.
32049         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32050         use __unbounded.
32051         (__new_shmctl): Do not use __ptrvalue.
32052         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32053         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32054         Likewise.
32055         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32056         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32057         (__libc_sigaction): Likewise.
32058         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32059         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32060         Likewise.
32061         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32063 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
32065         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32067         * string/mempcpy.c: Implement by calling memcpy.
32069 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32071         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32073         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32074         evaluation.
32076         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32077         values in the mantissa.
32079         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32080         minimize writes to Z.
32081         (sub_magnitudes): Simplify code a bit.
32083 2013-02-12  Roland McGrath  <roland@hack.frob.com>
32085         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32086         from the message.  The linker prefixes all warnings with that already.
32088 2013-02-12  Andreas Schwab  <schwab@suse.de>
32090         [BZ #15078]
32091         * posix/regexec.c (extend_buffers): Add parameter min_len.
32092         (check_matching): Pass minimum needed length.
32093         (clean_state_log_if_needed): Likewise.
32094         (get_subexp): Likewise.
32095         * posix/Makefile (tests): Add bug-regex34.
32096         (bug-regex34-ENV): Define.
32097         * posix/bug-regex34.c: New file.
32099         [BZ #11561]
32100         * posix/regcomp.c (parse_bracket_exp): When looking up collating
32101         elements compare against the byte sequence of it, not its name.
32102         * posix/Makefile (tests): Add bug-regex35.
32103         (bug-regex35-ENV): Define.
32104         * posix/bug-regex35.c: New file.
32106 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32108         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
32109         comment.
32110         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32111         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32112         (CHECK_EOL): Add undef.
32114 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
32116         * bits/stdlib-bsearch.h: New file.
32117         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32118         * stdlib/stdlib.h: Likewise.
32120 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32122         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32123         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32124         declaration.
32125         * manual/search.texi (Array Search Function): Add missing const in
32126         lfind prototype.
32127         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32128         declaration to use rlim_t.
32129         (Basic Scheduling Functions): Remove erroneous const from
32130         sched_getparam prototype.  Remove erroneous * from
32131         sched_get_priority_max and sched_get_priority_min prototypes.
32132         (Resource Usage): Fix summary @comment on vtimes to refer to
32133         sys/vtimes.h rather than vtimes.h.
32134         Add missing *s in vtimes prototype.
32135         (Limits on Resources): Fix ulimit prototype to return long int.
32136         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32137         prototypes to use long int rather than double.
32138         (BSD Random): Fix initstate and setstate to use char *, not void *.
32139         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32140         prototype to make second argument 'struct aiocb64 *const[]'.
32141         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32142         (Status of AIO Operations): Remove erroneous const in aio_return and
32143         aio_return64 prototypes.
32144         (Synchronizing I/O): Fix sync prototype to return void.
32145         * manual/startup.texi (Suboptions): Remove an erroneous const in
32146         getsubopt prototype.
32147         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32148         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32149         use size_t rather than int.
32150         (Scanning All Users): Likewise for getpwent_r.
32151         (Setting Groups): Add missing const to setgroups prototype.
32152         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32153         * manual/socket.texi (Host Names): Fix gethostbyaddr and
32154         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32155         'const void *' rather than 'const char *'.
32156         (Host Address Functions): Likewise for inet_ntop.
32157         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32158         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32159         ssize_t for return value.
32160         (Sending Data): Likewise for send, sendto, sendmsg.
32161         (Socket Option Functions): Add a missing const in setsockopt prototype.
32162         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32163         use wchar_t for the argument.
32164         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32165         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32166         take no arguments.
32167         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32168         double/float/long double for second argument.
32169         Fix return types of significand, significandf, significandl.
32170         * manual/filesys.texi (Setting Permissions): Use mode_t for second
32171         argument in fchmod prototype.
32172         (File Owner): Use uid_t and gid_t in fchown prototype.
32173         (File Times): Add const to utimes, futimes, and lutimes prototypes.
32174         (Making Special Files): Use mode_t and dev_t in mknod prototype.
32175         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32176         use 'const struct dirent **' as argument types to CMP function pointer
32177         argument.
32178         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32179         (File Times): Fix summary magic @comment for struct utimbuf and utime
32180         to refer to utime.h, not time.h.
32181         * manual/string.texi (Argz Functions): Add missing const in
32182         argz_extract and argz_next prototypes.
32183         (Finding Tokens in a String): Likewise for basename.
32184         (String/Array Comparison): Fix typo in wcscasecmp prototype.
32185         (Copying and Concatenation): Fix typo in wmemmove prototype.
32186         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32187         (Signal Stack): Remove erroneous const in sigstack prototype.
32188         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32189         prototype.
32190         (Simple Calendar Time): Likewise for stime.
32191         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32192         prototype.
32193         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32194         say sys/sysctl.h instead.
32195         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32196         and vsyslog prototypes.
32198 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32200         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32201         Remove.
32203 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32205         * misc/sys/mman.h: Fix typo in mremap comment.
32207 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32209         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32210         the '\0' terminator.
32212 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32214         [BZ #13550]
32215         * debug/segfault.c: Don't include <bp-checks.h>.
32216         * sysdeps/generic/bp-checks.h: Remove file.
32217         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32218         (__GETDENTS): Don't use CHECK_N.
32219         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32220         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32221         (__getgroups): Don't use CHECK_N.
32222         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32223         (setgroups): Don't use CHECK_N.
32224         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32225         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32226         (__libc_msgrcv): Don't use CHECK_N.
32227         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32228         (__libc_msgsnd): Don't use CHECK_N.
32229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32230         <bp-checks.h>.
32231         (__libc_pread): Don't use CHECK_N.
32232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32233         include <bp-checks.h>.
32234         (__libc_pread64): Don't use CHECK_N.
32235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32236         include <bp-checks.h>.
32237         (__libc_pwrite): Don't use CHECK_N.
32238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32239         include <bp-checks.h>.
32240         (__libc_pwrite64): Don't use CHECK_N.
32241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32242         <bp-checks.h>.
32243         (__libc_pread): Don't use CHECK_N.
32244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32245         include <bp-checks.h>.
32246         (__libc_pread64): Don't use CHECK_N.
32247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32248         include <bp-checks.h>.
32249         (__libc_pwrite): Don't use CHECK_N.
32250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32251         include <bp-checks.h>.
32252         (__libc_pwrite64): Don't use CHECK_N.
32253         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32254         (do_pread): Don't use CHECK_N.
32255         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32256         (do_pread64): Don't use CHECK_N.
32257         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32258         (do_pwrite): Don't use CHECK_N.
32259         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32260         (do_pwrite64): Don't use CHECK_N.
32261         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32262         (__libc_readv): Don't use CHECK_N.
32263         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32264         (semop): Don't use CHECK_N.
32265         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32266         <bp-checks.h>.
32267         (semtimedop): Don't use CHECK_N.
32268         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32269         (__libc_pread): Don't use CHECK_N.
32270         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32271         <bp-checks.h>.
32272         (__libc_pread64): Don't use CHECK_N.
32273         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32274         <bp-checks.h>.
32275         (__libc_pwrite): Don't use CHECK_N.
32276         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32277         <bp-checks.h>.
32278         (__libc_pwrite64): Don't use CHECK_N.
32279         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32280         <bp-checks.h>.
32281         (__libc_msgrcv): Don't use CHECK_N.
32282         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32283         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
32284         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32285         (__libc_writev): Don't use CHECK_N.
32287 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32289         * string/strcpy.c: Removed unused variable.
32291         * Makeconfig (+sysdep-includes): Define with := rather than =.
32292         Use an existing include/ subdir of each sysdeps dir before it.
32294 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32296         * nscd/connection.c (register_traced_file): Comment function.
32297         [HAVE_INOTIFY] (union __inev): Define.
32298         [HAVE_INOTIFY] (inotify_check_files): New function.
32299         [HAVE_INOTIFY] (clear_db_cache): Likewise.
32300         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32301         clear_db_cache.
32302         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32304 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32306         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32307         loaded if not already and that a failure is permanent.
32309 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32311         [BZ #15006]
32312         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32313         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32315 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32317         [BZ #13550]
32318         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32319         (CHECK_1_NULL_OK): Likewise.
32320         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32321         (__fxstat): Do not use CHECK_1.
32322         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32323         <bp-checks.h>.
32324         (___fxstat64): Do not use CHECK_1.
32325         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32326         <bp-checks.h>.
32327         (__fxstatat): Do not use CHECK_1.
32328         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32329         <bp-checks.h>.
32330         (__fxstatat64): Do not use CHECK_1.
32331         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32332         <bp-checks.h>.
32333         (__fxstat): Do not use CHECK_1.
32334         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32335         <bp-checks.h>.
32336         (__fxstatat): Do not use CHECK_1.
32337         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32338         <bp-checks.h>.
32339         (__getresgid): Do not use CHECK_1.
32340         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32341         <bp-checks.h>.
32342         (__getresuid): Do not use CHECK_1.
32343         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32344         <bp-checks.h>.
32345         (__lxstat): Do not use CHECK_1.
32346         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32347         <bp-checks.h>.
32348         (__old_msgctl): Do not use CHECK_1.
32349         (__new_msgctl): Likewise.
32350         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32351         <bp-checks.h>.
32352         (__new_setrlimit): Do not use CHECK_1.
32353         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32354         <bp-checks.h>.
32355         (__old_shmctl): Do not use CHECK_1.
32356         (__new_shmctl): Likewise.
32357         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32358         <bp-checks.h>.
32359         (__xstat): Do not use CHECK_1.
32360         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32361         (__lxstat): Do not use CHECK_1.
32362         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32363         <bp-checks.h>.
32364         (___lxstat64): Do not use CHECK_1.
32365         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32366         (__old_msgctl): Do not use CHECK_1.
32367         (__new_msgctl): Likewise.
32368         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32369         <bp-checks.h>.
32370         (__gettimeofday): Do not use CHECK_1.
32371         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32372         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32373         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32374         <bp-checks.h>.
32375         (__gettimeofday): Do not use CHECK_1.
32376         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32377         (__old_shmctl): Do not use CHECK_1_NULL_OK.
32378         (__new_shmctl): Do not use CHECK_1.
32379         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32380         <bp-checks.h>.
32381         (do_sigtimedwait): Do not use CHECK_1.
32382         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32383         <bp-checks.h>.
32384         (do_sigwaitinfo): Do not use CHECK_1.
32385         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32386         <bp-checks.h>.
32387         (msgctl): Do not use CHECK_1.
32388         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32389         <bp-checks.h>.
32390         (shmctl): Do not use CHECK_1.
32391         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32392         (ustat): Do not use CHECK_1.
32393         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32394         <bp-checks.h>.
32395         (__fxstat): Do not use CHECK_1.
32396         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32397         <bp-checks.h>.
32398         (__fxstatat): Do not use CHECK_1.
32399         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32400         <bp-checks.h>.
32401         (__lxstat): Do not use CHECK_1.
32402         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32403         <bp-checks.h>.
32404         (__xstat): Do not use CHECK_1.
32405         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32406         (__xstat): Do not use CHECK_1.
32407         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32408         (___xstat64): Do not use CHECK_1.
32410         [BZ #13550]
32411         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32412         definitions.
32413         (CHECK_BOUNDS_HIGH): Likewise.
32414         * string/strcpy.c: Do not include <bp-checks.h>.
32415         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32417 2013-02-07  Roland McGrath  <roland@hack.frob.com>
32419         * nscd/nscd-client.h (__nscd_drop_map_ref):
32420         Add __attribute__ ((unused)).
32421         * nis/nss-nisplus.h (niserr2nss): Likewise.
32423         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32424         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32426         * csu/libc-tls.c (init_static_tls, init_slotinfo):
32427         Remove inline keyword.
32428         * include/rounding-mode.h (round_away): Likewise.
32429         * libio/wfileops.c (adjust_wide_data): Likewise.
32430         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32431         (__m128i_strloadu_tolower): Likewise.
32432         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32433         (__m128i_strloadu_tolower): Likewise.
32434         * time/mktime.c (ydhms_diff): Likewise.
32435         * locale/elem-hash.h (elem_hash): Likewise.
32436         * locale/setlocale.c (setdata): Likewise.
32437         * posix/regex_internal.h (re_string_char_size_at): Likewise.
32438         (re_string_wchar_at): Likewise.
32439         (bitset_not, bitset_merge, bitset_mask): Likewise.
32440         [!(__GNUC__ > 3)] (inline): Remove macro.
32441         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32442         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32443         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32444         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32445         * string/memcmp.c (memcmp_bytes): Likewise.
32446         * locale/programs/locarchive.c (compute_hashval): Likewise.
32447         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32448         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32449         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32450         * nss/getent.c (print_rpc, print_protocols): Likewise.
32451         (print_passwd, print_group, print_aliases): Likewise.
32452         * nis/nss-nisplus.h (niserr2nss): Likewise.
32453         * nscd/connections.c (restart_p): Likewise.
32454         Change return type to bool.
32456 2013-02-05  Roland McGrath  <roland@hack.frob.com>
32458         * Makeconfig (all-Depend-files): Add existing
32459         $(sorted-subdirs:=/Depend) files.
32460         (all-subdirs): Remove nss.
32461         * sysdeps/unix/inet/Subdirs: Add it here instead.
32462         * hesiod/Depend: New file.
32464         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32465         instead of calling alloca.
32467         * io/lseek.c (__lseek): Rename to __libc_lseek.
32468         Define __lseek as an alias.
32470         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32472 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
32474         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32475         else clause and remove check for non-standard endianness.
32477 2013-02-04  David S. Miller  <davem@davemloft.net>
32479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32481 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
32483         [BZ #13550]
32484         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32485         (__ubp_memchr): Remove prototype.
32486         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32487         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32488         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32489         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32490         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32491         Remove alias.
32492         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32493         (__ubp_memchr): Likewise.
32494         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32495         (__ubp_memchr): Likewise.
32496         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32497         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32498         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32499         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32500         CHECK_STRING.
32501         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32502         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32503         (__getcwd): Do not use CHECK_STRING.
32504         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32505         <bp-checks.h>.
32506         (__real_chown): Do not use CHECK_STRING.
32507         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32508         <bp-checks.h>.
32509         (fchownat): Do not use CHECK_STRING.
32510         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32511         CHECK_STRING.
32512         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32513         <bp-checks.h>.
32514         (__lchown): Do not use CHECK_STRING.
32515         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32516         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32517         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32518         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32520         include <bp-checks.h>.
32521         (truncate64): Do not use CHECK_STRING.
32522         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32523         <bp-checks.h>.
32524         (__real_chown): Do not use CHECK_STRING.
32525         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32526         <bp-checks.h>.
32527         (__lchown): Do not use CHECK_STRING.
32528         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32529         <bp-checks.h>.
32530         (__chown): Do not use CHECK_STRING.
32531         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32532         <bp-checks.h>.
32533         (truncate64): Do not use CHECK_STRING.
32534         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32535         Likewise.
32536         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32537         (__xmknod): Do not use CHECK_STRING.
32538         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32539         <bp-checks.h>.
32540         (__xmknodat): Do not use CHECK_STRING.
32541         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32542         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32544 2013-02-04  Andreas Schwab  <schwab@suse.de>
32546         [BZ #14142]
32547         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32548         * include/netdb.h: Likewise for h_errno.
32549         * elf/tst-stackguard1.c: Include <tls.h>.
32551 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
32553         * elf/link.h (struct link_map): Extend the l_addr comment.
32554         * include/link.h (struct link_map): Likewise.
32556 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
32558         [BZ #13550]
32559         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32560         (BOUNDED_1): Remove macro.
32561         * debug/backtrace.c: Don't include <bp-checks.h>.
32562         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32563         (__backtrace): Likewise.
32564         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32565         <bp-checks.h>.
32566         (__backtrace): Don't use BOUNDED_1.
32567         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32568         <bp-checks.h>.
32569         (__backtrace): Don't use BOUNDED_1.
32570         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32571         (__backtrace): Don't use BOUNDED_1.
32572         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32573         (shmat): Don't use BOUNDED_N.
32575 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
32577         [BZ #13550]
32578         * sysdeps/generic/bp-start.h: Remove file.
32579         * csu/libc-start.c: Don't include <bp-start.h>.
32580         (LIBC_START_MAIN): Set up __environ directly instead of using
32581         INIT_ARGV_and_ENVIRON.
32582         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32583         <bp-start.h>.
32585         [BZ #13550]
32586         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32587         definitions.
32588         (CHECK_FCNTL): Likewise.
32589         (CHECK_N_PAGES): Likewise.
32591         [BZ #13550]
32592         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32593         definitions.
32594         (CHECK_SIGSET_NULL_OK): Likewise.
32595         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32596         <bp-checks.h>.
32597         (sigpending): Don't use CHECK_SIGSET.
32598         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32599         <bp-checks.h>.
32600         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32601         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32602         <bp-checks.h>.
32603         (do_sigsuspend): Don't use CHECK_SIGSET.
32604         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32605         use CHECK_SIGSET.
32606         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32607         (do_sigwait): Don't use CHECK_SIGSET.
32608         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32609         use CHECK_SIGSET.
32610         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32611         include <bp-checks.h>.
32612         (sigpending): Don't use CHECK_SIGSET.
32613         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32614         include <bp-checks.h>.
32615         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32616         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32617         <bp-checks.h>.
32618         (sigpending): Don't use CHECK_SIGSET.
32619         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32620         <bp-checks.h>.
32621         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32623         [BZ #13550]
32624         * sysdeps/generic/bp-semctl.h: Remove file.
32625         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32626         <bp-checks.h> and <bp-semctl.h>.
32627         (__old_semctl): Don't use CHECK_SEMCTL.
32628         (__new_semctl): Likewise.
32629         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32630         and <bp-semctl.h>.
32631         (__old_semctl): Don't use CHECK_SEMCTL.
32632         (__new_semctl): Likewise.
32633         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32634         <bp-checks.h> and <bp-semctl.h>.
32635         (__old_semctl): Don't use CHECK_SEMCTL.
32636         (__new_semctl): Likewise.
32637         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32638         <bp-checks.h> and <bp-semctl.h>.
32639         (semctl): Don't use CHECK_SEMCTL.
32641         [BZ #13550]
32642         * Makerules (elide-bp-thunks): Remove variable.
32643         (elide-routines.oS): Don't use $(elide-bp-thunks).
32644         (elide-routines.os): Likewise.
32645         (elide-routines.o): Likewise.
32646         (elide-routines.op): Likewise.
32647         (elide-routines.og): Likewise.
32648         (objects): Don't use $(bp-thunks).
32649         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32650         include.
32651         (common-generated): Do not add s-proto-bp.d.
32652         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32653         (int): Likewise.
32654         (typ): Likewise.
32655         Do not generate makefile rules for bounded-pointer thunks.
32656         * sysdeps/generic/bp-thunks.h: Remove file.
32657         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32658         * sysdeps/unix/s-proto-bp.S: Likewise.
32660         [BZ #15062]
32661         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32662         parts of result separately when argument is not close to line from
32663         -i to i and one part of argument is small.
32664         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32665         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32666         * math/libm-test.inc (cacos_test): Add more tests.
32667         (casin_test): Likewise.
32668         (casinh_test): Likewise.
32669         * sysdeps/i386/fpu/libm-test-ulps: Update.
32670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32672 2013-01-31  David S. Miller  <davem@davemloft.net>
32674         * po/de.po: Update from translation team.
32676 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
32678         * time/tzfile.c: Include stdint.h for SIZE_MAX.
32680 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
32682         * configure.in (_AC_PROG_CC_C89): New definition.
32683         * configure: Regenerate.
32685         * configure.in (AC_PROG_CPP): New definition.
32686         * configure: Regenerate.
32688 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32690         * debug/tst-backtrace.h: New file.
32691         * debug/tst-backtrace2.c: Include tst-backtrace.h.
32692         (ret): Remove variable.
32693         (x): Likewise.
32694         (FAIL): Remove macro.
32695         (NO_INLINE): Likewise.
32696         (fn1): Use match function instead of strstr.
32697         * debug/tst-backtrace3.c: Include tst-backtrace.h.
32698         (ret): Remove variable.
32699         (x): Likewise.
32700         (FAIL): Remove macro.
32701         (NO_INLINE): Likewise.
32702         (fn): Use match function instead of strstr.
32703         * debug/tst-backtrace4.c: Include tst-backtrace.h.
32704         (ret): Remove variable.
32705         (x): Likewise.
32706         (FAIL): Remove macro.
32707         (NO_INLINE): Likewise.
32708         (handle_signal): Use match function instead of strstr.
32709         * debug/tst-backtrace5.c: Include tst-backtrace.h.
32710         (ret): Remove variable.
32711         (x): Likewise.
32712         (FAIL): Remove macro.
32713         (NO_INLINE): Likewise.
32714         (handle_signal): Use match function instead of strstr.
32716 2013-01-23  Roland McGrath  <roland@hack.frob.com>
32718         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32720 2013-01-23  David S. Miller  <davem@davemloft.net>
32722         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32723         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32724         argument of CAS if possible.
32725         * sysdeps/sparc/sparc64/bits/atomic.h
32726         (__arch_compare_and_exchange_val_32_acq): Likewise.
32727         (__arch_compare_and_exchange_val_64_acq): Likewise.
32729 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
32731         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32732         * sysdeps/posix/ulimit.c: ... this.
32733         Include <limits.h>.
32734         * sysdeps/unix/bsd/ulimit.c: Remove file.
32736 2013-01-23  Adam Conrad  <adconrad@0c3.net>
32738         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32739         (LDFLAGS-tst-array5): Likewise.
32741 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32743         [BZ #15036]
32744         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32745         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32746         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32747         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32749 2013-01-21  David S. Miller  <davem@davemloft.net>
32751         * sysdeps/sparc/backtrace.c: New file.
32752         * sysdeps/sparc/sparc32/backtrace.h: New file.
32753         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32754         * sysdeps/sparc/sparc64/backtrace.h: New file.
32755         * sysdeps/sparc/sparc64/backtrace.c: Delete.
32756         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32757         -funwind-tables.
32759 2013-01-21  Andreas Schwab  <schwab@suse.de>
32761         [BZ #15020]
32762         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32763         closed its stdout.
32765 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
32767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32768         "mpa2.h".
32769         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32771 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
32772             Mark Mitchell  <mark@codesourcery.com>
32773             Tom de Vries  <tom@codesourcery.com>
32774             Paul Pluzhnikov  <ppluzhnikov@google.com>
32776         * debug/tst-backtrace2.c: New file.
32777         * debug/tst-backtrace3.c: Likewise.
32778         * debug/tst-backtrace4.c: Likewise.
32779         * debug/tst-backtrace5.c: Likewise.
32780         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32781         (CFLAGS-tst-backtrace3.c): Likewise.
32782         (CFLAGS-tst-backtrace4.c): Likewise.
32783         (CFLAGS-tst-backtrace5.c): Likewise.
32784         (LDFLAGS-tst-backtrace2): Likewise.
32785         (LDFLAGS-tst-backtrace3): Likewise.
32786         (LDFLAGS-tst-backtrace4): Likewise.
32787         (LDFLAGS-tst-backtrace5): Likewise.
32788         (tests): Add new tests tst-backtrace2, tst-backtrace3,
32789         tst-backtrace4 and tst-backtrace5.
32791 2013-01-18  Anton Blanchard  <anton@samba.org>
32792             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32794         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32795         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32796         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32797         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32799         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32800         "+r" and remove output regs list as redundant.  Add explicit inline
32801         asm to specify register of return val to work around compiler codegen
32802         bug.  Remove (int) cast on return value.  Add return type parameter to
32803         use in macro so that this macro does not truncate return value for
32804         64-bit values.
32805         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32806         pass to INTERNAL_VSYSCALL_NCS.
32807         (INLINE_VSYSCALL): Add 'long int' as return type to
32808         INTERNAL_VSYSCALL_NCS macro invocation.
32809         (INTERNAL_VSYSCALL): Add 'long int' as return type to
32810         INTERNAL_VSYSCALL_NCS macro invocation.
32811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32813 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32815         [BZ #14496]
32816         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32817         Fix application of SIMD FP exception mask.
32819         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32820         mp_no from a power of two.
32821         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32822         __mpexp_twomm1.  Use __pow_mp.
32824         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32825         multiplication.
32827 2013-01-17  David S. Miller  <davem@davemloft.net>
32829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32831 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32833         [BZ #15023]
32834         * include/complex.h: Condition contents on [!_COMPLEX_H].
32835         (__kernel_casinhf): New prototype.
32836         (__kernel_casinh): Likewise.
32837         (__kernel_casinhl): Likewise.
32838         * math/Makefile (libm_calls): Add k_casinh.
32839         * math/k_casinh.c: New file.
32840         * math/k_casinhf.c: Likewise.
32841         * math/k_casinhl.c: Likewise.
32842         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32843         finite nonzero arguments.
32844         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32845         finite nonzero arguments.
32846         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32847         finite nonzero arguments.
32848         * math/s_casinh.c: Do not include <float.h>.
32849         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32850         * math/s_casinhf.c: Do not include <float.h>.
32851         (__casinhf): Move code for finite nonzero arguments to
32852         k_casinhf.c.
32853         * math/s_casinhl.c: Do not include <float.h>.
32854         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32855         redefine.
32856         (__casinhl): Move code for finite nonzero arguments to
32857         k_casinhl.c.
32858         * math/libm-test.inc (cacos_test): Add more tests.
32859         * sysdeps/i386/fpu/libm-test-ulps: Update.
32860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32862 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
32864         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32865         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32866         [!HAVE_MREMAP]: Remove [defined linux] case.
32867         * malloc/arena.c: Do not include <malloc-sysdep.h>.
32869 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32871         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32873 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
32875         * elf/elf.h (R_386_SIZE32): New relocation.
32876         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32877         R_386_SIZE32.
32878         (elf_machine_rela): Likewise.
32879         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32880         R_X86_64_SIZE64 and R_X86_64_SIZE32.
32882 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32884         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32885         (FP_FAST_FMA): Do not define.
32886         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32887         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32888         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32889         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32890         !_SOFT_FLOAT]: Likewise.
32891         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32892         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32893         value.
32894         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32895         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32896         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32897         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32898         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32899         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32900         file.
32902 2013-01-16  Andreas Schwab  <schwab@suse.de>
32904         [BZ #14327]
32905         * include/stdlib.h (__mktemp): Add declaration.
32906         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32907         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32909 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32911         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32912         definitions.
32913         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32914         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32915         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32916         definitions here.
32917         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32918         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32919         definitions.
32920         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32921         and ONE.
32922         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32923         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32924         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32925         definitions.
32926         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32927         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32928         definitions.
32929         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32931         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32933 2013-01-15  David S. Miller  <davem@davemloft.net>
32935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32936         trunc{,f} to libm-sysdep_routes.
32937         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32939         file.
32940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32942         file.
32943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32944         file.
32945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32947         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32948         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32949         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32950         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32951         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32952         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32955         nearbyint{,f} to libm-sysdep_routes.
32956         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32958         New file.
32959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32960         file.
32961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32962         New file.
32963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32964         file.
32965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32967         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32968         file.
32969         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32970         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32971         file.
32972         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32973         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32974         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32976         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32977         libc_feholdexcept and libc_fesetenv.
32979 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32981         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32983 2013-01-14  David S. Miller  <davem@davemloft.net>
32985         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32986         (SPARC_ASM_VIS2_IFUNC): Likewise.
32987         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32989         use of 'siam' instruction.
32990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32991         Likewise.
32992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32993         Likewise.
32994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32995         Likewise.
32996         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32997         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32998         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32999         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33001         file.
33002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33003         file.
33004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33005         file.
33006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33007         file.
33008         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33009         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33010         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33011         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33013         new VIS2 routines.
33014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33017         Likewise.
33018         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33019         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33020         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33021         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33023         routines to libm-sysdep_routines.
33024         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33027         fdim/fdimf to libm-sysdep_routines.
33028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33029         file.
33030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33032         file.
33033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33036         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33037         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33038         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33039         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33041 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33043         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33044         to optimize copies.
33046         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33048         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33051         local variable MPTWO.
33052         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33053         Likewise.
33055 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33057         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33058         GLOB_NOESCAPE.
33060 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33062         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33064 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33066         * manual/pattern.texi (glob_t): Document gl_flags.
33067         (glob64_t): Likewise.
33069 2013-01-11  David S. Miller  <davem@davemloft.net>
33071         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33072         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33073         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
33074         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33075         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33076         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33077         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33078         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33079         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33080         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33081         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33082         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33083         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33085         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33086         sparc V9 rather than using V8 code.
33087         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33088         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33090         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33091         Move to...
33092         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33093         Here.
33095 2013-01-11  Roland McGrath  <roland@hack.frob.com>
33097         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33098         not in the main loop.
33099         * configure: Regenerated.
33101 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
33103         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33104         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33105         to just #else.
33106         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
33107         [!__GLIBC_HAVE_LONG_LONG] case.
33108         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33109         condition to just #else.
33110         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33111         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33112         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33113         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33114         unconditional.
33115         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33116         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33117         #elif condition to just #else.
33118         * sysdeps/unix/sysv/linux/sys/sysmacros.h
33119         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33120         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33121         #elif condition to just #else.
33123 2013-01-11  Steve Ellcey  <sellcey@mips.com>
33125         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33126         (EF_MIPS_ARCH_64): Fix value.
33127         (EF_MIPS_ARCH_32R2): New.
33128         (EF_MIPS_ARCH_64R2): New.
33130 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
33132         * Makeconfig (+link-pie-before-libc): New.
33133         (+link-pie-after-libc): Likewise.
33134         (+link-pie-tests): Likewise.
33135         (+link-pie): Rewritten.
33136         (link-before-libc): Remove $(config-LDFLAGS).
33137         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33138         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33139         (config-LDFLAGS): Renamed to ...
33140         (rtld-LDFLAGS): This.
33141         (rtld-tests-LDFLAGS): New macro.
33142         (link-libc-rpath-link): Likewise.
33143         (link-libc-tests-rpath-link): Likewise.
33144         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33145         (link-libc): Prepand $(link-libc-rpath-link).
33146         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33147         (test-program-prefix): New macro.
33148         (test-via-rtld-prefix): Likewise.
33149         (test-program-cmd): Likewise.
33150         (host-test-program-cmd): Likewise.
33151         * Makefile ($(common-objpfx)testrun.sh): Replace
33152         $(run-program-prefix) with $(test-program-prefix).
33153         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33154         $(rtld-LDFLAGS).
33155         ($(common-objpfx)shlib.lds): Likewise.
33156         (build-module-helper): Likewise.
33157         ($(common-objpfx)format.lds): Likewise.
33158         * Rules (binaries-pie-tests): New.
33159         (binaries-pie-notests): Likewise.
33160         (binaries-pie): Rewritten.
33161         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33162         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33163         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33164         (make-test-out): Replace $(host-built-program-cmd) with
33165         $(host-test-program-cmd).
33166         * config.make.in (build-hardcoded-path-in-tests): New variable.
33167         * configure.in (--enable-hardcoded-path-in-tests): New configure
33168         option.
33169         (hardcoded_path_in_tests): New AC_SUBST.
33170         * configure: Regenerated.
33171         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33172         $(built-program-cmd) with $(test-program-cmd).
33173         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33174         (test_program_cmd): This.
33175         * elf/Makefile ($(objpfx)order.out): Run test with
33176         $(test-program-prefix).
33177         ($(objpfx)order2.out): Likewise.
33178         ($(objpfx)tst-initorder.out): Likewise.
33179         ($(objpfx)tst-initorder2.out): Likewise.
33180         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33181         $(test-program-cmd).
33182         ($(objpfx)tst-array1-static.out): Likewise.
33183         ($(objpfx)tst-array2.out): Likewise.
33184         ($(objpfx)tst-array3.out): Likewise.
33185         ($(objpfx)tst-array4.out): Likewise.
33186         ($(objpfx)tst-array5.out): Likewise.
33187         ($(objpfx)tst-array5-static.out): Likewise.
33188         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33189         $(test-program-cmd).
33190         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33191         $(run-program-prefix) with $(test-program-prefix).
33192         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33193         (test_program_prefix): This.
33194         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33195         $(run-program-prefix) with $(test-program-prefix).
33196         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33197         (test_program_prefix): This.
33198         * iconvdata/tst-tables.sh: Likewise.
33199         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33200         $(run-program-prefix) with $(test-program-prefix).
33201         ($(objpfx)tst-translit.out): Likewise.
33202         ($(objpfx)tst-gettext2.out): Likewise.
33203         ($(objpfx)tst-gettext4.out): Likewise.
33204         ($(objpfx)tst-gettext6.out): Likewise.
33205         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33206         (test_program_prefix): This.
33207         * intl/tst-gettext2.sh: Likewise.
33208         * intl/tst-gettext4.sh  Likewise.
33209         * intl/tst-gettext6.sh: Likewise.
33210         * intl/tst-translit.sh: Likewise.
33211         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33212         with $(test-program-cmd).
33213         * libio/Makefile ($(objpfx)test-freopen.out): Replace
33214         $(run-program-prefix) with $(test-program-prefix).
33215         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33216         (test_program_prefix): This.
33217         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33218         $(run-program-prefix) with $(test-program-prefix).
33219         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33220         (test_program_prefix): This.
33221         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33222         * posix/Makefile ($(objpfx)globtest.out): Replace
33223         $(run-via-rtld-prefix) and $(test-wrapper) with
33224         $(test-program-prefix) and $(test-via-rtld-prefix).
33225         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33226         $(test-program-prefix).
33227         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33228         $(host-test-program-cmd).
33229         (tst-spawn-ARGS): Likewise.
33230         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33231         $(test-program-prefix).
33232         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33233         (test_via_rtld_prefix): This.
33234         (test_wrapper): Renamed to ...
33235         (test_program_prefix): This.
33236         (run_program_prefix): Replaced by test_program_prefix.
33237         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33238         (test_program_prefix): This.
33239         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33240         with $(host-test-program-cmd).
33241         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33242         $(run-program-prefix) with $(test-program-prefix).
33243         ($(objpfx)tst-printf.out): Likewise.
33244         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33245         $(test-program-cmd).
33246         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33247         (test_program_prefix): This.
33248         * stdio-common/tst-unbputc.sh: Likewise.
33249         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33250         $(run-program-prefix) with $(test-program-prefix).
33251         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33252         (test_program_prefix): This.
33253         * string/Makefile ($(objpfx)tst-svc.out):  Replace
33254         $(built-program-cmd) with $(test-program-cmd).
33256 2013-01-11  Andreas Jaeger  <aj@suse.de>
33258         [BZ #15003]
33259         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33260         value. Sync with Linux 3.7.
33262 2013-01-10  David S. Miller  <davem@davemloft.net>
33264         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33265         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33266         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33268 2013-01-10  Roland McGrath  <roland@hack.frob.com>
33270         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33271         never set.
33272         * configure: Regenerated.
33274 2013-01-10  David S. Miller  <davem@davemloft.net>
33276         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33277         sparc V9 rather than using V8 code.
33278         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33279         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33281 2013-01-10  Roland McGrath  <roland@hack.frob.com>
33283         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33284         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33285         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33286         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33287         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33288         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33289         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33290         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33291         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33292         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33293         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33294         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33295         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33296         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33297         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33298         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33299         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33300         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33301         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33302         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33303         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33304         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33305         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33306         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33307         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33308         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33309         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33311 2013-01-10  David S. Miller  <davem@davemloft.net>
33313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33315 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
33317         * posix/Makefile (tests-static): New variable.
33318         (tests): Add $(tests-static).
33319         (tst-exec-static-ARGS): New variable.
33320         (tst-spawn-static-ARGS): Likewise.
33321         * posix/tst-exec-static.c: New file.
33322         * posix/tst-spawn-static.c: Likewise.
33323         * posix/tst-exec.c: Support run directly.
33324         * posix/tst-spawn.c: Likewise.
33326 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
33328         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33329         long.
33330         * math/bits/mathcalls.h (llrint): Likewise.
33331         (llround): Likewise.
33332         * stdlib/stdlib.h (struct drand48_data): Likewise.
33333         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33334         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33335         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33336         Likewise.
33337         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33338         Likewise.
33339         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33340         (elf_greg_t): Likewise.
33341         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33342         (__jmp_buf): Likewise.
33343         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33344         definitions.
33345         (llrint): Likewise, for all definitions.
33346         (llrintl): Likewise.
33348         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33349         Remove [__GNUC__] condition.
33350         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33351         condition to just [__USE_ISOC99].
33352         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33354 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
33356         [BZ #14200]
33357         * sysdeps/unix/sysv/linux/x86/bits/environments.h
33358         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33359         defined.
33360         (_POSIX_V6_ILP32_OFF32): Likewise.
33361         (_XBS5_ILP32_OFF32): Likewise.
33362         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33363         (__ILP32_OFFBIG_LDFLAGS): Likewise.
33365 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33367         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33369         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33370         doubles __mpexp_twomm1.  Adjust usage.
33371         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33372         Remove.
33374 2013-01-10  Andreas Schwab  <schwab@suse.de>
33376         [BZ #14964]
33377         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33378         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33380 2013-01-09  David S. Miller  <davem@davemloft.net>
33382         [BZ #15003]
33383         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33384         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33385         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33386         (TCP_FASTOPEN): Define.
33387         (tcp_repair_opt): New structure.
33388         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33389         enum values.
33390         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33391         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33392         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33393         (tcp_cookie_transactions): New structure.
33395 2013-01-09  Anton Blanchard  <anton@samba.org>
33397         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33398         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33399         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33400         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33402 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
33404         * include/features.h (__USE_ANSI): Remove.
33406 2013-01-09  Roland McGrath  <roland@hack.frob.com>
33408         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33410         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33412 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
33414         * sysdeps/s390/fpu/libm-test-ulps: Update.
33416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33418         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33419         (__acr): Likewise.
33420         (__cpy): Likewise.
33421         (norm): Likewise.
33422         (denorm): Likewise.
33423         (__mp_dbl): Likewise.
33424         (__dbl_mp): Likewise.
33425         (add_magnitudes): Likewise.
33426         (sub_magnitudes): Likewise.
33427         (__add): Likewise.
33428         (__sub): Likewise.
33429         (__mul): Likewise.
33430         (__inv): Likewise.
33431         (__dvd): Likewise.
33432         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33433         (__acr): Likewise.
33434         (__cpy): Likewise.
33435         (norm): Likewise.
33436         (denorm): Likewise.
33437         (__mp_dbl): Likewise.
33438         (__dbl_mp): Likewise.
33439         (add_magnitudes): Likewise.
33440         (sub_magnitudes): Likewise.
33441         (__add): Likewise.
33442         (__sub): Likewise.
33443         (__mul): Likewise.
33444         (__inv): Likewise.
33445         (__dvd): Likewise.
33446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33447         (__acr): Likewise.
33448         (__cpy): Likewise.
33449         (norm): Likewise.
33450         (denorm): Likewise.
33451         (__mp_dbl): Likewise.
33452         (__dbl_mp): Likewise.
33453         (add_magnitudes): Likewise.
33454         (sub_magnitudes): Likewise.
33455         (__add): Likewise.
33456         (__sub): Likewise.
33457         (__mul): Likewise.
33458         (__inv): Likewise.
33459         (__dvd): Likewise.
33461 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
33463         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33464         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33465         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33466         2 && __USE_EXTERN_INLINES]: Likewise.
33468 2013-01-08  Andreas Jaeger  <aj@suse.de>
33470         [BZ# 14985]
33471         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33472         Remove.
33473         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33474         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33476 2013-01-07  Anton Blanchard  <anton@samba.org>
33478         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33479         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33480         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33481         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33482         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33483         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33484         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33485         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33487         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33488         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33489         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33490         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33491         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33492         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33493         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33494         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33495         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33496         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33497         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33498         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33499         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33500         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33501         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33502         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33503         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33504         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33505         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33506         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33507         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33508         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33509         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33510         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33511         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33512         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33513         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33514         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33515         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33516         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33517         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33518         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33519         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33520         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33522 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
33524         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33525         (__MALLOC_PMT): Likewise.
33526         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33527         [__GNUC__], only on [_LIBC].
33528         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33529         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33530         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33531         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33532         forward declaration.
33533         (realloc_hook_ini): Likewise.
33534         (memalign_hook_ini): Likewise.
33535         (__libc_memalign): Do not use __MALLOC_PMT in variable
33536         declaration.
33537         (__libc_valloc): Likewise.
33538         (__libc_pvalloc): Likewise.
33539         (__libc_calloc): Likewise.
33540         (__posix_memalign): Likewise.
33542         [BZ #14996]
33543         * math/s_casinh.c: Include <float.h>.
33544         (__casinh): Do not do computation with squaring and square root
33545         for large arguments.
33546         * math/s_casinhf.c: Include <float.h>.
33547         (__casinhf): Do not do computation with squaring and square root
33548         for large arguments.
33549         * math/s_casinhl.c: Include <float.h>.
33550         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33551         (__casinhl): Do not do computation with squaring and square root
33552         for large arguments.
33553         * math/libm-test.inc (casin_test): Add more tests.
33554         (casinh_test): Likewise.
33555         * sysdeps/i386/fpu/libm-test-ulps: Update.
33556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33558 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
33560         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33561         (__x86_64_raw_data_cache_size): Likewise.
33562         (__x86_64_data_cache_size_half): Likewise.
33563         (__x86_64_raw_data_cache_size_half): Likewise.
33564         (__x86_64_shared_cache_size): Likewise.
33565         (__x86_64_raw_shared_cache_size): Likewise.
33566         (__x86_64_shared_cache_size_half): Likewise.
33567         (__x86_64_raw_shared_cache_size_half): Likewise.
33568         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33569         to ...
33570         (__x86_data_cache_size): This.
33571         (__x86_64_raw_data_cache_size): Renamed to ...
33572         (__x86_raw_data_cache_size): This.
33573         (__x86_64_data_cache_size_half): Renamed to ...
33574         (__x86_data_cache_size_half): This.
33575         (__x86_64_raw_data_cache_size_half): Renamed to ...
33576         (__x86_raw_data_cache_size_half): This.
33577         (__x86_64_shared_cache_size): Renamed to ...
33578         (__x86_shared_cache_size): This.
33579         (__x86_64_raw_shared_cache_size): Renamed to ...
33580         (__x86_raw_shared_cache_size): This.
33581         (__x86_64_shared_cache_size_half): Renamed to ...
33582         (__x86_shared_cache_size_half): This.
33583         (__x86_64_raw_shared_cache_size_half): Renamed to ...
33584         (__x86_raw_shared_cache_size_half): This.
33585         * sysdeps/x86_64/memcpy.S: Updated.
33586         * sysdeps/x86_64/memset.S: Likewise.
33587         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33588         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33589         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33591 2013-01-04  David S. Miller  <davem@davemloft.net>
33593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33595 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
33597         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33598         1 to avoid redefinition warning.
33599         (__USE_GNU): Don't define.
33600         (init_signaling_nan): Protoize.
33602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33604 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33606         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33608         (__cpymn): Likewise.
33609         (norm): Remove commented code.
33610         (denorm): Likewise.
33611         (__mp_dbl): Likewise.
33612         (__inv): Likewise.
33613         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33614         (__cpymn): Likewise.
33615         (norm): Remove commented code.
33616         (denorm): Likewise.
33617         (__mp_dbl): Likewise.
33618         (__inv): Likewise.
33620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33621         mp_no value for 1.0 and 2.0.
33622         (norm): Use RADIXI instead of radixi.d.
33623         (denorm): Likewise.
33624         (__mul): Use 0.0 instead of zero.d.
33625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33626         mp_no value for 1.0 and 2.0.
33627         (norm): Use RADIXI instead of radixi.d.
33628         (denorm): Likewise.
33629         (__mul): Use 0.0 instead of zero.d.
33631 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
33633         [BZ #14994]
33634         * math/s_casinh.c (__casinh): Reduce finite argument to first
33635         quadrant then set signs of results at the end.
33636         * math/s_casinhf.c (__casinhf): Likewise.
33637         * math/s_casinhl.c (__casinhl): Likewise.
33638         * math/libm-test.inc (casin_test): Add more tests.
33639         (casinh_test): Likewise.
33640         * sysdeps/i386/fpu/libm-test-ulps: Update.
33641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33643 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33645         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33647         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33649         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33650         declarations.
33651         (denorm): Likewise.
33652         (__mp_dbl): Likewise.
33653         (__inv): Likewise.
33655         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33656         and adjust the header comment.
33658         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33659         variable name from declaration.
33661 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
33663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33664         Initialize COMMON_CPUID_INDEX_7 element.
33665         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33666         (CPUID_RTM): Likewise.
33667         (HAS_RTM): Likewise.
33668         (COMMON_CPUID_INDEX_7): New enum.
33670 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
33672         [BZ #14981]
33673         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33674         size is zero, record memory as freed.
33676 2013-01-03  Andreas Jaeger  <aj@suse.de>
33678         * po/ia.po: Add new Interlingua translation.
33680 2012-01-03  Allan McRae  <allan@archlinux.org>
33682         * locale/programs/localedef.c: Fix description of '--posix' flag.
33684 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
33686         * NEWS: Update dates in second copyright notice.
33687         * README: Update copyright dates in example.
33688         * manual/libc.texinfo: Update copyright dates.
33689         * scripts/test-installation.pl: Update copyright date in --version
33690         output.
33692         * hurd/ctty-input.c: Fix copyright notice formatting.
33693         * hurd/ctty-output.c: Likewise.
33694         * hurd/dtable.c: Likewise.
33695         * hurd/hurd-raise.c: Likewise.
33696         * hurd/hurdprio.c: Likewise.
33697         * hurd/msgportdemux.c: Likewise.
33698         * misc/sys/file.h: Likewise.
33699         * misc/sys/ioctl.h: Likewise.
33700         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33701         * sysdeps/mach/hurd/chdir.c: Likewise.
33702         * sysdeps/mach/hurd/fchdir.c: Likewise.
33703         * sysdeps/mach/hurd/rename.c: Likewise.
33704         * sysdeps/mach/hurd/rmdir.c: Likewise.
33705         * sysdeps/mach/hurd/seekdir.c: Likewise.
33706         * sysdeps/mach/hurd/setsid.c: Likewise.
33707         * sysdeps/posix/wait3.c: Likewise.
33709         * All files with FSF copyright notices: Update copyright dates
33710         using scripts/update-copyrights.
33711         * intl/plural.c: Regenerated.
33712         * locale/programs/charmap-kw.h: Likewise.
33713         * locale/programs/locfile-kw.h: Likewise.
33715 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33717         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33718         four values.
33720         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33721         calculation loop and add branch prediction.
33723         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33724         check access beyond bounds of m1np.
33726         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33727         MPTWO.
33728         (__inv): Remove local variable MPTWO to use the global
33729         constant.
33730         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33731         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33732         variable MPTWO.
33733         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33734         MP3HALFS static const.
33736 2013-01-01  David S. Miller  <davem@davemloft.net>
33738         * po/ca.po: Update from translation team.
33740 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
33742         * scripts/update-copyrights: New file.
33743         * Makeconfig: Reformat copyright notice.
33744         * ctype/ctype.h: Likewise.
33745         * debug/swprintf_chk.c: Likewise.
33746         * elf/dl-cache.c: Likewise.
33747         * elf/dl-debug.c: Likewise.
33748         * elf/dl-object.c: Likewise.
33749         * grp/initgroups.c: Likewise.
33750         * hurd/Makefile: Likewise.
33751         * hurd/hurd/signal.h: Likewise.
33752         * hurd/hurdfault.c: Likewise.
33753         * hurd/hurdioctl.c: Likewise.
33754         * hurd/hurdlookup.c: Likewise.
33755         * hurd/intr-msg.c: Likewise.
33756         * iconv/gconv_open.c: Likewise.
33757         * libio/swprintf.c: Likewise.
33758         * locale/lc-ctype.c: Likewise.
33759         * locale/nl_langinfo.c: Likewise.
33760         * mach/Machrules: Likewise.
33761         * mach/Makefile: Likewise.
33762         * malloc/obstack.h: Likewise.
33763         * manual/Makefile: Likewise.
33764         * manual/tsort.awk: Likewise.
33765         * misc/bits/stab.def: Likewise.
33766         * nis/nis_print_group_entry.c: Likewise.
33767         * nis/nis_table.c: Likewise.
33768         * nis/nss_compat/compat-pwd.c: Likewise.
33769         * nis/nss_compat/compat-spwd.c: Likewise.
33770         * po/Makefile: Likewise.
33771         * posix/fnmatch.c: Likewise.
33772         * posix/regex.h: Likewise.
33773         * resolv/Makefile: Likewise.
33774         * resolv/nss_dns/dns-network.c: Likewise.
33775         * resolv/res_hconf.c: Likewise.
33776         * scripts/gen-sorted.awk: Likewise.
33777         * soft-fp/soft-fp.h: Likewise.
33778         * stdio-common/printf.h: Likewise.
33779         * stdlib/monetary.h: Likewise.
33780         * stdlib/random.c: Likewise.
33781         * stdlib/random_r.c: Likewise.
33782         * sysdeps/generic/Makefile: Likewise.
33783         * sysdeps/gnu/Makefile: Likewise.
33784         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33785         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33786         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33787         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33788         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33789         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33790         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33791         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33792         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33793         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33794         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33795         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33796         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33797         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33798         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33799         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33800         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33801         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33802         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33803         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33804         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33805         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33806         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33807         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33808         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33809         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33810         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33811         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33812         * sysdeps/mach/hurd/errnos.awk: Likewise.
33813         * sysdeps/mach/hurd/fork.c: Likewise.
33814         * sysdeps/mach/hurd/getcwd.c: Likewise.
33815         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33816         * sysdeps/mach/hurd/mmap.c: Likewise.
33817         * sysdeps/mach/hurd/utimes.c: Likewise.
33818         * sysdeps/mach/hurd/xmknod.c: Likewise.
33819         * sysdeps/posix/profil.c: Likewise.
33820         * sysdeps/posix/readdir_r.c: Likewise.
33821         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33822         * sysdeps/powerpc/bits/setjmp.h: Likewise.
33823         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33824         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33826         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33827         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33828         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33829         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33830         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33831         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33832         * sysdeps/pthread/lio_listio.c: Likewise.
33833         * sysdeps/sparc/dl-procinfo.h: Likewise.
33834         * sysdeps/unix/i386/sysdep.S: Likewise.
33835         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33836         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33837         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33838         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33840         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33841         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33842         * sysdeps/unix/sysv/linux/speed.c: Likewise.
33843         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33844         * sysdeps/wordsize-32/divdi3.c: Likewise.
33845         * time/sys/time.h: Likewise.
33846         * wcsmbs/Makefile: Likewise.
33848 2013-01-01  David S. Miller  <davem@davemloft.net>
33850         * po/fr.po: Update from translation team.
33852         * catgets/gencat.c: Update copyright year.
33853         * csu/version.c: Likewise.
33854         * debug/catchsegv.sh: Likewise.
33855         * debug/pcprofiledump.c: Likewise.
33856         * debug/xtrace.sh: Likewise.
33857         * elf/ldconfig.c: Likewise.
33858         * elf/ldd.bash.in: Likewise.
33859         * elf/pldd.c: Likewise.
33860         * elf/sotruss.ksh: Likewise.
33861         * elf/sprof.c: Likewise.
33862         * iconv/iconv_prog.c: Likewise.
33863         * iconv/iconvconfig.c: Likewise.
33864         * locale/programs/locale.c: Likewise.
33865         * locale/programs/localedef.c: Likewise.
33866         * login/programs/pt_chown.c: Likewise.
33867         * malloc/memusage.sh: Likewise.
33868         * malloc/memusagestat.c: Likewise.
33869         * malloc/mtrace.pl: Likewise.
33870         * nscd/nscd.c: Likewise.
33871         * nss/getent.c: Likewise.
33872         * nss/makedb.c: Likewise.
33873         * posix/getconf.c: Likewise.
33875 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33877         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33878         numbers.
33880 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
33882         * math/bits/mathcalls.h (modf): Use __nonnull.
33884 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33886         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33887         (split): Use macro CN instead of the bare value.
33888         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33889         could be used.
33890         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33891         instead of the bare value.
33892         (power1): Likewise.
33894 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33896         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33897         __ATAN_TWOM.
33898         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33900         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33901         their values.
33902         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33903         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33904         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33905         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33907 2012-12-28  Andreas Jaeger  <aj@suse.de>
33909         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
33910         values are from Linux 3.7.
33912         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33913         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
33915 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33917         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33918         TRUE case.
33920         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33921         (norm): Likewise.
33922         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33923         variables with preprocessor constants.
33924         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33925         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33926         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33928 2012-12-27  Bruno Haible  <bruno@clisp.org>
33930         [BZ #14317]
33931         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33932         only if needed.
33934 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33936         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33937         and use variable directly.
33938         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33940         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33941         MPONE.
33942         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33943         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33944         variable MPONE.
33945         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33946         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33947         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33948         include directive.  Remove local variable MPONE.
33949         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33950         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33951         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33953 2012-12-25  David S. Miller  <davem@davemloft.net>
33955         * version.h (RELEASE): Set to "development".
33956         (VERSION): Set to "2.17.90".
33957         * NEWS: Add 2.18 section.
33959 2012-12-21  David S. Miller  <davem@davemloft.net>
33961         * po/hr.po: Update from translation team.
33963 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33965         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33967 2012-12-19  Steve Ellcey  <sellcey@mips.com>
33969         * NEWS:  Mention new memcpy for MIPS.
33971 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33973         * manual/contrib.texi (Contributors): Spelling correction.
33975 2012-12-15  David S. Miller  <davem@davemloft.net>
33977         * po/ru.po: Update from translation team.
33979 2012-12-13  David S. Miller  <davem@davemloft.net>
33981         * NEWS: Mention IFUNC testsuite enhancements.
33983         * po/pl.po: Update from translation team.
33984         * po/bg.po: Likewise.
33986         * manual/contrib.texi (Contributors): Update entries for Hongjiu
33987         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
33989 2012-12-11  David S. Miller  <davem@davemloft.net>
33991         * po/sv.po: Update from translation team.
33993         * po/vi.po: Update from translation team.
33995         * po/cs.po: Update from translation team.
33997         * po/de.po: Update from translation team.
33998         * po/eo.po: Likewise.
33999         * po/nl.po: Likewise.
34001 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34003         [BZ #14246]
34004         * manual/argp.texi (Argp Helper Functions): Move node to follow
34005         Argp Parsing State.
34007         [BZ #14872]
34008         * manual/conf.texi (Limits on File System Capacity): Mention if
34009         terminating null is included in the max size.
34011 2012-12-10  Andreas Jaeger  <aj@suse.de>
34013         * po/cs.po: Update from translation team.
34015 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34017         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34018         void pointer and cast to uintptr_t.
34019         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34020         path.
34021         * sysdeps/s390/s390-64/memcpy.S: Likewise.
34022         * sysdeps/s390/s390-64/memset.S: Likewise.
34024 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
34026         [BZ #14833]
34027         * menual/message.texi (Message Translation): Fix typos.
34028         (Helper programs for gettext): Likewise.
34030 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
34032         [BZ #14898]
34033         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34034         Change to -1.
34036 2012-12-07  David S. Miller  <davem@davemloft.net>
34038         * po/libc.pot: Update.
34040 2012-12-07  Richard Henderson  <rth@redhat.com>
34042         [BZ #10114]
34043         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34044         normal/normal case to before the switch.
34045         (_FP_DIV): Likewise.
34047 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
34048             Mike Frysinger  <vapier@gentoo.org>
34050         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34051         check for __NR_fadvise64_64.
34053 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
34055         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34056         0, not just to plain "0" as a statement.
34057         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34058         with cw.
34060 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
34062         * NEWS: Use sourceware.org in Bugzilla URL.
34064 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34067         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34069         * stdio-common/tst-put-error.c (do_test): Add newline to the
34070         padded test to ensure flush.
34072 2012-12-05  Jeff Law  <law@redhat.com>
34074         * sunrpc/etc.rpc (fedfs_admin): Add entry.
34076 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
34078         * README: Don't refer to ports add-on as distributed separately.
34079         Mention AArch64 in list of systems supported in the ports add-on.
34081         * LICENSES: Add more non-FSF copyright and license notices.
34083         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34084         ((unused)).
34086         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34088         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34089         10000 as width of padded output.
34091 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34093         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34095         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34096         variable LX with __attribute__ ((unused)).
34097         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34098         Likewise.
34099         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34100         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34101         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34102         with __attribute__ ((unused)).
34104 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
34106         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34108 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34110         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34111         (CFLAGS-nldbl-acos.c): New variable.
34112         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34113         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34114         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34115         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34116         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34117         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34118         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34119         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34120         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34121         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34122         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34123         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34124         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34125         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34126         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34127         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34128         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34129         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34130         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34131         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34132         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34133         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34134         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34135         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34136         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34137         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34138         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34139         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34140         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34141         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34142         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34143         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34144         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34145         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34146         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34147         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34148         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34149         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34150         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34151         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34152         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34153         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34154         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34155         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34156         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34157         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34158         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34159         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34160         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34161         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34162         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34163         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34164         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34165         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34166         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34167         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34168         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34169         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34170         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34171         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34172         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34173         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34174         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34175         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34176         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34177         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34178         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34179         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34180         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34181         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34182         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34183         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34184         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34185         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34186         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34187         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34188         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34189         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34190         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34191         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34192         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34193         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34194         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34195         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34196         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34197         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34198         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34199         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34200         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34201         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34202         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34203         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34204         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34205         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34206         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34207         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34208         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34211         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34213         [BZ #14914]
34214         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34215         whole low double instead of just low 47 bits when splitting values
34216         into two parts.
34218 2012-12-03  Allan McRae  <allan@archlinux.org>
34220         * manual/stdio.texi (Predefined Printf Handlers): Remove
34221         @hsep and @vsep usage.
34223 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
34225         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34226         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34228 2012-12-03  Jeff Law  <law@redhat.com>
34230         * time/sys/time.h (settimeofday): Do not mark TV argument
34231         as __nonnull.
34233 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
34235         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34236         when currently writing and seek to current position when not.
34237         * libio/Makefile (tests): Remove bug-fclose1.
34238         * libio/bug-fclose1.c: Delete.
34240 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
34242         * manual/arith.texi (feenableexcept): Fix typo.
34243         (fedisableexcept): Likewise.
34245 2012-11-30  Roland McGrath  <roland@hack.frob.com>
34247         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34248         second, differently-typed declaration, rather than a cast.
34250 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34252         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34253         * include/rpc/svc.h: ... here.
34255 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
34257         [BZ #13013]
34258         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34259         depending n and resplen2 to catch cases where answer
34260         equals answerp2.
34262 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
34264         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34265         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34267 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
34269         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34271 2012-11-29  Roland McGrath  <roland@hack.frob.com>
34273         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34275 2012-11-28  Jeff Law  <law@redhat.com>
34277         [BZ #13761]
34278         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34279         dataset_temporary.  Track alloca usage into alloca_used.
34280         If dataset is large allocate and release it via malloc/free.
34282 2012-06-04  Florian Weimer  <fweimer@redhat.com>
34284         [BZ #14197]
34285         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34287 2012-11-28  David S. Miller  <davem@davemloft.net>
34289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34291 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
34293         [BZ #14803]
34294         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34295         of pi/2 rounded to nearest to 64 bits.
34296         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34297         nearest to 64 bits.
34298         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34299         bits.
34301 2012-11-28  Jeff Law <law@redhat.com>
34302             Martin Osvald <mosvald@redhat.com>
34304         [BZ #14889]
34305         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34306         * sunrpc/svc.c: Include time.h.
34307         (__svc_accept_failed): New function.
34308         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34309         any reason other than EINTR, call __svc_accept_failed.
34310         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34311         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34313 2012-11-28  Andreas Schwab  <schwab@suse.de>
34315         * scripts/abilist.awk: Also handle indirect functions in .opd
34316         section.
34318 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
34320         [BZ #13881]
34321         * sysdeps/x86/fpu/powl_helper.c: New file.
34322         * sysdeps/x86/fpu/Makefile: Likewise.
34323         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34324         (p3): New object.
34325         (__ieee754_powl): Use __powl_helper for finite arguments except
34326         integer exponents below 8.
34327         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34328         (p3): New object.
34329         (__ieee754_powl): Use __powl_helper for finite arguments except
34330         integer exponents below 8.
34331         * math/libm-test.inc (pow_test): Add more tests and enable some
34332         previously disabled tests.
34333         * sysdeps/i386/fpu/libm-test-ulps: Update.
34334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34336 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34337             Carlos O'Donell  <carlos_odonell@mentor.com>
34339         * nss/makedb.c (is_prime): Assert that input is odd and greater
34340         than 4.  Note that fact in a comment too.
34341         (next_prime): Add 4 to input.
34343 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34345         [BZ #11741]
34346         * libio/Makefile (tests): Add test case tst-fwrite-error.
34347         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34348         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34349         * libio/tst-fwrite-error.c: New test case.
34351 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
34353         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34354         before casting to void *.
34355         * include/libc-internal.h (__pointer_type): New macro.
34356         (__integer_if_pointer_type_sub): Likewise.
34357         (__integer_if_pointer_type): Likewise.
34358         (cast_to_integer): Likewise.
34359         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34360         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34361         before casting to atomic64_t.
34362         (atomic_exchange_acq): Likewise.
34363         (__arch_exchange_and_add_body): Likewise.
34364         (__arch_add_body): Likewise.
34365         (atomic_add_negative): Likewise.
34366         (atomic_add_zero): Likewise.
34368 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
34370         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34371         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34372         (add_fdes): Likewise.
34373         (linear_search_fdes): Likewise.
34374         (binary_search_unencoded_fdes): Likewise.
34376 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
34378         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34380 2012-11-24  Adam Conrad  <adconrad@0c3.net>
34382         * configure.in: Autodetect C++ header directories.
34383         * configure: Regenerated.
34385 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
34387         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34389 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
34391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34393 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
34395         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34396         LDBL_MANT_DIG == 106]: Disable some tests.
34397         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34398         Likewise.
34399         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34400         Likewise.
34402         [BZ #14871]
34403         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34404         input for small inputs.  Return +/- pi/2 for large inputs.
34405         * math/libm-test.inc (atan_test): Add more tests.
34407         * sysdeps/generic/unwind-dw2-fde-glibc.c
34408         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34409         __attribute__ ((unused)).
34411         [BZ #14645]
34412         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34413         x * y if x and y are nonzero and z is zero.
34415         [BZ #14811]
34416         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34417         nonzero exponents with absolute value below 0x1p-117 to +/-
34418         0x1p-117.
34420         [BZ #14869]
34421         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34422         up arguments below 2**-450, not just those below 2**-500.
34423         * math/libm-test.inc (hypot_test): Add another test.
34425         [BZ #14868]
34426         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34427         Return a+b for ratio over 2**120, not 2**60.
34428         * math/libm-test.inc (hypot_test): Add another test.
34430         * math/libm-test.inc (clog_test): Use
34431         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34432         (clog10_test): Likewise.
34434         [BZ #6778]
34435         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34437 2012-11-22  Andreas Schwab  <schwab@suse.de>
34439         * sysdeps/i386/fpu/libm-test-ulps: Update.
34441 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
34443         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34444         printf output with newline.
34446 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
34448         [BZ #14865]
34449         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34450         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34451         -z nodlopen, -z initfirst and -z execstack support.
34452         * configure: Regenerated.
34454         * elf/elf.h (DF_1_NODIRECT): New macro.
34455         (DF_1_IGNMULDEF): Likewise.
34456         (DF_1_NOKSYMS): Likewise.
34457         (DF_1_NOHDR): Likewise.
34458         (DF_1_EDITED): Likewise.
34459         (DF_1_NORELOC): Likewise.
34460         (DF_1_SYMINTPOSE): Likewise.
34461         (DF_1_GLOBAUDIT): Likewise.
34462         (DF_1_SINGLETON): Likewise.
34463         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34464         DT_1_SUPPORTED_MASK bits.
34465         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34467 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
34469         * sysdeps/unix/make-syscalls.sh: Document prefixes.
34471 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
34473         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34474         macro.
34476         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34477         (sendmmsg): Move declarations...
34478         * socket/sys/socket.h: ... here.
34479         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34480         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34481         include it from...
34482         * socket/recvmmsg.c: ... this new file.
34483         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34484         (sendmmsg): Rename to __sendmmsg, create weak alias and make
34485         definition of __sendmmsg hidden.
34486         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34487         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34488         Move ENOSYS stub into and include it from...
34489         * socket/sendmmsg.c: ... this new file.
34490         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34491         (sysdep_routines): Move recvmmsg and sendmmsg...
34492         * socket/Makefile (routines): ... here.
34493         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34494         (GLIBC_PRIVATE): Add __sendmmsg.
34495         * include/sys/socket.h (__sendmmsg): Add declarations.
34496         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34497         sendmmsg.
34499 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
34501         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34502         variable I1 with __attribute__ ((unused)).
34503         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34505 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34507         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34508         DUMMY variables with __attribute__ ((unused)).
34510         * bits/byteswap.h: Include <bits/types.h>.
34511         (__bswap_64): Use __uint64_t instead of unsigned long long int.
34513 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34515         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34516         string_t.  Do not manually set errno.
34517         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34518         length with __strnlen.  Make sure to both set errno and return it on
34519         failure.
34521 2012-11-19  David S. Miller  <davem@davemloft.net>
34523         With help from Joseph Myers.
34524         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34525         very large arguments properly.
34526         * math/libm-test.inc (atan_test): New tests.
34527         (atan2_test): New tests.
34528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34531 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34533         [BZ #14856]
34534         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34535         Define to 3.
34537         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34538         [POSIX] (EADDRNOTAVAIL): Likewise.
34539         [POSIX] (EAFNOSUPPORT): Likewise.
34540         [POSIX] (EALREADY): Likewise.
34541         [POSIX] (ECONNABORTED): Likewise.
34542         [POSIX] (ECONNREFUSED): Likewise.
34543         [POSIX] (ECONNRESET): Likewise.
34544         [POSIX] (EDESTADDRREQ): Likewise.
34545         [POSIX] (EDQUOT): Likewise.
34546         [POSIX] (EHOSTUNREACH): Likewise.
34547         [POSIX] (EIDRM): Likewise.
34548         [POSIX] (EISCONN): Likewise.
34549         [POSIX] (ELOOP): Likewise.
34550         [POSIX] (EMULTIHOP): Likewise.
34551         [POSIX] (ENETDOWN): Likewise.
34552         [POSIX] (ENETUNREACH): Likewise.
34553         [POSIX] (ENOBUFS): Likewise.
34554         [POSIX] (ENODATA): Likewise.
34555         [POSIX] (ENOLINK): Likewise.
34556         [POSIX] (ENOMSG): Likewise.
34557         [POSIX] (ENOPROTOOPT): Likewise.
34558         [POSIX] (ENOSR): Likewise.
34559         [POSIX] (ENOSTR): Likewise.
34560         [POSIX] (ENOTCONN): Likewise.
34561         [POSIX] (ENOTSOCK): Likewise.
34562         [POSIX] (EOPNOTSUPP): Likewise.
34563         [POSIX] (EOVERFLOW): Likewise.
34564         [POSIX] (EPROTO): Likewise.
34565         [POSIX] (EPROTONOSUPPORT): Likewise.
34566         [POSIX] (EPROTOTYPE): Likewise.
34567         [POSIX] (ESTALE): Likewise.
34568         [POSIX] (ETIME): Likewise.
34569         [POSIX] (ETXTBSY): Likewise.
34570         [POSIX] (EWOULDBLOCK): Likewise.
34571         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34572         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34573         [POSIX] (SEEK_CUR): Likewise.
34574         [POSIX] (SEEK_END): Likewise.
34575         [POSIX || UNIX98] (mode_t): Do not require.
34576         [POSIX] (off_t): Likewise.
34577         [POSIX] (pid_t): Likewise.
34578         [POSIX] (sys/stat.h): Do not allow header.
34579         [POSIX] (unistd.h): Likewise.
34580         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34581         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34582         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34583         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34584         require.
34585         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34586         sigevent): Specify elements.
34587         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34588         entry.
34589         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34590         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34592         * conform/data/cpio.h-data [POSIX]: Disable whole file.
34593         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34594         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34595         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34596         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34597         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34598         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34599         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34600         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34601         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34602         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34603         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34604         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34605         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34606         Likewise.
34607         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34608         Likewise.
34609         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34610         Likewise.
34611         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34612         Likewise.
34613         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34614         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34615         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34616         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34617         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34618         Specify lower bound on value.
34619         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34620         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34621         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34622         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34623         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34624         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34625         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34626         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34627         value.
34628         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34629         as optional.
34630         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34631         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34632         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34633         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34634         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34635         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34636         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34637         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34638         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34639         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34640         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34641         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34642         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34643         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34644         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34645         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34646         entry.
34647         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34648         optional.
34649         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34650         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34651         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34652         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34653         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34654         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34655         Likewise.
34656         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34657         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34658         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34659         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34660         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
34661         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34662         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34663         as optional.
34664         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34665         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34666         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34667         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34668         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34669         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34670         specify as optional.
34671         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34672         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34673         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34674         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34675         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34676         [XPG3] (NL_LANGMAX): Likewise.
34677         [POSIX || XPG3] (NL_MSGMAX): Likewise.
34678         [POSIX || XPG3] (NL_NMAX): Likewise.
34679         [POSIX || XPG3] (NL_SETMAX): Likewise.
34680         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34681         [XPG3] (NZERO): Likewise.
34682         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34683         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34684         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34685         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34686         (REG_ERANGE): Expect.
34687         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34688         optional-constant.
34689         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34690         Use (void) in prototype.
34691         [POSIX] (*_t): Allow.
34692         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34693         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34694         (WRDE_BADVAL): Expect.
34696         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34697         expect.
34698         [XPG3 || XPG4] (O_RSYNC): Likewise.
34699         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34700         Likewise.
34701         [XPG3 || XPG4] (pthread_sigmask): Likewise.
34702         [XPG3 || XPG4] (sigqueue): Likewise.
34703         [XPG3 || XPG4] (sigtimedwait): Likewise.
34704         [XPG3 || XPG4] (sigwaitinfo): Likewise.
34705         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34706         [XPG3 || XPG4] (vsnprintf): Likewise.
34707         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34708         Likewise.
34709         [XPG3 || XPG4] (blksize_t): Likewise.
34710         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34711         Likewise.
34712         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34713         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34714         [XPG3 || XPG4] (struct itimerspec): Likewise.
34715         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34716         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34717         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34718         [XPG3 || XPG4] (clockid_t): Likewise.
34719         [XPG3 || XPG4] (timer_t): Likewise.
34720         [XPG3 || XPG4] (clock_getres): Likewise.
34721         [XPG3 || XPG4] (clock_gettime): Likewise.
34722         [XPG3 || XPG4] (clock_settime): Likewise.
34723         [XPG3 || XPG4] (nanosleep): Likewise.
34724         [XPG3 || XPG4] (timer_create): Likewise.
34725         [XPG3 || XPG4] (timer_delete): Likewise.
34726         [XPG3 || XPG4] (timer_gettime): Likewise.
34727         [XPG3 || XPG4] (timer_getoverrun): Likewise.
34728         [XPG3 || XPG4] (timer_settime): Likewise.
34729         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34730         [XPG3 || XPG4] (getlogin_r): Likewise.
34731         [XPG3 || XPG4] (pread): Likewise.
34732         [XPG3 || XPG4] (pthread_atfork): Likewise.
34733         [XPG3 || XPG4] (pwrite): Likewise.
34735         [BZ #14835]
34736         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34737         <bits/siginfo.h>.
34739 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34741         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34742         finalizing MALLSTREAM.
34744         * sysdeps/mach/hurd/syncfs.c: New file.
34746 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34748         [BZ #14719]
34749         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34750         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34751         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34752         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34753         (_nss_dns_gethostbyname4_r): Likewise.
34754         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34755         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34757 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
34759         [BZ #13763]
34760         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34762 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
34764         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34765         * elf/cache.c (print_entry): Print ",AArch64" for
34766         FLAG_AARCH64_LIB64
34768         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34769         * elf/cache.c (print_entry): Print ",hard-float" for
34770         FLAG_ARM_LIBHF.
34772 2012-11-18  David S. Miller  <davem@davemloft.net>
34774         With help from Joseph Myers.
34775         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34776         cutoff to 2**-13.
34777         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34778         cutoff to 2**-25.
34779         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34780         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34781         small.
34782         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34783         * math/libm-test.inc (y0_test): New tests.
34784         (y1_test): New tests.
34785         * sysdeps/i386/fpu/libm-test-ulps: Update.
34786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34789 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
34791         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34792         64-bit targets.
34793         * configure: Regenerated.
34795 2012-11-17  David S. Miller  <davem@davemloft.net>
34797         [BZ #14811]
34798         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34799         nonzero exponents with absolute value below 0x1p-128 to +/-
34800         0x1p-128.
34802 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
34804         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34806         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34808         * posix/getconf-speclist.c: New file.
34809         * posix/posix-envs.def: Likewise.
34810         * posix/confstr.c (START_ENV_GROUP): New macro.
34811         (END_ENV_GROUP): Likewise.
34812         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34813         (KNOWN_PRESENT_ENV_STRING): Likewise.
34814         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34815         (UNKNOWN_ENVIRONMENT): Likewise.
34816         (confstr): Include posix-envs.def instead of handling
34817         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34818         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34819         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34820         (END_ENV_GROUP): Likewise.
34821         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34822         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34823         (UNKNOWN_ENVIRONMENT): Likewise.
34824         (__sysconf): Include posix-envs.def instead of handling associated
34825         cases directly here.
34826         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34827         preprocessing getconf-speclist.c rather than running getconf or
34828         generating empty file.
34830 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
34832         * scripts/check-local-headers.sh: Ignore 'mach' headers.
34834 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
34836         [BZ #14672]
34837         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34839 2012-11-16  David S. Miller  <davem@davemloft.net>
34841         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34842         smaller than LDBL_EPSILON/2.0L, just return xm1.
34844 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
34846         * elf/tst-array1.c (init): Set constructor priority to 1000.
34847         (fini): Set destructor priority to 1000.
34848         * elf/tst-array2dep.c: Likewise.
34850 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34852         [BZ #11741]
34853         * libio/fileops.c (_IO_new_file_write): Correctly return error.
34854         (_IO_new_file_xsputn): Also return EOF if none of the input
34855         data was written when overflow failed.
34856         * libio/iopadn.c (_IO_padn): Likewise.
34857         * libio/iowpadn.c (_IO_wpadn): Likewise.
34858         * stdio-common/tst-put-error.c: Add copyright notice.
34859         (do_test): Add case for printing padded string.
34860         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34861         _IO_padn returned error.
34862         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34863         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34864         return EOF.
34866 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34868         * libio/libioP.h: Add comment note that the references to C++
34869         bits are now obsolete.
34871 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34873         * math/libm-test.inc (check_complex): Use asprintf.
34875 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
34877         * debug/pcprofiledump.c (print_version): Update copyright year.
34878         * malloc/memusagestat.c (print_version): Likewise.
34880 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
34882         [BZ #14831]
34883         * elf/Makefile (tests): Add tst-audit8.
34884         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34885         ($(objpfx)tst-audit8.out): New target.
34886         (tst-audit8-ENV): New variable.
34887         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34888         audit if l_reloc_result is NULL.
34889         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34890         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34891         * elf/tst-audit8.c: New file.
34893 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34895         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34896         * misc/Makefile (CFLAGS-select.c): Define.
34897         * posix/Makefile (CFLAGS-pause.c): Define.
34899 2012-11-13  David S. Miller  <davem@davemloft.net>
34901         * crypt/Makefile: Move test targets after toplevel Rules
34902         inclusion.  Grab any necessary sysdep routines when linking.
34903         * crypt/md5.c (md5_process_block): Remove define, we will always
34904         name it __md5_process_block.
34905         (md5_finish_ctx): Update md5_process_block call.
34906         (md5_stream): Likewise.
34907         (md5_process_bytes): Likewise.
34908         (md5_process_block): Rename to __md5_process_block and move to ...
34909         * crypt/md5-block.c: ... here.
34910         * crypt/sha256.c (sha256_process_block): Move to ...
34911         * crypt/sha256-block.c: ... here.
34912         * crypt/sha512.c (sha512_process_block): Move to ...
34913         * crypt/sha512-block.c: ... here.
34914         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34915         path.
34916         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34917         * sysdeps/sparc/sparc64/multiarch/Makefile
34918         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34919         crypt subdir.
34920         (localedef-aux): Add md5 crypto assembler when in locale subdir.
34921         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34922         multiarch changes.
34923         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34924         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34925         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34926         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34927         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34928         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34929         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34930         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34931         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34932         file.
34933         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34934         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34935         file.
34936         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34938 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
34940         * timezone/tzselect.ksh: Update from tzcode git revision
34941         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34942         * timezone/zdump.c: Likewise.
34943         * timezone/zic.c: Likewise.
34944         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34945         in TZVERSION setting, not $(PKGVERSION).
34946         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
34947         REPORT_BUGS_TO settings.
34949         [BZ #14838]
34950         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34951         macro.
34953 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34955         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34956         detection to immediately after _FP_ROUND().
34957         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34958         bits are 0.
34960 2012-11-11  David S. Miller  <davem@davemloft.net>
34962         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34963         inttypes.h
34964         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34965         __close rather than their public counterparts.
34967 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
34969         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34970         file.
34971         [UNIX98] (sem_timedwait): Do not expect.
34972         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34973         [XPG4 || UNIX98] (sockatmark): Do not expect.
34974         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34975         (clock_getcpuclockid): Do not expect.
34976         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34977         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34978         Do not expect.
34979         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34980         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34981         [UNIX98] (vwscanf): Likewise.
34982         [UNIX98] (vswscanf): Likewise.
34984 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
34986         * timezone/version.h: Remove file.
34987         * timezone/README: Do not refer to version.h.
34988         * timezone/Makefile ($(objpfx)zic.o): New dependency on
34989         $(objpfx)version.h.
34990         ($(objpfx)zdump.o): Likewise.
34991         ($(objpfx)version.h): New target.
34993         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34994         2012i.
34995         * timezone/README: Don't mention modification to tzselect.ksh.
34996         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34997         work on unmodified tzselect.ksh.  Substitute version numbers in
34998         tzselect.ksh.
35000         * Makefile (format-me): Remove.
35001         (INSTALL): Adjust indentation.  Use commands directly instead of
35002         using $(format-me).
35004         * aclocal.m4 (ACX_PKGVERSION): New macro.
35005         (ACX_BUGURL): Likewise.
35006         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35007         (PKGVERSION): New AC_DEFINE_UNQUOTED.
35008         (REPORT_BUGS_TO): Likewise.
35009         * configure: Regenerated.
35010         * config.h.in (PKGVERSION): New macro.
35011         (REPORT_BUGS_TO): Likewise.
35012         * config.make.in (PKGVERSION): New variable.
35013         (PKGVERSION_TEXI): Likewise.
35014         (REPORT_BUGS_TO): Likewise.
35015         (REPORT_BUGS_TEXI): Likewise.
35016         * Makefile (format-me): Use -I$(common-objpfx)manual.
35017         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35018         ($(common-objpfx)manual/%): New target.
35019         (manual/%): Remove target.
35020         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35021         (print_version): Use PKGVERSION.
35022         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35023         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35024         and REPORT_BUGS_TO.
35025         ($(objpfx)xtrace): Likewise.
35026         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35027         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35028         (print_version): Use PKGVERSION.
35029         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35030         (do_version): Use PKGVERSION.
35031         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35032         REPORT_BUGS_TO.
35033         (common-ldd-rewrite): Likewise.
35034         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35035         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35036         (print_version): Use PKGVERSION.
35037         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35038         * elf/pldd.c (argp_program_bug_address): Remove variable.
35039         (more_help): New function.
35040         (argp): Use more_help.
35041         (print_version): Use PKGVERSION.
35042         * elf/sln.c (main): Use PKGVERSION.
35043         (usage): Use REPORT_BUGS_TO.
35044         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35045         (top level): Use PKGVERSION.
35046         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35047         (print_version): Use PKGVERSION.
35048         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35049         (print_version): Use PKGVERSION.
35050         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35051         (print_version): Use PKGVERSION.
35052         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35053         (print_version): Use PKGVERSION.
35054         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35055         (print_version): Use PKGVERSION.
35056         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35057         (print_version): Use PKGVERSION.
35058         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35059         and BUGURL.
35060         ($(objpfx)memusage): Likewise.
35061         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35062         (do_version): Use PKGVERSION.
35063         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35064         (print_version): Use PKGVERSION.
35065         * malloc/mtrace.pl ($PACKAGE): Remove variable.
35066         ($PKGVERSION): New variable.
35067         ($REPORT_BUGS_TO): Likewise.
35068         (usage): Use $REPORT_BUGS_TO.
35069         (top level): Use $PKGVERSION.
35070         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35071         ($(objpfx)pkgvers.texi): New rule.
35072         ($(objpfx)stamp-pkgvers): Likewise.
35073         * manual/install.texi: Include pkgvers.texi.
35074         (--with-pkgversion): Document new configure option.
35075         (--with-bugurl): Likewise.
35076         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35077         than necessarily for this particular distribution.  Use
35078         REPORT_BUGS_TO for where to report bugs.
35079         * INSTALL: Regenerated.
35080         * manual/libc.texinfo: Include pkgvers.texi.
35081         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35082         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35083         (print_version): Use PKGVERSION.
35084         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35085         (print_version): Use PKGVERSION.
35086         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35087         (print_version): Use PKGVERSION.
35088         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35089         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35090         macro.
35091         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35092         (print_version): Use PKGVERSION.
35093         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35094         (print_version): Use PKGVERSION.
35095         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35096         and PKGVERSION.
35098         * timezone/checktab.awk: Update from tzcode 2012i.
35099         * timezone/ialloc.c: Likewise.
35100         * timezone/private.h: Likewise.
35101         * timezone/scheck.c: Likewise.
35102         * timezone/tzfile.h: Likewise.
35103         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35104         (TZVERSION): Hardcode tzcode version number.
35105         * timezone/zdump.c: Update from tzcode 2012i.
35106         * timezone/zic.c: Likewise.
35107         * timezone/version.h: New file.
35108         * timezone/README: Describe version.h.  Update upstream location.
35110         [BZ #14824]
35111         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35112         (mktemp): Enable declaration.
35113         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35114         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35115         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35116         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35117         Likewise.
35118         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35119         Likewise.
35120         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35121         Likewise.
35122         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35123         Likewise.
35124         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35125         Likewise.
35126         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35127         Likewise.
35129         [BZ #14821]
35130         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35131         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
35132         for copies of such integer values.
35133         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35134         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35136 2012-11-09  Andreas Jaeger  <aj@suse.de>
35138         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35139         definitions and declarations that are provided by
35140         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35142 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35144         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35145         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35146         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35147         definition.
35149 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35151         * elf/elf.h: Update comment before AArch64 relocations.
35153 2012-11-07  David S. Miller  <davem@davemloft.net>
35155         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35156         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35157         (__start_context): Declare.
35158         (__makecontext_ret): Delete.
35159         (__makecontext): Hook up __start_context instead of
35160         __makecontext_ret.
35161         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35162         (sysdep_routines): Add __start_context when in stdlib.
35164 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35166         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35167         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35168         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
35169         hardcoded "nm".
35170         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
35171         (READELF): New variable.  Use it instead of hardcoded "readelf".
35173 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35175         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35176         * sysdeps/x86/Makefile: Here.
35177         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35178         * sysdeps/x86/tst-xmmymm.sh: This.
35180 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35182         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35183         expectations.
35184         [UNIX98] (pthread_barrier_t): Do not expect.
35185         [UNIX98] (pthread_barrierattr_t): Likewise.
35186         [UNIX98] (pthread_spinlock_t): Likewise.
35187         [UNIX98] (pthread_barrier_destroy): Likewise.
35188         [UNIX98] (pthread_barrier_init): Likewise.
35189         [UNIX98] (pthread_barrier_wait): Likewise.
35190         [UNIX98] (pthread_barrierattr_destroy): Likewise.
35191         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35192         [UNIX98] (pthread_barrierattr_init): Likewise.
35193         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35194         [UNIX98] (pthread_getcpuclockid): Likewise.
35195         [UNIX98] (pthread_mutex_timedlock): Likewise.
35196         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35197         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35198         [UNIX98] (pthread_sigmask): Likewise.
35199         [UNIX98] (pthread_spin_destroy): Likewise.
35200         [UNIX98] (pthread_spin_init): Likewise.
35201         [UNIX98] (pthread_spin_lock): Likewise.
35202         [UNIX98] (pthread_spin_trylock): Likewise.
35203         [UNIX98] (pthread_spin_unlock): Likewise.
35204         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35205         Do not expect.
35206         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35207         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35208         [XPG3 || XPG4] (pthread_cond_t): Likewise.
35209         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35210         [XPG3 || XPG4] (pthread_key_t): Likewise.
35211         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35212         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35213         [XPG3 || XPG4] (pthread_once_t): Likewise.
35214         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35215         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35216         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35217         [XPG3 || XPG4] (pthread_t): Likewise.
35219         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35220         not expect.
35221         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35223         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35224         Change function return type to int.
35226         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35227         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35228         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35229         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35230         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35231         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35232         [!POSIX] (posix_madvise): Likewise.
35233         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35234         && !UNIX98].
35235         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35236         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35237         (mode_t): Likewise.
35238         (posix_mem_offset): Likewise.
35239         (posix_typed_mem_get_info): Likewise.
35240         (posix_typed_mem_open): Likewise.
35242         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35243         Change condition to [XOPEN2K8].
35245         * conform/conformtest.pl: Preprocess allow-header data with -x c
35246         instead of from stdin.
35247         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35248         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35249         [C99-based standards] (cerfc): Likewise.
35250         [C99-based standards] (cexp2): Likewise.
35251         [C99-based standards] (cexpm1): Likewise.
35252         [C99-based standards] (clog10): Likewise.
35253         [C99-based standards] (clog1p): Likewise.
35254         [C99-based standards] (clog2): Likewise.
35255         [C99-based standards] (clgamma): Likewise.
35256         [C99-based standards] (ctgamma): Likewise.
35257         [C99-based standards] (cerff): Likewise.
35258         [C99-based standards] (cerfcf): Likewise.
35259         [C99-based standards] (cexp2f): Likewise.
35260         [C99-based standards] (cexpm1f): Likewise.
35261         [C99-based standards] (clog10f): Likewise.
35262         [C99-based standards] (clog1pf): Likewise.
35263         [C99-based standards] (clog2f): Likewise.
35264         [C99-based standards] (clgammaf): Likewise.
35265         [C99-based standards] (ctgammaf): Likewise.
35266         [C99-based standards] (cerfl): Likewise.
35267         [C99-based standards] (cerfcl): Likewise.
35268         [C99-based standards] (cexp2l): Likewise.
35269         [C99-based standards] (cexpm1l): Likewise.
35270         [C99-based standards] (clog10l): Likewise.
35271         [C99-based standards] (clog1pl): Likewise.
35272         [C99-based standards] (clog2l): Likewise.
35273         [C99-based standards] (clgammal): Likewise.
35274         [C99-based standards] (ctgammal): Likewise.
35275         * conform/data/inttypes.h-data [C99-based standards]: Include
35276         stdint.h-data.  Remove all expectations for stdint.h contents.
35277         [C99-based standards] (PRI*): Do not allow.
35278         [C99-based standards] (SCN*): Likewise.
35279         [C99-based standards] (*_t): Likewise.
35280         [C99-based-standards] (PRId8): Expect macro.
35281         [C99-based-standards] (PRIi8): Likewise.
35282         [C99-based-standards] (PRIo8): Likewise.
35283         [C99-based-standards] (PRIu8): Likewise.
35284         [C99-based-standards] (PRIx8): Likewise.
35285         [C99-based-standards] (PRIX8): Likewise.
35286         [C99-based-standards] (SCNd8): Likewise.
35287         [C99-based-standards] (SCNi8): Likewise.
35288         [C99-based-standards] (SCNo8): Likewise.
35289         [C99-based-standards] (SCNu8): Likewise.
35290         [C99-based-standards] (SCNx8): Likewise.
35291         [C99-based-standards] (PRIdLEAST8): Likewise.
35292         [C99-based-standards] (PRIiLEAST8): Likewise.
35293         [C99-based-standards] (PRIoLEAST8): Likewise.
35294         [C99-based-standards] (PRIuLEAST8): Likewise.
35295         [C99-based-standards] (PRIxLEAST8): Likewise.
35296         [C99-based-standards] (PRIXLEAST8): Likewise.
35297         [C99-based-standards] (SCNdLEAST8): Likewise.
35298         [C99-based-standards] (SCNiLEAST8): Likewise.
35299         [C99-based-standards] (SCNoLEAST8): Likewise.
35300         [C99-based-standards] (SCNuLEAST8): Likewise.
35301         [C99-based-standards] (SCNxLEAST8): Likewise.
35302         [C99-based-standards] (PRIdFAST8): Likewise.
35303         [C99-based-standards] (PRIiFAST8): Likewise.
35304         [C99-based-standards] (PRIoFAST8): Likewise.
35305         [C99-based-standards] (PRIuFAST8): Likewise.
35306         [C99-based-standards] (PRIxFAST8): Likewise.
35307         [C99-based-standards] (PRIXFAST8): Likewise.
35308         [C99-based-standards] (SCNdFAST8): Likewise.
35309         [C99-based-standards] (SCNiFAST8): Likewise.
35310         [C99-based-standards] (SCNoFAST8): Likewise.
35311         [C99-based-standards] (SCNuFAST8): Likewise.
35312         [C99-based-standards] (SCNxFAST8): Likewise.
35313         [C99-based-standards] (PRId16): Likewise.
35314         [C99-based-standards] (PRIi16): Likewise.
35315         [C99-based-standards] (PRIo16): Likewise.
35316         [C99-based-standards] (PRIu16): Likewise.
35317         [C99-based-standards] (PRIx16): Likewise.
35318         [C99-based-standards] (PRIX16): Likewise.
35319         [C99-based-standards] (SCNd16): Likewise.
35320         [C99-based-standards] (SCNi16): Likewise.
35321         [C99-based-standards] (SCNo16): Likewise.
35322         [C99-based-standards] (SCNu16): Likewise.
35323         [C99-based-standards] (SCNx16): Likewise.
35324         [C99-based-standards] (PRIdLEAST16): Likewise.
35325         [C99-based-standards] (PRIiLEAST16): Likewise.
35326         [C99-based-standards] (PRIoLEAST16): Likewise.
35327         [C99-based-standards] (PRIuLEAST16): Likewise.
35328         [C99-based-standards] (PRIxLEAST16): Likewise.
35329         [C99-based-standards] (PRIXLEAST16): Likewise.
35330         [C99-based-standards] (SCNdLEAST16): Likewise.
35331         [C99-based-standards] (SCNiLEAST16): Likewise.
35332         [C99-based-standards] (SCNoLEAST16): Likewise.
35333         [C99-based-standards] (SCNuLEAST16): Likewise.
35334         [C99-based-standards] (SCNxLEAST16): Likewise.
35335         [C99-based-standards] (PRIdFAST16): Likewise.
35336         [C99-based-standards] (PRIiFAST16): Likewise.
35337         [C99-based-standards] (PRIoFAST16): Likewise.
35338         [C99-based-standards] (PRIuFAST16): Likewise.
35339         [C99-based-standards] (PRIxFAST16): Likewise.
35340         [C99-based-standards] (PRIXFAST16): Likewise.
35341         [C99-based-standards] (SCNdFAST16): Likewise.
35342         [C99-based-standards] (SCNiFAST16): Likewise.
35343         [C99-based-standards] (SCNoFAST16): Likewise.
35344         [C99-based-standards] (SCNuFAST16): Likewise.
35345         [C99-based-standards] (SCNxFAST16): Likewise.
35346         [C99-based-standards] (PRId32): Likewise.
35347         [C99-based-standards] (PRIi32): Likewise.
35348         [C99-based-standards] (PRIo32): Likewise.
35349         [C99-based-standards] (PRIu32): Likewise.
35350         [C99-based-standards] (PRIx32): Likewise.
35351         [C99-based-standards] (PRIX32): Likewise.
35352         [C99-based-standards] (SCNd32): Likewise.
35353         [C99-based-standards] (SCNi32): Likewise.
35354         [C99-based-standards] (SCNo32): Likewise.
35355         [C99-based-standards] (SCNu32): Likewise.
35356         [C99-based-standards] (SCNx32): Likewise.
35357         [C99-based-standards] (PRIdLEAST32): Likewise.
35358         [C99-based-standards] (PRIiLEAST32): Likewise.
35359         [C99-based-standards] (PRIoLEAST32): Likewise.
35360         [C99-based-standards] (PRIuLEAST32): Likewise.
35361         [C99-based-standards] (PRIxLEAST32): Likewise.
35362         [C99-based-standards] (PRIXLEAST32): Likewise.
35363         [C99-based-standards] (SCNdLEAST32): Likewise.
35364         [C99-based-standards] (SCNiLEAST32): Likewise.
35365         [C99-based-standards] (SCNoLEAST32): Likewise.
35366         [C99-based-standards] (SCNuLEAST32): Likewise.
35367         [C99-based-standards] (SCNxLEAST32): Likewise.
35368         [C99-based-standards] (PRIdFAST32): Likewise.
35369         [C99-based-standards] (PRIiFAST32): Likewise.
35370         [C99-based-standards] (PRIoFAST32): Likewise.
35371         [C99-based-standards] (PRIuFAST32): Likewise.
35372         [C99-based-standards] (PRIxFAST32): Likewise.
35373         [C99-based-standards] (PRIXFAST32): Likewise.
35374         [C99-based-standards] (SCNdFAST32): Likewise.
35375         [C99-based-standards] (SCNiFAST32): Likewise.
35376         [C99-based-standards] (SCNoFAST32): Likewise.
35377         [C99-based-standards] (SCNuFAST32): Likewise.
35378         [C99-based-standards] (SCNxFAST32): Likewise.
35379         [C99-based-standards] (PRId64): Likewise.
35380         [C99-based-standards] (PRIi64): Likewise.
35381         [C99-based-standards] (PRIo64): Likewise.
35382         [C99-based-standards] (PRIu64): Likewise.
35383         [C99-based-standards] (PRIx64): Likewise.
35384         [C99-based-standards] (PRIX64): Likewise.
35385         [C99-based-standards] (SCNd64): Likewise.
35386         [C99-based-standards] (SCNi64): Likewise.
35387         [C99-based-standards] (SCNo64): Likewise.
35388         [C99-based-standards] (SCNu64): Likewise.
35389         [C99-based-standards] (SCNx64): Likewise.
35390         [C99-based-standards] (PRIdLEAST64): Likewise.
35391         [C99-based-standards] (PRIiLEAST64): Likewise.
35392         [C99-based-standards] (PRIoLEAST64): Likewise.
35393         [C99-based-standards] (PRIuLEAST64): Likewise.
35394         [C99-based-standards] (PRIxLEAST64): Likewise.
35395         [C99-based-standards] (PRIXLEAST64): Likewise.
35396         [C99-based-standards] (SCNdLEAST64): Likewise.
35397         [C99-based-standards] (SCNiLEAST64): Likewise.
35398         [C99-based-standards] (SCNoLEAST64): Likewise.
35399         [C99-based-standards] (SCNuLEAST64): Likewise.
35400         [C99-based-standards] (SCNxLEAST64): Likewise.
35401         [C99-based-standards] (PRIdFAST64): Likewise.
35402         [C99-based-standards] (PRIiFAST64): Likewise.
35403         [C99-based-standards] (PRIoFAST64): Likewise.
35404         [C99-based-standards] (PRIuFAST64): Likewise.
35405         [C99-based-standards] (PRIxFAST64): Likewise.
35406         [C99-based-standards] (PRIXFAST64): Likewise.
35407         [C99-based-standards] (SCNdFAST64): Likewise.
35408         [C99-based-standards] (SCNiFAST64): Likewise.
35409         [C99-based-standards] (SCNoFAST64): Likewise.
35410         [C99-based-standards] (SCNuFAST64): Likewise.
35411         [C99-based-standards] (SCNxFAST64): Likewise.
35412         [C99-based-standards] (PRIdMAX): Likewise.
35413         [C99-based-standards] (PRIiMAX): Likewise.
35414         [C99-based-standards] (PRIoMAX): Likewise.
35415         [C99-based-standards] (PRIuMAX): Likewise.
35416         [C99-based-standards] (PRIxMAX): Likewise.
35417         [C99-based-standards] (PRIXMAX): Likewise.
35418         [C99-based-standards] (SCNdMAX): Likewise.
35419         [C99-based-standards] (SCNiMAX): Likewise.
35420         [C99-based-standards] (SCNoMAX): Likewise.
35421         [C99-based-standards] (SCNuMAX): Likewise.
35422         [C99-based-standards] (SCNxMAX): Likewise.
35423         [C99-based-standards] (PRIdPTR): Likewise.
35424         [C99-based-standards] (PRIiPTR): Likewise.
35425         [C99-based-standards] (PRIoPTR): Likewise.
35426         [C99-based-standards] (PRIuPTR): Likewise.
35427         [C99-based-standards] (PRIxPTR): Likewise.
35428         [C99-based-standards] (PRIXPTR): Likewise.
35429         [C99-based-standards] (SCNdPTR): Likewise.
35430         [C99-based-standards] (SCNiPTR): Likewise.
35431         [C99-based-standards] (SCNoPTR): Likewise.
35432         [C99-based-standards] (SCNuPTR): Likewise.
35433         [C99-based-standards] (SCNxPTR): Likewise.
35434         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35435         allow.
35436         * conform/data/stdint.h-data: Update comments to clarify
35437         requirements.
35438         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
35439         type.
35440         [C99-based standards] (INT8_MAX): Likewise.
35441         [C99-based standards] (INT16_MIN): Likewise.
35442         [C99-based standards] (INT16_MAX): Likewise.
35443         [C99-based standards] (INT32_MIN): Likewise.
35444         [C99-based standards] (INT32_MAX): Likewise.
35445         [C99-based standards] (INT64_MIN): Likewise.
35446         [C99-based standards] (INT64_MAX): Likewise.
35447         [C99-based standards] (UINT8_MAX): Likewise.
35448         [C99-based standards] (UINT16_MAX): Likewise.
35449         [C99-based standards] (UINT32_MAX): Likewise.
35450         [C99-based standards] (UINT64_MAX): Likewise.
35451         [C99-based standards] (INT_LEAST8_MIN): Likewise.
35452         [C99-based standards] (INT_LEAST8_MAX): Likewise.
35453         [C99-based standards] (INT_LEAST16_MIN): Likewise.
35454         [C99-based standards] (INT_LEAST16_MAX): Likewise.
35455         [C99-based standards] (INT_LEAST32_MIN): Likewise.
35456         [C99-based standards] (INT_LEAST32_MAX): Likewise.
35457         [C99-based standards] (INT_LEAST64_MIN): Likewise.
35458         [C99-based standards] (INT_LEAST64_MAX): Likewise.
35459         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35460         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35461         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35462         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35463         [C99-based standards] (INT_FAST8_MIN): Likewise.
35464         [C99-based standards] (INT_FAST8_MAX): Likewise.
35465         [C99-based standards] (INT_FAST16_MIN): Likewise.
35466         [C99-based standards] (INT_FAST16_MAX): Likewise.
35467         [C99-based standards] (INT_FAST32_MIN): Likewise.
35468         [C99-based standards] (INT_FAST32_MAX): Likewise.
35469         [C99-based standards] (INT_FAST64_MIN): Likewise.
35470         [C99-based standards] (INT_FAST64_MAX): Likewise.
35471         [C99-based standards] (UINT_FAST8_MAX): Likewise.
35472         [C99-based standards] (UINT_FAST16_MAX): Likewise.
35473         [C99-based standards] (UINT_FAST32_MAX): Likewise.
35474         [C99-based standards] (UINT_FAST64_MAX): Likewise.
35475         [C99-based standards] (INTPTR_MIN): Likewise.
35476         [C99-based standards] (INTPTR_MAX): Likewise.
35477         [C99-based standards] (UINTPTR_MAX): Likewise.
35478         [C99-based standards] (INTMAX_MIN): Likewise.
35479         [C99-based standards] (INTMAX_MAX): Likewise.
35480         [C99-based standards] (UINTMAX_MAX): Likewise.
35481         [C99-based standards] (PTRDIFF_MIN): Likewise.
35482         [C99-based standards] (PTRDIFF_MAX): Likewise.
35483         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35484         [C99-based standards] (SIZE_MAX): Likewise.
35485         [C99-based standards] (WCHAR_MAX): Likewise.
35486         [C99-based standards] (WINT_MAX): Likewise.
35487         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
35488         constraint on value.
35489         [C99-based standards] (WCHAR_MIN): Likewise.
35490         [C99-based standards] (WINT_MIN): Likewise.
35491         [C99-based standards] (*_t): Allow.
35492         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35493         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35494         Include math.h-data and complex.h-data.  Remove all expectations
35495         of math.h and complex.h contents.
35496         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35497         at end of line.
35498         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35499         (struct tm): Expect tag.
35500         [C99-based-standards] (wcstof): Expect function.
35501         [C99-based-standards] (wcstold): Likewise.
35502         [C99-based-standards] (wcstoll): Likewise.
35503         [C99-based-standards] (wcstoull): Likewise.
35504         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35505         macro-int-constant.  Specify type.
35506         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
35507         constraint on value.
35508         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35509         Specify type.
35510         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35511         Specify value.
35512         [ISO C standards]: Do not allow headers.
35513         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35514         wcs[abcdefghijklmnopqrstuvwxyz]*.
35515         [ISO C standards] (*_t): Do not allow.
35516         * conform/data/wctype.h-data [C99-based standards] (iswblank):
35517         Expect function.
35518         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35519         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35520         Specify type.
35521         [ISO C standards]: Do not allow headers.
35522         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35523         is[abcdefghijklmnopqrstuvwxyz]*.
35524         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35525         to[abcdefghijklmnopqrstuvwxyz]*.
35526         [ISO C standards] (*_t): Do not allow.
35527         * conform/data/stdalign.h-data: New file.
35528         * conform/data/stdbool.h-data: Likewise.
35529         * conform/data/stdnoreturn.h-data: Likewise.
35531 2012-11-07  Roland McGrath  <roland@hack.frob.com>
35533         [BZ #14815]
35534         * manual/filesys.texi (Directory Entries): Typo fix.
35535         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35537 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35539         * elf/elf.h (EM_AARCH64): New macro.
35540         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35541         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35542         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35543         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35544         (R_AARCH64_TLSDESC): Likewise.
35545         (NT_ARM_TLS): Likewise.
35546         (NT_ARM_HW_BREAK): Likewise.
35547         (NT_ARM_HW_WATCH): Likewise.
35549 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35551         [BZ #14811]
35552         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35553         (__ieee754_powl): Saturate nonzero exponents with absolute value
35554         below 0x1p-79 to +/- 0x1p-79.
35555         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35556         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35557         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35558         nonzero exponents with absolute value below 0x1p-32 to +/-
35559         0x1p-32.
35560         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35561         (__ieee754_powl): Saturate nonzero exponents with absolute value
35562         below 0x1p-79 to +/- 0x1p-79.
35563         * math/libm-test.inc (pow_test): Add more tests.
35565 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35567         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35568         _dl_s390_cap_flags with kernel. Increase string length.
35569         (_dl_s390_platforms): Add z196 and zEC12.
35571 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35573         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35574         Change XOPEN21K to XOPEN2K.
35576 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
35578         * string/memmove.c: Use memcpy when possible.
35580 2012-11-06  Andreas Jaeger  <aj@suse.de>
35582         * po/eo.po: Update from translation team.
35584 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
35586         [BZ #14793]
35587         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35588         exponent and small x and y exponents, scale x or y up.  Increase
35589         by 2 the exponent used in scaling up.
35590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35591         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35592         * math/libm-test.inc (fma_test): Add more tests.
35593         (fma_test_towardzero): Likewise.
35594         (fma_test_downward): Likewise.
35595         (fma_test_upward): Likewise.
35597 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
35599         [BZ #14805]
35600         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35601         fenv_t *.
35603         [BZ #14801]
35604         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35605         namespace for names of struct fields.
35606         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35607         fenv_t fields.
35608         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35609         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35611 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35613         [BZ #3665]
35614         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35616 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35618         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35619         PTR_DEMANGLE.
35621         [BZ #5246]
35622         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35623         PTR_DEMANGLE.
35625 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
35627         [BZ #14797]
35628         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35629         definitely overflow as x * y not x * y + z.
35630         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35631         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35632         * math/libm-test.inc (fma_test): Add more tests.
35633         (fma_test_towardzero): Likewise.
35634         (fma_test_downward): Likewise.
35635         (fma_test_upward): Likewise.
35637 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35639         [BZ #157]
35641         * include/stub-tag.h: Remove file.
35642         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35643         '#include' of it.
35644         * manual/maint.texi (Porting): Don't reference it.
35645         * Makerules ($(objpfx)stubs): Likewise.
35646         * dirent/closedir.c: Don't include <stub-tag.h>.
35647         * dirent/dirfd.c: Likewise.
35648         * dirent/fdopendir.c: Likewise.
35649         * dirent/getdents.c: Likewise.
35650         * dirent/getdents64.c: Likewise.
35651         * dirent/opendir.c: Likewise.
35652         * dirent/readdir.c: Likewise.
35653         * dirent/readdir64.c: Likewise.
35654         * dirent/readdir64_r.c: Likewise.
35655         * dirent/readdir_r.c: Likewise.
35656         * dirent/rewinddir.c: Likewise.
35657         * dirent/seekdir.c: Likewise.
35658         * dirent/telldir.c: Likewise.
35659         * gmon/profil.c: Likewise.
35660         * grp/setgroups.c: Likewise.
35661         * inet/if_index.c: Likewise.
35662         * io/access.c: Likewise.
35663         * io/chdir.c: Likewise.
35664         * io/chmod.c: Likewise.
35665         * io/chown.c: Likewise.
35666         * io/close.c: Likewise.
35667         * io/dup.c: Likewise.
35668         * io/dup2.c: Likewise.
35669         * io/dup3.c: Likewise.
35670         * io/euidaccess.c: Likewise.
35671         * io/faccessat.c: Likewise.
35672         * io/fchdir.c: Likewise.
35673         * io/fchmod.c: Likewise.
35674         * io/fchmodat.c: Likewise.
35675         * io/fchown.c: Likewise.
35676         * io/fchownat.c: Likewise.
35677         * io/fcntl.c: Likewise.
35678         * io/flock.c: Likewise.
35679         * io/fstatfs.c: Likewise.
35680         * io/fstatfs64.c: Likewise.
35681         * io/fstatvfs.c: Likewise.
35682         * io/fstatvfs64.c: Likewise.
35683         * io/futimens.c: Likewise.
35684         * io/fxstat.c: Likewise.
35685         * io/fxstat64.c: Likewise.
35686         * io/fxstatat.c: Likewise.
35687         * io/fxstatat64.c: Likewise.
35688         * io/getcwd.c: Likewise.
35689         * io/isatty.c: Likewise.
35690         * io/lchmod.c: Likewise.
35691         * io/lchown.c: Likewise.
35692         * io/link.c: Likewise.
35693         * io/linkat.c: Likewise.
35694         * io/lseek.c: Likewise.
35695         * io/lseek64.c: Likewise.
35696         * io/lxstat64.c: Likewise.
35697         * io/mkdir.c: Likewise.
35698         * io/mkdirat.c: Likewise.
35699         * io/mkfifo.c: Likewise.
35700         * io/mkfifoat.c: Likewise.
35701         * io/open.c: Likewise.
35702         * io/open64.c: Likewise.
35703         * io/openat.c: Likewise.
35704         * io/openat64.c: Likewise.
35705         * io/pipe.c: Likewise.
35706         * io/pipe2.c: Likewise.
35707         * io/poll.c: Likewise.
35708         * io/posix_fadvise.c: Likewise.
35709         * io/posix_fadvise64.c: Likewise.
35710         * io/posix_fallocate.c: Likewise.
35711         * io/posix_fallocate64.c: Likewise.
35712         * io/read.c: Likewise.
35713         * io/readlink.c: Likewise.
35714         * io/readlinkat.c: Likewise.
35715         * io/rmdir.c: Likewise.
35716         * io/sendfile.c: Likewise.
35717         * io/sendfile64.c: Likewise.
35718         * io/statfs.c: Likewise.
35719         * io/statfs64.c: Likewise.
35720         * io/statvfs.c: Likewise.
35721         * io/statvfs64.c: Likewise.
35722         * io/symlink.c: Likewise.
35723         * io/symlinkat.c: Likewise.
35724         * io/ttyname.c: Likewise.
35725         * io/ttyname_r.c: Likewise.
35726         * io/umask.c: Likewise.
35727         * io/unlink.c: Likewise.
35728         * io/unlinkat.c: Likewise.
35729         * io/utime.c: Likewise.
35730         * io/utimensat.c: Likewise.
35731         * io/write.c: Likewise.
35732         * io/xmknod.c: Likewise.
35733         * io/xmknodat.c: Likewise.
35734         * io/xstat.c: Likewise.
35735         * io/xstat64.c: Likewise.
35736         * login/getpt.c: Likewise.
35737         * login/grantpt.c: Likewise.
35738         * login/unlockpt.c: Likewise.
35739         * math/e_acoshl.c: Likewise.
35740         * math/e_acosl.c: Likewise.
35741         * math/e_asinl.c: Likewise.
35742         * math/e_atan2l.c: Likewise.
35743         * math/e_atanhl.c: Likewise.
35744         * math/e_coshl.c: Likewise.
35745         * math/e_expl.c: Likewise.
35746         * math/e_fmodl.c: Likewise.
35747         * math/e_gammal_r.c: Likewise.
35748         * math/e_hypotl.c: Likewise.
35749         * math/e_j0l.c: Likewise.
35750         * math/e_j1l.c: Likewise.
35751         * math/e_jnl.c: Likewise.
35752         * math/e_lgammal_r.c: Likewise.
35753         * math/e_log10l.c: Likewise.
35754         * math/e_log2l.c: Likewise.
35755         * math/e_logl.c: Likewise.
35756         * math/e_powl.c: Likewise.
35757         * math/e_rem_pio2l.c: Likewise.
35758         * math/e_sinhl.c: Likewise.
35759         * math/e_sqrtl.c: Likewise.
35760         * math/fclrexcpt.c: Likewise.
35761         * math/fedisblxcpt.c: Likewise.
35762         * math/feenablxcpt.c: Likewise.
35763         * math/fegetenv.c: Likewise.
35764         * math/fegetexcept.c: Likewise.
35765         * math/fegetround.c: Likewise.
35766         * math/feholdexcpt.c: Likewise.
35767         * math/fesetenv.c: Likewise.
35768         * math/fesetround.c: Likewise.
35769         * math/feupdateenv.c: Likewise.
35770         * math/fgetexcptflg.c: Likewise.
35771         * math/fraiseexcpt.c: Likewise.
35772         * math/fsetexcptflg.c: Likewise.
35773         * math/ftestexcept.c: Likewise.
35774         * math/k_cosl.c: Likewise.
35775         * math/k_rem_pio2l.c: Likewise.
35776         * math/k_sinl.c: Likewise.
35777         * math/k_tanl.c: Likewise.
35778         * math/s_asinhl.c: Likewise.
35779         * math/s_atanl.c: Likewise.
35780         * math/s_cbrtl.c: Likewise.
35781         * math/s_erfl.c: Likewise.
35782         * math/s_expm1l.c: Likewise.
35783         * math/s_log1pl.c: Likewise.
35784         * math/s_tanhl.c: Likewise.
35785         * misc/acct.c: Likewise.
35786         * misc/brk.c: Likewise.
35787         * misc/chflags.c: Likewise.
35788         * misc/chroot.c: Likewise.
35789         * misc/fchflags.c: Likewise.
35790         * misc/fgetxattr.c: Likewise.
35791         * misc/flistxattr.c: Likewise.
35792         * misc/fremovexattr.c: Likewise.
35793         * misc/fsetxattr.c: Likewise.
35794         * misc/fsync.c: Likewise.
35795         * misc/ftruncate.c: Likewise.
35796         * misc/futimes.c: Likewise.
35797         * misc/futimesat.c: Likewise.
35798         * misc/getdomain.c: Likewise.
35799         * misc/getdtsz.c: Likewise.
35800         * misc/gethostid.c: Likewise.
35801         * misc/gethostname.c: Likewise.
35802         * misc/getloadavg.c: Likewise.
35803         * misc/getpagesize.c: Likewise.
35804         * misc/getsysstats.c: Likewise.
35805         * misc/getxattr.c: Likewise.
35806         * misc/gtty.c: Likewise.
35807         * misc/ioctl.c: Likewise.
35808         * misc/lgetxattr.c: Likewise.
35809         * misc/listxattr.c: Likewise.
35810         * misc/llistxattr.c: Likewise.
35811         * misc/lremovexattr.c: Likewise.
35812         * misc/lsetxattr.c: Likewise.
35813         * misc/lutimes.c: Likewise.
35814         * misc/madvise.c: Likewise.
35815         * misc/mincore.c: Likewise.
35816         * misc/mlock.c: Likewise.
35817         * misc/mlockall.c: Likewise.
35818         * misc/mmap.c: Likewise.
35819         * misc/mprotect.c: Likewise.
35820         * misc/msync.c: Likewise.
35821         * misc/munlock.c: Likewise.
35822         * misc/munlockall.c: Likewise.
35823         * misc/munmap.c: Likewise.
35824         * misc/preadv.c: Likewise.
35825         * misc/preadv64.c: Likewise.
35826         * misc/ptrace.c: Likewise.
35827         * misc/pwritev.c: Likewise.
35828         * misc/pwritev64.c: Likewise.
35829         * misc/readv.c: Likewise.
35830         * misc/reboot.c: Likewise.
35831         * misc/remap_file_pages.c: Likewise.
35832         * misc/removexattr.c: Likewise.
35833         * misc/revoke.c: Likewise.
35834         * misc/select.c: Likewise.
35835         * misc/setdomain.c: Likewise.
35836         * misc/setegid.c: Likewise.
35837         * misc/seteuid.c: Likewise.
35838         * misc/sethostid.c: Likewise.
35839         * misc/sethostname.c: Likewise.
35840         * misc/setregid.c: Likewise.
35841         * misc/setreuid.c: Likewise.
35842         * misc/setxattr.c: Likewise.
35843         * misc/sstk.c: Likewise.
35844         * misc/stty.c: Likewise.
35845         * misc/swapoff.c: Likewise.
35846         * misc/swapon.c: Likewise.
35847         * misc/sync.c: Likewise.
35848         * misc/syncfs.c: Likewise.
35849         * misc/syscall.c: Likewise.
35850         * misc/truncate.c: Likewise.
35851         * misc/ualarm.c: Likewise.
35852         * misc/usleep.c: Likewise.
35853         * misc/ustat.c: Likewise.
35854         * misc/utimes.c: Likewise.
35855         * misc/vhangup.c: Likewise.
35856         * misc/writev.c: Likewise.
35857         * posix/_exit.c: Likewise.
35858         * posix/alarm.c: Likewise.
35859         * posix/execve.c: Likewise.
35860         * posix/fexecve.c: Likewise.
35861         * posix/fork.c: Likewise.
35862         * posix/fpathconf.c: Likewise.
35863         * posix/getaddrinfo.c: Likewise.
35864         * posix/getegid.c: Likewise.
35865         * posix/geteuid.c: Likewise.
35866         * posix/getgid.c: Likewise.
35867         * posix/getgroups.c: Likewise.
35868         * posix/getlogin.c: Likewise.
35869         * posix/getlogin_r.c: Likewise.
35870         * posix/getpgid.c: Likewise.
35871         * posix/getpid.c: Likewise.
35872         * posix/getppid.c: Likewise.
35873         * posix/getresgid.c: Likewise.
35874         * posix/getresuid.c: Likewise.
35875         * posix/getsid.c: Likewise.
35876         * posix/getuid.c: Likewise.
35877         * posix/glob64.c: Likewise.
35878         * posix/nanosleep.c: Likewise.
35879         * posix/pathconf.c: Likewise.
35880         * posix/pause.c: Likewise.
35881         * posix/posix_madvise.c: Likewise.
35882         * posix/pread.c: Likewise.
35883         * posix/pread64.c: Likewise.
35884         * posix/pwrite.c: Likewise.
35885         * posix/pwrite64.c: Likewise.
35886         * posix/sched_getaffinity.c: Likewise.
35887         * posix/sched_getp.c: Likewise.
35888         * posix/sched_gets.c: Likewise.
35889         * posix/sched_primax.c: Likewise.
35890         * posix/sched_primin.c: Likewise.
35891         * posix/sched_rr_gi.c: Likewise.
35892         * posix/sched_setaffinity.c: Likewise.
35893         * posix/sched_setp.c: Likewise.
35894         * posix/sched_sets.c: Likewise.
35895         * posix/sched_yield.c: Likewise.
35896         * posix/setgid.c: Likewise.
35897         * posix/setlogin.c: Likewise.
35898         * posix/setpgid.c: Likewise.
35899         * posix/setresgid.c: Likewise.
35900         * posix/setresuid.c: Likewise.
35901         * posix/setsid.c: Likewise.
35902         * posix/setuid.c: Likewise.
35903         * posix/sleep.c: Likewise.
35904         * posix/spawni.c: Likewise.
35905         * posix/sysconf.c: Likewise.
35906         * posix/times.c: Likewise.
35907         * posix/wait.c: Likewise.
35908         * posix/wait3.c: Likewise.
35909         * posix/wait4.c: Likewise.
35910         * posix/waitpid.c: Likewise.
35911         * resolv/gai_sigqueue.c: Likewise.
35912         * resource/getpriority.c: Likewise.
35913         * resource/getrlimit.c: Likewise.
35914         * resource/getrusage.c: Likewise.
35915         * resource/nice.c: Likewise.
35916         * resource/setpriority.c: Likewise.
35917         * resource/setrlimit.c: Likewise.
35918         * resource/ulimit.c: Likewise.
35919         * rt/aio_cancel.c: Likewise.
35920         * rt/aio_fsync.c: Likewise.
35921         * rt/aio_read.c: Likewise.
35922         * rt/aio_sigqueue.c: Likewise.
35923         * rt/aio_suspend.c: Likewise.
35924         * rt/aio_write.c: Likewise.
35925         * rt/clock_getres.c: Likewise.
35926         * rt/clock_gettime.c: Likewise.
35927         * rt/clock_nanosleep.c: Likewise.
35928         * rt/clock_settime.c: Likewise.
35929         * rt/lio_listio.c: Likewise.
35930         * rt/mq_close.c: Likewise.
35931         * rt/mq_getattr.c: Likewise.
35932         * rt/mq_notify.c: Likewise.
35933         * rt/mq_open.c: Likewise.
35934         * rt/mq_receive.c: Likewise.
35935         * rt/mq_send.c: Likewise.
35936         * rt/mq_setattr.c: Likewise.
35937         * rt/mq_timedreceive.c: Likewise.
35938         * rt/mq_timedsend.c: Likewise.
35939         * rt/mq_unlink.c: Likewise.
35940         * rt/shm_open.c: Likewise.
35941         * rt/shm_unlink.c: Likewise.
35942         * rt/timer_create.c: Likewise.
35943         * rt/timer_delete.c: Likewise.
35944         * rt/timer_getoverr.c: Likewise.
35945         * rt/timer_gettime.c: Likewise.
35946         * rt/timer_settime.c: Likewise.
35947         * setjmp/__longjmp.c: Likewise.
35948         * setjmp/setjmp.c: Likewise.
35949         * signal/kill.c: Likewise.
35950         * signal/killpg.c: Likewise.
35951         * signal/raise.c: Likewise.
35952         * signal/sigaction.c: Likewise.
35953         * signal/sigaltstack.c: Likewise.
35954         * signal/sigblock.c: Likewise.
35955         * signal/sigignore.c: Likewise.
35956         * signal/sigintr.c: Likewise.
35957         * signal/signal.c: Likewise.
35958         * signal/sigpause.c: Likewise.
35959         * signal/sigpending.c: Likewise.
35960         * signal/sigqueue.c: Likewise.
35961         * signal/sigreturn.c: Likewise.
35962         * signal/sigset.c: Likewise.
35963         * signal/sigsetmask.c: Likewise.
35964         * signal/sigstack.c: Likewise.
35965         * signal/sigsuspend.c: Likewise.
35966         * signal/sigtimedwait.c: Likewise.
35967         * signal/sigvec.c: Likewise.
35968         * signal/sigwait.c: Likewise.
35969         * signal/sigwaitinfo.c: Likewise.
35970         * signal/sysv_signal.c: Likewise.
35971         * socket/accept.c: Likewise.
35972         * socket/accept4.c: Likewise.
35973         * socket/bind.c: Likewise.
35974         * socket/connect.c: Likewise.
35975         * socket/getpeername.c: Likewise.
35976         * socket/getsockname.c: Likewise.
35977         * socket/getsockopt.c: Likewise.
35978         * socket/isfdtype.c: Likewise.
35979         * socket/listen.c: Likewise.
35980         * socket/recv.c: Likewise.
35981         * socket/recvfrom.c: Likewise.
35982         * socket/recvmsg.c: Likewise.
35983         * socket/send.c: Likewise.
35984         * socket/sendmsg.c: Likewise.
35985         * socket/sendto.c: Likewise.
35986         * socket/setsockopt.c: Likewise.
35987         * socket/shutdown.c: Likewise.
35988         * socket/sockatmark.c: Likewise.
35989         * socket/socket.c: Likewise.
35990         * socket/socketpair.c: Likewise.
35991         * stdio-common/ctermid.c: Likewise.
35992         * stdio-common/cuserid.c: Likewise.
35993         * stdio-common/remove.c: Likewise.
35994         * stdio-common/rename.c: Likewise.
35995         * stdio-common/renameat.c: Likewise.
35996         * stdio-common/tempname.c: Likewise.
35997         * stdlib/getcontext.c: Likewise.
35998         * stdlib/makecontext.c: Likewise.
35999         * stdlib/setcontext.c: Likewise.
36000         * stdlib/swapcontext.c: Likewise.
36001         * stdlib/system.c: Likewise.
36002         * streams/fattach.c: Likewise.
36003         * streams/fdetach.c: Likewise.
36004         * streams/getmsg.c: Likewise.
36005         * streams/getpmsg.c: Likewise.
36006         * streams/putmsg.c: Likewise.
36007         * streams/putpmsg.c: Likewise.
36008         * sysdeps/unix/bsd/getpt.c: Likewise.
36009         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36010         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36011         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36013         Likewise.
36014         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36015         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36016         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36017         * sysvipc/msgctl.c: Likewise.
36018         * sysvipc/msgget.c: Likewise.
36019         * sysvipc/msgrcv.c: Likewise.
36020         * sysvipc/msgsnd.c: Likewise.
36021         * sysvipc/semctl.c: Likewise.
36022         * sysvipc/semget.c: Likewise.
36023         * sysvipc/semop.c: Likewise.
36024         * sysvipc/semtimedop.c: Likewise.
36025         * sysvipc/shmat.c: Likewise.
36026         * sysvipc/shmctl.c: Likewise.
36027         * sysvipc/shmdt.c: Likewise.
36028         * sysvipc/shmget.c: Likewise.
36029         * termios/tcdrain.c: Likewise.
36030         * termios/tcflow.c: Likewise.
36031         * termios/tcflush.c: Likewise.
36032         * termios/tcgetattr.c: Likewise.
36033         * termios/tcgetpgrp.c: Likewise.
36034         * termios/tcsendbrk.c: Likewise.
36035         * termios/tcsetattr.c: Likewise.
36036         * termios/tcsetpgrp.c: Likewise.
36037         * time/adjtime.c: Likewise.
36038         * time/clock.c: Likewise.
36039         * time/getitimer.c: Likewise.
36040         * time/gettimeofday.c: Likewise.
36041         * time/setitimer.c: Likewise.
36042         * time/settimeofday.c: Likewise.
36043         * time/stime.c: Likewise.
36044         * time/time.c: Likewise.
36046 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
36048         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36049         /usr/old/bin.
36051         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36052         instead of spaces.
36053         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36055 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
36057         [BZ #14796]
36058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36059         FE_TONEAREST before applying Dekker multiplication and Knuth
36060         addition.  Clear inexact exceptions and check for exact zero
36061         results afterwards.
36062         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36063         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36064         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36065         * math/libm-test.inc (fma_test): Add more tests.
36066         (fma_test_towardzero): Likewise.
36067         (fma_test_downward): Likewise.
36068         (fma_test_upward): Likewise.
36069         * sysdeps/generic/math_private.h (default_libc_fesetround): New
36070         function.
36071         (libc_fesetround): New macro.
36072         (libc_fesetroundf): Likewise.
36073         (libc_fesetroundl): Likewise.
36074         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36075         function.
36076         (libc_fesetround_387): Likewise.
36077         (libc_fesetroundf): New macro.
36078         (libc_fesetround): Likewise.
36079         (libc_fesetroundl): Likewise.
36080         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36081         function.
36082         (libc_fesetroundf): New macro.
36083         (libc_fesetround): Likewise.
36084         (libc_fesetroundl): Likewise.
36085         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36086         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36087         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36088         libm_hidden_ver.
36089         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36090         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36091         libm_hidden_def.
36092         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36093         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36094         libm_hidden_ver.
36095         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36096         libm_hidden_def.
36098         [BZ #3439]
36099         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36100         integer constant usable in #if and use that to give value to enum
36101         constant.
36102         (FE_DIVBYZERO): Likewise.
36103         (FE_UNDERFLOW): Likewise.
36104         (FE_OVERFLOW): Likewise.
36105         (FE_INVALID): Likewise.
36106         (FE_INVALID_SNAN): Likewise.
36107         (FE_INVALID_ISI): Likewise.
36108         (FE_INVALID_IDI): Likewise.
36109         (FE_INVALID_ZDZ): Likewise.
36110         (FE_INVALID_IMZ): Likewise.
36111         (FE_INVALID_COMPARE): Likewise.
36112         (FE_INVALID_SOFTWARE): Likewise.
36113         (FE_INVALID_SQRT): Likewise.
36114         (FE_INVALID_INTEGER_CONVERSION): Likewise.
36115         (FE_TONEAREST): Likewise.
36116         (FE_TOWARDZERO): Likewise.
36117         (FE_UPWARD): Likewise.
36118         (FE_DOWNWARD): Likewise.
36119         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36120         (FE_DIVBYZERO): Likewise.
36121         (FE_OVERFLOW): Likewise.
36122         (FE_UNDERFLOW): Likewise.
36123         (FE_INEXACT): Likewise.
36124         (FE_TONEAREST): Likewise.
36125         (FE_DOWNWARD): Likewise.
36126         (FE_UPWARD): Likewise.
36127         (FE_TOWARDZERO): Likewise.
36128         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36129         (FE_UNDERFLOW): Likewise.
36130         (FE_OVERFLOW): Likewise.
36131         (FE_DIVBYZERO): Likewise.
36132         (FE_INVALID): Likewise.
36133         (FE_TONEAREST): Likewise.
36134         (FE_TOWARDZERO): Likewise.
36135         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36136         (FE_OVERFLOW): Likewise.
36137         (FE_UNDERFLOW): Likewise.
36138         (FE_DIVBYZERO): Likewise.
36139         (FE_INEXACT): Likewise.
36140         (FE_TONEAREST): Likewise.
36141         (FE_TOWARDZERO): Likewise.
36142         (FE_UPWARD): Likewise.
36143         (FE_DOWNWARD): Likewise.
36144         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36145         (FE_DIVBYZERO): Likewise.
36146         (FE_OVERFLOW): Likewise.
36147         (FE_UNDERFLOW): Likewise.
36148         (FE_INEXACT): Likewise.
36149         (FE_TONEAREST): Likewise.
36150         (FE_DOWNWARD): Likewise.
36151         (FE_UPWARD): Likewise.
36152         (FE_TOWARDZERO): Likewise.
36154 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
36156         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36158 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
36160         * scripts/cross-test-ssh.sh (command): Use newlines to separate
36161         commands.  Quote $PWD.
36162         (blacklist_exports): Don't use remove_newlines.  Replace "declare
36163         -x" by "export".
36164         (remove_newlines): Remove.
36166 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
36168         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36169         * stdlib/stdlib.h (atof): Moved to ...
36170         * include/bits/stdlib-float.h: Here.  New file.
36171         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36172         * stdlib/bits/stdlib-float.h: New file.
36173         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36174         -mno-sse -mno-mmx.
36175         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36176         <xmmintrin.h>.
36178 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36180         * conform/conformtest.pl (@headers): Add fenv.h.
36181         * conform/data/fenv.h-data: New file.
36182         * include/fenv.h [_ISOMAC]: Disable all contents of file except
36183         include of <math/fenv.h>.
36185         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36186         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36187         && !UNIX98].  Enables tests for XOPEN2K8.
36188         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36189         POSIX2008]: Likewise.
36191         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36192         (struct rusage): Do not expect type or its members.
36194         [BZ #3439]
36195         * math/math.h (FP_NAN): Define macro to integer constant usable in
36196         #if and use that to give value to enum constant.
36197         (FP_INFINITE): Likewise.
36198         (FP_ZERO): Likewise.
36199         (FP_SUBNORMAL): Likewise.
36200         (FP_NORMAL): Likewise.
36202 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
36204         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36205         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36206         arguments.
36208 2012-11-02  Roland McGrath  <roland@hack.frob.com>
36210         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36211         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36212         autoconf-time if not.
36213         * configure.in: Remove AC_PREREQ.
36215 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36217         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36218         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36219         of the internal implementation.
36221 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36223         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36224         except include of <misc/sys/syslog.h>.
36226 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36229         function returns with a NULL context exit with zero.
36231 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36233         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36235 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
36237         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36238         (run_program_cmd): This.
36239         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36240         (tst_langinfo): New variable.  Use it.
36242 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
36244         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36245         floating point opcodes.
36247 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36249         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36250         variable.
36252         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36254         * sysdeps/mach/hurd/powerpc: Remove directory.
36255         * sysdeps/mach/powerpc: Likewise.
36257 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36259         * scripts/check-local-headers.sh: Ignore c++ headers.
36261 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36263         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36264         __libc_cleanup_region_start argument.
36266 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
36268         [BZ #14784]
36269         [BZ #14785]
36270         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36271         x * y using scaling, not as x * y + z.
36272         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36273         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36274         * math/libm-test.inc (fma_test): Add more tests.
36275         (fma_test_towardzero): Likewise.
36276         (fma_test_downward): Likewise.
36277         (fma_test_upward): Likewise.
36279 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36281         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36283 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
36285         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36286         New variable.
36288 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
36290         * rt/tst-shm.c (worker): Correct checking for mmap failure.
36292 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
36294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36295         Fix sort order.
36296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36297         Likewise.
36299 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36302         Fix the order of the list for glibc 2.17.
36303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36304         Likewise.
36306 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
36308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36310 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
36312         [BZ #14610]
36313         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36314         for low part of x being zero before using __atanl (y).
36315         * math/libm-test.inc (atan2_test): Add another test.
36317         * manual/install.texi (Configuring and compiling): Document
36318         general use of test-wrapper and test-wrapper-env.
36319         * INSTALL: Regenerated.
36321         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36322         (__fma): Do not extract and scale down low bits on after-rounding
36323         systems when result rounded to normal precision would have normal
36324         exponent.
36325         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36326         (__fmal): Do not extract and scale down low bits on after-rounding
36327         systems when result rounded to normal precision would have normal
36328         exponent.
36329         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36330         (__fmal): Do not extract and scale down low bits on after-rounding
36331         systems when result rounded to normal precision would have normal
36332         exponent.
36333         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36334         macro.
36335         (fma_test): Add more tests.
36336         (fma_test_towardzero): Likewise.
36337         (fma_test_downward): Likewise.
36338         (fma_test_upward): Likewise.
36340 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
36342         * sysdeps/i386/tininess.h: Renamed to ...
36343         * sysdeps/x86/tininess.h: This.
36344         * sysdeps/x86_64/tininess.h: Removed.
36346 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
36348         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36349         input.  Use $(build-program-cmd).
36350         ($(objpfx)tst-array1-static.out): Likewise.
36351         ($(objpfx)tst-array2.out): Likewise.
36352         ($(objpfx)tst-array3.out): Likewise.
36353         ($(objpfx)tst-array4.out): Likewise.
36354         ($(objpfx)tst-array5.out): Likewise.
36355         ($(objpfx)tst-array5-static.out): Likewise.
36357 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
36359         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36360         if defined.
36362         * nss/nsswitch.h (nss_interface_function): Provide new
36363         macro for use with NSS functions.
36364         * grp/initgroups.c: Use new macro.
36365         * nss/getXXbyYY.c: Likewise.
36366         * nss/getXXbyYY_r.c: Likewise.
36367         * nss/getXXent.c: Likewise.
36368         * nss/getXXent_r.c: Likewise.
36369         * sysdeps/posix/getaddrinfo.c: Likewise.
36371 2012-10-30  Andreas Jaeger  <aj@suse.de>
36373         * po/ru.po: Update Russion translation from translation project.
36375 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
36377         [BZ #14152]
36378         [BZ #14783]
36379         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36380         result and shift together with sticky bit instead of replicating
36381         round-to-nearest rounding.
36382         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36383         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36384         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
36385         missing underflow exceptions.
36386         (fma_test_towardzero): Add more tests.
36387         (fma_test_downward): Likewise.
36388         (fma_test_upward): Likewise.
36390         [BZ #14047]
36391         * sysdeps/generic/tininess.h: New file.
36392         * sysdeps/i386/tininess.h: Likewise.
36393         * sysdeps/sh/tininess.h: Likewise.
36394         * sysdeps/x86_64/tininess.h: Likewise.
36395         * stdlib/tst-strtod-underflow.c: Likewise.
36396         * stdlib/tst-tininess.c: Likewise.
36397         * stdlib/strtod_l.c: Include <tininess.h>.
36398         (round_and_return): Do not set errno for exact underflow cases.
36399         Force an underflow exception when setting errno for underflow.
36400         Determine underflow based on rounding to normal precision if
36401         TININESS_AFTER_ROUNDING.
36402         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36403         ERANGE for exact underflow cases.
36404         * stdlib/Makefile (tests): Add tst-tininess and
36405         tst-strtod-underflow.
36406         ($(objpfx)tst-tininess): Use $(link-libm).
36407         ($(objpfx)tst-strtod-underflow): Likewise.
36409 2012-10-30  Andreas Jaeger  <aj@suse.de>
36411         [BZ#14767]
36412         * elf/Makefile (tests): Remove conditional for have-initfini-array
36413         since this is now always required and the variable does not exist
36414         anymore.
36415         (tests-static): Likewise.
36416         (modules-names): Likewise.
36418         * po/eo.po: Add Esperanto translation from translation project.
36420         * elf/tst-array1.c (fini_array): Make writeable so that it can be
36421         merged with constructor/destructor.
36422         (init_array): Likewise.
36423         * elf/tst-array2dep.c (fini_array): Likewise.
36424         (init_array): Likewise.
36426 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
36428         * manual/message.texi: Delete @cartouche tags.
36430 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
36432         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36433         EOPNOTSUPP.
36434         * sysdeps/mach/hurd/fsync.c: Likewise.
36436         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36437         [_POSIX_REALTIME_SIGNALS]: Change condition to
36438         [_POSIX_REALTIME_SIGNALS > 0].
36440 2012-10-27  Andreas Jaeger  <aj@suse.de>
36442         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36443         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36444         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36445         [__WORDSIZE != 64]: Likewise.
36447 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
36449         *  iconvdata/tst-table.sh: Remove ${SHELL}.
36450         *  iconvdata/tst-tables.sh: Likewise.
36452 2012-10-25  David S. Miller  <davem@davemloft.net>
36454         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36455         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36456         of strtoull.
36458         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36459         ifunc-impl-list.c
36460         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36461         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36462         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36463         file.
36465 2012-10-25  Roland McGrath  <roland@hack.frob.com>
36467         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36468         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36469         __getdirentries.
36471 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36472             Jim Blandy  <jimb@codesourcery.com>
36474         * scripts/cross-test-ssh.sh: New file.
36475         * manual/install.texi (Configuring and compiling): Document use of
36476         cross-test-ssh.sh.
36477         * INSTALL: Regenerated.
36479 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
36481         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36482         EOPNOTSUPP.
36484 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36486         * Makeconfig (run-program-prefix): Fix comment.
36488 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36489             Jim Blandy  <jimb@codesourcery.com>
36491         * Makeconfig (test-wrapper): New variable,
36492         (test-wrapper-env): Likewise.
36493         [$(cross-compiling) = yes && $(test-wrapper) != ""]
36494         (run-built-tests): Define to yes.
36495         (run-program-prefix): Use $(test-wrapper).
36496         (built-program-cmd): Likewise.
36497         * Rules (make-test-out): Use $(test-wrapper-env) and
36498         $(host-built-program-cmd).
36499         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36500         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36501         tst-pathopt.sh.
36502         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36503         $(test-wrapper-env) to tst-rtld-load-self.sh.
36504         ($(objpfx)order2.out): Use $(test-wrapper).
36505         ($(objpfx)tst-initorder.out): Likewise.
36506         ($(objpfx)tst-initorder2.out): Likewise.
36507         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36508         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36509         (test_wrapper_env): New variable.  Use it to run ld.so.
36510         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36511         Use it to run ld.so.
36512         (test_wrapper_env): Likewise.
36513         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36514         $(test-wrapper) to run-iconv-test.sh.
36515         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36516         (ICONV): Use $test_wrapper.
36517         * posix/Makefile ($(objpfx)globtest.out): Pass
36518         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36519         globtest.sh, not $(run-program-prefix).
36520         * posix/globtest.sh (run_via_rtld_prefix): New variable.
36521         (test_wrapper): Likewise.
36522         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
36523         set together with run_via_rtld_prefix.
36524         (run_program_prefix): Define in terms of test_wrapper and
36525         run_via_rtld_prefix.
36527 2012-10-24  Roland McGrath  <roland@hack.frob.com>
36529         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36530         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36531         Targets removed.
36533         [BZ #14743]
36534         * include/time.h: Remove librt_hidden_proto (clock_gettime).
36535         Declare __clock_getres, __clock_gettime, __clock_settime,
36536         __clock_nanosleep, and __clock_getcpuclockid.
36537         * rt/clock_gettime.c: Define __clock_gettime as an alias.
36538         Remove librt_hidden_def (clock_gettime).
36539         * sysdeps/unix/clock_gettime.c: Likewise.
36540         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36541         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36542         * rt/clock_getres.c: Define __clock_getres as an alias.
36543         * sysdeps/posix/clock_getres.c: Likewise.
36544         * rt/clock_settime.c: Define __clock_settime as an alias.
36545         * sysdeps/unix/clock_settime.c: Likewise.
36546         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36547         * sysdeps/unix/clock_nanosleep.c: Likewise.
36548         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36549         * rt/clock-compat.c: New file.
36550         * rt/Makefile (librt-routines): Add clock-compat and move
36551         $(clock-routines) to ...
36552         (routines): ... here, new variable.
36553         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36554         Don't add get_clockfreq here.
36555         * rt/Versions (libc: GLIBC_2.17): New version set.
36556         Add clock_* symbols here.
36557         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
36558         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36559         (GLIBC_2.17): Add clock_* symbols.
36560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36562         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36564         Likewise.
36565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36566         Likewise.
36567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36571         * NEWS: Mention the move.
36573         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36574         Use __open, __read, __close rather than their public counterparts.
36575         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36576         (__get_clockfreq_via_cpuinfo): Likewise.
36577         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36578         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36580         * config.h.in (HAVE_IFUNC): New #undef.
36581         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36582         was successful.
36583         * configure: Regenerated.
36585 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36587         * configure.in: Move READELF check to start of file.
36588         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36589         libc_cv_asm_gnu_indirect_function in the process.
36590         * configure: Regenerated.
36592 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36594         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36595         send the output to /dev/null.
36596         (libc_cv_cc_with_libunwind): Likewise.
36597         (libc_cv_as_noexecstack): Likewise.
36598         * configure: Regenerate.
36600 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36602         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36604         * posix/globtest.sh (TMPDIR): Do not set.
36605         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36606         (testout): Likewise.
36608 2012-10-24  Andreas Jaeger  <aj@suse.de>
36610         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36611         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36612         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36613         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36614         posix_fadvise64, posix_fallocate64.
36616         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36617         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36618         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36619         Likewise.
36620         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36621         Likewise.
36622         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36624         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36625         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36626         <bits/fcntl-linux.h>.
36627         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36630         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36631         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36632         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36633         [__WORDSIZE != 64]: Likewise.
36635 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36637         * Makeconfig (run-built-tests): New variable.
36638         * Rules [$(cross-compiling) = yes]: Change condition to
36639         [$(run-built-tests) = no].
36640         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36641         to [$(run-built-tests) = yes].
36642         * elf/Makefile [$(cross-compiling) = no]: Likewise
36643         * grp/Makefile [$(cross-compiling) = no]: Likewise.
36644         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36645         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36646         * intl/Makefile [$(cross-compiling) = no]: Likewise.
36647         * io/Makefile [$(cross-compiling) = no]: Likewise.
36648         * libio/Makefile [$(cross-compiling) = no]: Likewise.
36649         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36650         * misc/Makefile [$(cross-compiling) = no]: Likewise.
36651         * posix/Makefile [$(cross-compiling) = no]: Likewise.
36652         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36653         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36654         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36655         * string/Makefile [$(cross-compiling) = no]: Likewise.
36657         * posix/Makefile ($(objpfx)globtest.out): Pass
36658         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36659         $(rtld-installed-name).
36660         * posix/globtest.sh (elf_objpfx): Remove variable.
36661         (rtld_installed_name): Likewise.
36662         (library_path): Likewise.
36663         (run_program_prefix): New variable.  Use for running globtest
36664         binary.
36666 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
36667             Joseph Myers  <joseph@codesourcery.com>
36669         * Makeconfig (host-built-program-cmd): New variable.
36670         * elf/Makefile (tst-stackguard1-ARGS): Use
36671         $(host-built-program-cmd).
36672         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36673         (tst-spawn-ARGS): Likewise.
36674         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36676 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36677             Jim Blandy  <jimb@codesourcery.com>
36679         * Makeconfig (run-via-rtld-prefix): New variable.
36680         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36681         (built-program-cmd): Likewise.
36683 2012-10-22  Andreas Jaeger  <aj@suse.de>
36685         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36686         __O_RSYNC if it exists, otherwise to O_SYNC.
36688 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
36689             Joseph Myers  <joseph@codesourcery.com>
36691         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36692         /dev/null.
36693         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36694         from /dev/null
36695         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36696         /dev/null.
36698 2012-10-22  Andreas Jaeger  <aj@suse.de>
36700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36701         Define always.
36702         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36704         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36705         bits/fcntl-linux.h.
36707         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36708         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36710         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36711         to __O_LARGEFILE.
36712         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36713         to __O_LARGEFILE.
36715 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
36716             Joseph Myers  <joseph@codesourcery.com>
36718         * config.make.in (NM): New variable.
36720 2012-10-21  Andreas Jaeger  <aj@suse.de>
36722         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36723         definitions and declarations that are provided by
36724         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36726 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36728         [BZ #14683]
36729         * elf/Makefile (tests-static): Add tst-leaks1-static.
36730         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36731         ($(objpfx)tst-leaks1-static): New rule.
36732         ($(objpfx)tst-leaks1-static-mem): Likewise.
36733         (tst-leaks1-static-ENV): New macro.
36734         * elf/dl-open.c (dl_open_worker): Check the main application
36735         only if SHARED is defined.
36736         * elf/tst-leaks1-static.c: New file.
36738 2012-10-20  Andreas Jaeger  <aj@suse.de>
36740         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36741         generic values for Linux.
36742         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36743         and declarations that are provided by <bits/fcntl-linux.h> and
36744         include <bits/fcntl-linux.h>.
36745         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36746         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36748 2012-10-20  Roland McGrath  <roland@hack.frob.com>
36750         * io/fcntl.h: Move include of <bits/types.h> to the top and
36751         include it unconditionally.
36753 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36755         * wcsmbs/Makefile (tests-ifunc): New variable.
36756         (tests): Add $(tests-ifunc).
36757         * wcsmbs/test-wcschr-ifunc.c: New file.
36758         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36759         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36760         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36761         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36762         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36764         * string/Makefile (tests-ifunc): New variable.
36765         (tests): Add $(tests-ifunc).
36766         * string/test-memccpy.c (TEST_NAME): New macro.
36767         * string/test-memchr.c (TEST_NAME): Likewise.
36768         * string/test-memcmp.c (TEST_NAME): Likewise.
36769         * string/test-memcpy.c (TEST_NAME): Likewise.
36770         * string/test-memmem.c (TEST_NAME): Likewise.
36771         * string/test-memmove.c (TEST_NAME): Likewise.
36772         * string/test-memset.c (TEST_NAME): Likewise.
36773         * string/test-rawmemchr.c (TEST_NAME): Likewise.
36774         * string/test-stpcpy.c (TEST_NAME): Likewise.
36775         * string/test-stpncpy.c (TEST_NAME): Likewise.
36776         * string/test-strcasecmp.c (TEST_NAME): Likewise.
36777         * string/test-strcasestr.c (TEST_NAME): Likewise.
36778         * string/test-strcat.c (TEST_NAME): Likewise.
36779         * string/test-strchr.c (TEST_NAME): Likewise.
36780         * string/test-strcmp.c(TEST_NAME): Likewise.
36781         * string/test-strcpy.c (TEST_NAME): Likewise.
36782         * string/test-strcspn.c (TEST_NAME): Likewise.
36783         * string/test-strlen.c (TEST_NAME): Likewise.
36784         * string/test-strncasecmp.c (TEST_NAME): Likewise.
36785         * string/test-strncmp.c (TEST_NAME): Likewise.
36786         * string/test-strncpy.c (TEST_NAME): Likewise.
36787         * string/test-strnlen.c (TEST_NAME): Likewise.
36788         * string/test-strpbrk.c (TEST_NAME): Likewise.
36789         * string/test-strrchr.c (TEST_NAME): Likewise.
36790         * string/test-strspn.c (TEST_NAME): Likewise.
36791         * string/test-strstr.c (TEST_NAME): Likewise.
36792         * string/test-bcopy-ifunc.c: New file.
36793         * string/test-bzero-ifunc.c: Likewise.
36794         * string/test-memccpy-ifunc.c: Likewise.
36795         * string/test-memchr-ifunc.c: Likewise.
36796         * string/test-memcmp-ifunc.c: Likewise.
36797         * string/test-memcpy-ifunc.c: Likewise.
36798         * string/test-memmem-ifunc.c: Likewise.
36799         * string/test-memmove-ifunc.c: Likewise.
36800         * string/test-mempcpy-ifunc.c: Likewise.
36801         * string/test-memset-ifunc.c: Likewise.
36802         * string/test-rawmemchr-ifunc.c: Likewise.
36803         * string/test-stpcpy-ifunc.c: Likewise.
36804         * string/test-stpncpy-ifunc.c: Likewise.
36805         * string/test-strcasecmp-ifunc.c: Likewise.
36806         * string/test-strcasestr-ifunc.c: Likewise.
36807         * string/test-strcat-ifunc.c: Likewise.
36808         * string/test-strchr-ifunc.c: Likewise.
36809         * string/test-strchrnul-ifunc.c: Likewise.
36810         * string/test-strcmp-ifunc.c: Likewise.
36811         * string/test-strcpy-ifunc.c: Likewise.
36812         * string/test-strcspn-ifunc.c: Likewise.
36813         * string/test-strlen-ifunc.c: Likewise.
36814         * string/test-strncasecmp-ifunc.c: Likewise.
36815         * string/test-strncat-ifunc.c: Likewise.
36816         * string/test-strncmp-ifunc.c: Likewise.
36817         * string/test-strncpy-ifunc.c: Likewise.
36818         * string/test-strnlen-ifunc.c: Likewise.
36819         * string/test-strpbrk-ifunc.c: Likewise.
36820         * string/test-strrchr-ifunc.c: Likewise.
36821         * string/test-strspn-ifunc.c: Likewise.
36822         * string/test-strstr-ifunc.c: Likewise.
36824         * debug/Makefile (tests-ifunc): New variable.
36825         (tests): Add $(tests-ifunc).
36826         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36827         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36828         * debug/test-stpcpy_chk-ifunc.c: New file.
36829         * debug/test-strcpy_chk-ifunc.c: Likewise.
36831 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36833         [BZ #13601]
36834         * elf/dl-load.c (open_verify): Retry read if the entire ELF
36835         header is not read in.
36837 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
36839         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
36840         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
36841         directly.  Pass built executable to script as
36842         $(built-program-cmd).
36843         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
36844         $testprogram without using LD_LIBRARY_PATH and $ldso.
36846         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36847         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36848         $(rtld-installed-name).
36849         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36850         (rtld_installed_name): Likewise.
36851         (library_path): Likewise.
36852         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
36853         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36854         $(run-program-prefix) to tst-tables.sh.
36855         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
36856         it to run tst-table-from and tst-table-to.
36857         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36858         Pass it to tst-table.sh.
36859         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36860         $(run-program-prefix) to tst-gettext.sh.
36861         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36862         tst-translit.sh.
36863         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36864         tst-gettext2.sh.
36865         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
36866         to run tst-gettext.
36867         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
36868         to run tst-gettext2.
36869         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
36870         to run tst-translit.
36871         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36872         $(run-program-prefix) to tst-mtrace.sh.
36873         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
36874         to run tst-mtrace.
36875         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36876         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36877         $(rtld-installed-name).
36878         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36879         (rtld_installed_name): Likewise.
36880         (run_program_prefix): New variable.  Use it to run wordexp-test.
36882         * Makeconfig (ARCH): Remove all definitions.
36883         (machine): Likewise.
36884         [ARCH]: Remove conditional code.
36885         [!objdir]: Give error.
36886         [!objdir] (objpfx): Remove.
36887         [!objdir] (common-objpfx): Likewise.
36888         [!objdir] (common-objdir): Likewise.
36889         * configure.in (config_makefile): Remove.  Hardcode Makefile in
36890         AC_CONFIG_FILES call.
36891         * configure: Regenerated.
36893         [BZ #13888]
36894         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36895         or TMPDIR.
36896         (testout): Likewise.
36898         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36899         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36900         $(rtld-installed-name).
36901         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36902         (rtld_installed_name): Likwise.
36903         (runit): Remove function.
36904         (run_getconf): New variable,  Use it for running getconf binary.
36906 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
36908         [BZ #14716]
36909         * string/test-memmem.c (check_result): New function.
36910         (do_one_test): Use it.
36911         (check1): New function.
36912         (test_main): Use it.
36914 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
36916         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36918 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
36920         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36921         (_G_LSEEK64): Likewise.
36922         (_G_MMAP64): Likewise.
36923         (_G_FSTAT64): Likewise.
36924         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36925         (_G_LSEEK64): Likewise.
36926         (_G_MMAP64): Likewise.
36927         (_G_FSTAT64): Likewise.
36928         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36929         unconditional.  Call __mmap64 directly.
36930         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36931         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
36932         __lseek64 directly.
36933         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36934         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
36935         __mmap64 directly.
36936         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36937         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36938         __lseek64 directly.
36939         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36940         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36941         __lseek64 directly.
36942         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36943         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
36944         __lseek64 directly.
36945         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36946         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
36947         __fxstat64 directly.
36948         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36949         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36950         unconditional.
36951         (freopen64) [!_G_OPEN64]: Remove conditional code.
36952         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36953         unconditional.
36954         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36955         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36956         unconditional.
36957         (ftello64) [!_G_LSEEK64]: Remove conditional code.
36958         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36959         unconditional.
36960         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36961         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36962         unconditional.
36963         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36964         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36965         unconditional.
36966         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36967         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36968         unconditional.
36969         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36970         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36971         unconditional.
36972         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36974 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36976         [BZ #12140]
36977         * manual/memory.texi (Malloc Tunable Parameters): Add note
36978         about free list pointers overwriting some perturb bytes.
36979         Wording suggested by Roland McGrath.
36981 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36983         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36984         (lgamma_test): Likewise.
36985         (tgamma_test): Likewise.
36987 2012-10-16  Florian Weimer  <fweimer@redhat.com>
36989         [BZ #14700]
36990         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36991         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36993 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
36995         * NEWS: Mention BZ #14716.
36996         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36997         when removing AVAILABLE1_USES_J macro.
36999 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
37001         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37002         (__bswap_64): __uint64_t for unsigned 64-bit int.
37004 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
37006         * include/string.h (memmem): Declare libc hidden alias.
37007         * string/memmem.c (memmem): Define libc hidden alias.
37008         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37009         __read, __close instead of open, read, close.
37011 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
37013         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37014         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37015         global and hidden.
37016         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37017         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37018         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37019         Likewise.
37020         (__rawmemchr_sse2): Likewise.
37021         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37022         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37023         (__strchr_sse2): Likewise.
37024         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37025         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37026         (__strcasecmp_sse2): Likewise.
37027         (__strncasecmp_sse2): Likewise.
37028         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37029         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37030         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37031         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37032         (__strrchr_sse2): Likewise.
37033         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37034         ifunc-impl-list.c.
37035         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37036         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37037         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37038         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37039         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37040         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37041         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37042         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37043         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37044         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37045         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37046         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37047         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37048         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37049         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37050         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37051         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37052         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37053         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37054         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37055         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37056         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37057         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37058         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37059         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37060         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37061         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37062         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37063         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37064         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37066         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37067         global and hidden.
37068         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37069         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37070         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37071         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37072         Likewise.
37073         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37074         Likewise.
37075         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37076         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37077         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37078         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37079         ifunc-impl-list.c.
37080         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37081         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37082         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37083         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37084         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37085         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37086         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37087         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37088         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37089         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37090         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37091         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37092         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37093         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37094         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37095         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37096         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37097         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37098         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37099         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37100         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37101         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37102         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37103         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37104         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37105         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37106         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37107         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37108         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37109         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37110         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37111         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37112         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37113         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37114         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37115         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37116         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37117         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37118         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37119         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37120         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37122         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37123         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37124         * include/ifunc-impl-list.h: New file.
37125         * misc/ifunc-impl-list.c: Likewise.
37126         * misc/Makefile (routines): Add ifunc-impl-list.
37127         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37128         * string/test-string.h: Include <ifunc-impl-list.h>.
37129         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37130         TEST_NAME]: New variables.
37131         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37132         are defined.
37133         (test_init): Call __libc_ifunc_impl_list to initialize
37134         func_list if TEST_IFUNC and TEST_NAME are defined.
37136         * string/Makefile (strop-tests): Add bcopy and bzero.
37137         * string/test-bcopy.c: New file.
37138         * string/test-bzero.c: Likewise.
37139         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37140         defined.
37141         * string/test-memset.c: Support bzero test if TEST_BZERO is
37142         defined.
37143         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37144         __libc_memmove.
37145         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37146         __libc_memset.
37147         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37148         of memset.
37150 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
37152         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37153         * configure: Regenerated.
37155         * Makeconfig (+link-static-before-libc): Don't include
37156         $(link-static-libc).
37158         * libio/libio.h (_IO_pos_t): Remove.
37160 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37162         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
37163         McGrath.
37165 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37167         * crypt/crypt-entry.c: Include fips-private.h.
37168         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37169         * crypt/md5c-test.c (main): Tolerate disabled MD5.
37170         * sysdeps/unix/sysv/linux/fips-private.h: New file.
37171         * sysdeps/generic/fips-private.h: New file, dummy fallback.
37173 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37175         * crypt/crypt-private.h: Include stdbool.h.
37176         (_ufc_setup_salt_r): Return bool.
37177         * crypt/crypt-entry.c: Include errno.h.
37178         (__crypt_r): Return NULL with EINVAL for bad salt.
37179         * crypt/crypt_util.c (bad_for_salt): New.
37180         (_ufc_setup_salt_r): Check that salt is long enough and within
37181         the specified alphabet.
37182         * crypt/badsalttest.c: New file.
37183         * crypt/Makefile (tests): Add it.
37184         ($(objpfx)badsalttest): New.
37186 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
37188         * NEWS: Add entry for BZ #14602.
37190 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37192         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37193         type-generic.
37194         * math/libm-test.inc: Update comment listing what functions and
37195         macros are tested.
37196         (isgreater_test): New function.
37197         (isgreaterequal_test): Likewise.
37198         (isless_test): Likewise.
37199         (islessequal_test): Likewise.
37200         (islessgreater_test): Likewise.
37201         (isunordered_test): Likewise.
37202         (main): Call the new functions.
37204 2012-10-09  Roland McGrath  <roland@hack.frob.com>
37206         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37207         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37208         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37209         * sysdeps/i386/configure: Regenerated.
37210         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37211         * sysdeps/mach/configure: Regenerated.
37212         * sysdeps/mach/hurd/configure: Regenerated.
37213         * sysdeps/powerpc/configure: Regenerated.
37214         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37215         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37216         * sysdeps/s390/s390-32/configure: Regenerated.
37217         * sysdeps/s390/s390-64/configure: Regenerated.
37218         * sysdeps/sh/configure: Regenerated.
37219         * sysdeps/sparc/configure: Regenerated.
37220         * sysdeps/unix/sysv/linux/configure: Regenerated.
37221         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37222         * sysdeps/x86_64/configure: Regenerated.
37224         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37225         defined.  Don't check if MAP is NULL.
37227 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37229         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37230         (_G_stat64): Likewise.
37231         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37232         (_G_stat64): Likewise.
37233         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37234         instead of struct _G_stat64.
37235         * libio/fileops.c (mmap_remap_check): Likewise.
37236         (decide_maybe_mmap): Likewise.
37237         (_IO_new_file_seekoff): Likewise.
37238         (_IO_file_stat): Likewise.
37239         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37240         _G_off64_t.
37241         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37242         instead of struct _G_stat64.
37243         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37245 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
37247         [BZ #14602]
37248         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37249         Replace with ...
37250         (CHECK_EOL): New macro.
37251         (two_way_short_needle): Check beginning of haystack for EOL.  Use
37252         CHECK_EOL.
37253         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37254         Replace with CHECK_EOL.
37255         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37256         Replace with CHECK_EOL.
37258 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
37260         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37261         type-generic.
37262         * math/libm-test.inc: Update comment listing what functions and
37263         macros are tested.
37264         (finite_test): New function.
37265         (isinf_test): Likewise.
37266         (isnan_test): Likewise.
37267         (fpclassify_test): Test subnormal input.
37268         (isfinite_test): Likewise.
37269         (isnormal_test): Likewise.
37270         (main): Call the new functions.
37272 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
37274         [BZ #14660]
37275         * Makerules (%.dynsym): Force C locale when running
37276         $(OBJDUMP) --dynamic-syms.
37278 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
37280         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37281         <stdint.h>.
37283 2012-10-06  David S. Miller  <davem@davemloft.net>
37285         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37286         upper 32-bits of the length value in %o2 since we use branch-on-register
37287         tests which consider the entire 64-bit register.
37289 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
37291         * string/test-strstr.c (check2): Add a test for page boundary.
37293 2012-10-05  David S. Miller  <davem@davemloft.net>
37295         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37296         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37297         file.
37298         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37299         sysdep_routines.
37300         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37301         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37302         and bzero when HWCAP_SPARC_CRYPTO is present.
37304 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
37306         [BZ #14602]
37307         * string/test-strstr.c (check2): New function.
37308         (test_main): Call check2.
37310         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37311         and bug-strchr1.
37312         * string/bug-strcasestr1.c (do_test): Moved to ...
37313         * string/test-strcasestr.c (check1): Here.  New function.
37314         (do_one_test): Break out result checking code into ...
37315         (check_result): This.  New function.
37316         (do_one_test): Call check_result.
37317         (test_main): Call check1.
37318         * string/bug-strchr1.c (do_test): Moved to ...
37319         * string/test-strchr.c (check1): Here.  New function.
37320         (do_one_test): Break out result checking code into ...
37321         (check_result): This.  New function.
37322         (do_one_test): Call check_result.
37323         (test_main): Call check1.
37324         * string/bug-strstr1.c (main): Moved to ...
37325         * string/test-strstr.c (check1): Here.  New function.
37326         (do_one_test): Break out result checking code into ...
37327         (check_result): This.  New function.
37328         (do_one_test): Call check_result.
37329         (test_main): Call check1.
37330         * string/bug-strcasestr1.c: Removed.
37331         * string/bug-strchr1.c: Likewise.
37332         * string/bug-strstr1.c: Likewise.
37334         * elf/Makefile (dl-routines): Add hwcaps.
37335         * elf/dl-support.c (_dl_important_hwcaps): Removed.
37336         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37337         (_dl_important_hwcaps): Moved to ...
37338         * elf/dl-hwcaps.c: Here.  New file.
37339         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37341         [BZ #14557]
37342         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37343         if IS_IN_rtld isn't defined.
37345         * elf/dl-support.c (_dl_sysinfo_map): New.
37346         Include "get-dynamic-info.h" and "setup-vdso.h".
37347         (_dl_non_dynamic_init): Call setup_vdso.
37348         * elf/dynamic-link.h: Don't include <assert.h>.
37349         (elf_get_dynamic_info): Moved to ...
37350         * elf/get-dynamic-info.h: Here.  New file.
37351         * elf/dynamic-link.h: Include "get-dynamic-info.h".
37352         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37353         * elf/setup-vdso.h: Here.  New file.
37354         * elf/rtld.c: Include "setup-vdso.h".
37355         (dl_main): Call setup_vdso.
37357 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
37359         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37360         creal in comment listing functions tested.  List finite, isinf,
37361         isnan, isless, islessequal, isgreater, isgreaterequal,
37362         islessgreater, isunordered, lgamma_r and pow10 as functions and
37363         macros not tested.  Mention which functions not tested are aliases
37364         for other functions.  Fix typo.  Note that signs of NaNs are not
37365         tested.
37367         * scripts/config.guess: Update from config.git.
37368         * scripts/config.sub: Likewise.
37370 2012-10-04  Roland McGrath  <roland@hack.frob.com>
37372         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37373         * misc/madvise.c (madvise): Renamed to __madvise.
37374         Make madvise a weak alias.
37375         * include/sys/mman.h: Declare __madvise.
37376         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37377         * sysdeps/unix/syscalls.list
37378         (madvise): Make __madvise the strong name, and madvise a weak alias.
37379         * sysdeps/unix/sysv/linux/syscalls.list
37380         (madvise, mmap): Remove redundant entries.
37381         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37382         * malloc/malloc.c (mtrim): Likewise.
37383         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37385 2012-10-03  Roland McGrath  <roland@hack.frob.com>
37387         * sysdeps/mach/hurd/dl-cache.c: File removed.
37388         * config.h.in (USE_LDCONFIG): New #undef.
37389         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37390         * configure: Regenerated.
37391         * elf/Makefile (dl-routines): Add dl-cache only under
37392         [$(use-ldconfig) = yes].
37393         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37394         cache on [USE_LDCONFIG].
37395         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37396         [USE_LDCONFIG].
37397         * elf/rtld.c (dl_main): Likewise.
37399 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
37401         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37402         _SC_LEVEL4_CACHE_LINESIZE.
37404 2012-10-03  Roland McGrath  <roland@hack.frob.com>
37406         * sysdeps/unix/bsd/confstr.h: File removed.
37408 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
37410         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37411         sys/sdt-config.h.
37413 2012-10-02  Roland McGrath  <roland@hack.frob.com>
37415         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37416         Make 'mapoff' field ElfW(Off) rather than off_t.
37418 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
37420         * nscd/Makefile: Remove nscd-cflags and all its users.
37421         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37422         (CFLAGS-nonlib): Add compiler flags for nscd modules.
37424         [BZ #10631]
37425         * malloc.c (malloc_printerr): Clarify error message.
37427 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
37429         [BZ #14648]
37430         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37431         Set bit_FMA_Usable if FMA is supported.
37432         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37433         macro.
37434         (bit_FMA4_Usable): Updated.
37435         (index_FMA_Usable): New macro.
37436         (CPUID_FMA): Likewise
37437         (HAS_FMA): Defined with bit_FMA_Usable.
37439 2012-10-01  Roland McGrath  <roland@hack.frob.com>
37441         * bits/types.h (__swblk_t): Type removed.
37442         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37443         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37444         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37445         (__SWBLK_T_TYPE): Likewise.
37446         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37447         (__SWBLK_T_TYPE): Likewise.
37448         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37449         (__SWBLK_T_TYPE): Likewise.
37450         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37451         (__SWBLK_T_TYPE): Likewise.
37453 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
37454             Honza Horak <hhorak@redhat.com>
37456         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37457         (xdr_mapname): Use YPMAXMAP as maxsize.
37458         (xdr_peername): Use YPMAXPEER as maxsize.
37459         (xdr_keydat): Use YPAXRECORD as maxsize.
37460         (xdr_valdat): Use YPMAXRECORD as maxsize.
37462 2012-10-01  Roland McGrath  <roland@hack.frob.com>
37464         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37466         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37467         * csu/init-first.c: ... here.
37468         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37469         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37470         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37471         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37472         * sysdeps/i386/init-first.c: File removed.
37473         * sysdeps/sh/init-first.c: File removed.
37475 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
37477         [BZ #14645]
37478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37479         if x * y might underflow to zero and z is zero.
37480         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37481         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37482         * math/libm-test.inc (min_subnorm_value): New variable.
37483         (fma_test): Add more tests.
37484         (fma_test_towardzero): Likewise.
37485         (fma_test_downward): Likewise
37486         (fma_test_upward): Likewise.
37487         (initialize): Set min_subnorm_value.
37489 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
37491         [BZ #14638]
37492         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37493         0 + 0.
37494         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37495         mode for addition resulting in exact zero.
37496         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37497         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37498         exact 0 + 0.
37499         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37500         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37501         * math/libm-test.inc (fma_test): Add more tests.
37502         (fma_test_towardzero): New function.
37503         (fma_test_downward): Likewise.
37504         (fma_test_upward): Likewise.
37505         (main): Call the new functions.
37507 2012-09-28  David S. Miller  <davem@davemloft.net>
37509         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37511 2012-09-28  Roland McGrath  <roland@hack.frob.com>
37513         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37514         instead of SIGALRM.
37516         * sysdeps/gnu/_G_config.h: Moved to ...
37517         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37518         * sysdeps/mach/hurd/_G_config.h: Moved to ...
37519         * sysdeps/generic/_G_config.h: ... here.
37521         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
37523         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37525         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37526         Conditionalize target on [libnss_test1.so-version].
37528         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37530         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37531         (elfobjdir): Move out of conditionals.
37533         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37534         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37535         (__nss_lookup_function): Conditionalize label remove_from_tree on
37536         [!DO_STATIC_NSS || SHARED], matching its only use.
37538 2012-09-28  David S. Miller  <davem@davemloft.net>
37540         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37541         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37542         file.
37543         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37544         sysdep_routines.
37545         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37546         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37547         when HWCAP_SPARC_CRYPTO is present.
37549 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37551         * io/tst-mknodat.c: Create a FIFO instead of a socket.
37553 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
37555         [BZ #6530]
37556         * stdio-common/vfprintf.c (process_string_arg): Revert
37557         2000-07-22 change.
37559 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
37561         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37562         for testcase.
37563         * stdio-common/tst-sprintf.c: Include <locale.h>
37564         (main): Test sprintf's handling of incomplete multibyte
37565         characters.
37567 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
37569         * elf/dl-runtime.c (VERSYMIDX): Removed.
37570         * elf/dl-version.c (VERSYMIDX): Likewise.
37571         * elf/do-rel.h (VERSYMIDX): Likewise.
37572         (VALIDX): Likewise.
37573         * elf/dynamic-link.h (VERSYMIDX): Likewise.
37574         * elf/rtld.c (VALIDX): Likewise.
37575         (ADDRIDX): Likewise.
37576         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37577         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37578         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37579         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37580         (VALIDX): Likewise.
37581         (ADDRIDX): Likewise.
37583 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37585         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37587 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
37589         [BZ #11438]
37590         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37591         to global scope.
37592         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37593         addresses are in the same scope as 192.0.2/24.
37594         * posix/gai.conf: Document new scope table defaults.
37596 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37598         [BZ #5298]
37599         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37600         for ftell.  Compute offsets from write pointers instead.
37601         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37603 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37605         [BZ #14543]
37606         * libio/Makefile (tests): New test case tst-fseek.
37607         * libio/tst-fseek.c: New test case to verify that fseek/ftell
37608         combination works in wide mode.
37609         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37610         state when the external buffer state changes.
37612 2012-09-27  David S. Miller  <davem@davemloft.net>
37614         [BZ #14376]
37615         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37616         pass reloc->r_addend in as the 'high' argument to
37617         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37621 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37623         * rt/tst-aio2.c: Include <pthread.h>.
37624         * rt/tst-aio3.c: Likewise.
37626 2012-09-27  Steve Ellcey  <sellcey@mips.com>
37628         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37630 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
37632         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37633         contents on [SHARED].
37635 2012-09-26  Marek Polacek  <polacek@redhat.com>
37637         [BZ #14530]
37638         [BZ #13741]
37639         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37640         for C++ and GCC <4.3 as well as for non GCC compilers.
37642 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37646 2012-09-25  Roland McGrath  <roland@hack.frob.com>
37648         * Makefile.in (all, install): Declare with .PHONY.
37649         Reported by Michael Hope <michael.hope@linaro.org>.
37651 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37653         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37654         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37655         system header.
37656         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37657         Likewise.
37658         (sydep_routines): Add the new and the internal functions.
37659         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37660         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37662         (GLIBC_2.17): Add the new function.
37663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37664         (GLIBC_2.17): Likewise.
37665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37666         (GLIBC_2.17): Likewise.
37667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37668         (GLIBC_2.17): Likewise.
37669         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37671 2012-09-25  Alan Modra  <amodra@gmail.com>
37673         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37674         Add release barrier before setting once_control to say
37675         initialisation is done.  Add hints on lwarx.  Use macro in
37676         place of isync.
37677         (clear_once_control): Add release barrier.
37679 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37681         [BZ #13629]
37682         * math/s_clog.c (__clog): Handle more values close to |z| = 1
37683         specially.
37684         * math/s_clog10.c (__clog10): Likewise.
37685         * math/s_clog10f.c (__clog10f): Likewise.
37686         * math/s_clog10l.c (__clog10l): Likewise.
37687         * math/s_clogf.c (__clogf): Likewise.
37688         * math/s_clogl.c (__clogl): Likewise.
37689         * math/Makefile (libm-calls): Add x2y2m1.
37690         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37691         (__x2y2m1): Likewise.
37692         (__x2y2m1l): Likewise.
37693         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37694         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37695         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37696         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37697         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37698         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37699         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37700         * sysdeps/i386/fpu/libm-test-ulps: Update.
37701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37703         [BZ #14621]
37704         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37705         int as type of variable DEPTH.
37706         (glob): Use size_t instead of int as type of variables NEWCOUNT
37707         and OLD_PATHC.
37709 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37711         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37712         Add s_sincosf-sse2.
37713         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37714         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37715         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37716         macros for using routine as __sincosf_ia32.
37717         Use macro for function declaration and weak_alias.
37718         * sysdeps/i386/fpu/libm-test-ulps: Update.
37720         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37723         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37724         subnormal argument.
37725         * math/s_cexpf.c (__cexpf): Likewise.
37726         * math/s_csinf.c (__csinf): Likewise.
37727         * math/s_csinhf.c (__csinhf): Likewise.
37728         * math/s_ctanf.c (__ctanf): Likewise.
37729         * math/s_ctanhf.c (__ctanhf): Likewise.
37730         * math/s_ccosh.c (__ccoshf): Likewise.
37731         * math/s_cexp.c (__cexpl): Likewise.
37732         * math/s_csin.c (__csin): Likewise.
37733         * math/s_csinh.c (__csinh): Likewise.
37734         * math/s_ctan.c (__ctan): Likewise.
37735         * math/s_ctanh.c (ctanh): Likewise.
37736         * math/s_ccoshl.c (__ccoshl): Likewise.
37737         * math/s_cexpl.c (__cexpl): Likewise.
37738         * math/s_csinl.c (__csinl): Likewise.
37739         * math/s_csinhl.c (__csinhl): Likewise.
37740         * math/s_ctanl.c (__ctanl): Likewise.
37741         * math/s_ctanhl.c (__ctanhl): Likewise.
37743 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37745         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37746         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37747         (_IO_off_t): Define to __off_t, not _G_off_t.
37748         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37749         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37750         (_IO_wint_t): Define to wint_t, not _G_wint_t.
37751         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37752         type of __dummy and __dummy2 fields.
37753         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37754         (_G_ssize_t): Likewise.
37755         (_G_off_t): Likewise.
37756         (_G_pid_t): Likewise.
37757         (_G_uid_t): Likewise.
37758         (_G_wchar_t): Likewise.
37759         (_G_wint_t): Likewise.
37760         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37761         (_G_ssize_t): Likewise.
37762         (_G_off_t): Likewise.
37763         (_G_pid_t): Likewise.
37764         (_G_uid_t): Likewise.
37765         (_G_wchar_t): Likewise.
37766         (_G_wint_t): Likewise.
37767         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37768         (_G_ssize_t): Likewise.
37769         (_G_off_t): Likewise.
37770         (_G_pid_t): Likewise.
37771         (_G_uid_t): Likewise.
37772         (_G_wchar_t): Likewise.
37773         (_G_wint_t): Likewise.
37775 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37777         * malloc/arena.c: Include malloc-sysdep.h.
37778         (shrink_heap): Use check_may_shrink_heap to decide if madvise
37779         is sufficient to shrink the heap or an unmap is needed.
37780         * sysdeps/generic/malloc-sysdep.h: New file.  Define
37781         new function check_may_shrink_heap.
37782         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
37783         new function check_may_shrink_heap.
37785 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37787         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37788         comments.
37790 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
37792         * catgets/test-gencat.sh: Add "set -e".
37793         * elf/tst-pathopt.sh: Likewise.
37794         * grp/tst_fgetgrent.sh: Likewise.
37795         * iconvdata/run-iconv-test.sh: Likewise.
37796         * intl/tst-gettext.sh: Likewise.
37797         * intl/tst-gettext2.sh: Likewise.
37798         * intl/tst-gettext4.sh: Likewise.
37799         * intl/tst-gettext6.sh: Likewise.
37800         * intl/tst-translit.sh: Likewise.
37801         * io/ftwtest-sh: Likewise.
37802         * libio/test-freopen.sh: Likewise.
37803         * malloc/tst-mtrace.sh: Likewise.
37804         * posix/globtest.sh: Likewise.
37805         * posix/tst-getconf.sh: Likewise.
37806         * posix/wordexp-tst.sh: Likewise.
37807         * stdio-common/tst-printf.sh: Likewise.
37808         * stdio-common/tst-unbputc.sh: Likewise.
37809         * stdlib/tst-fmtmsg.sh: Likewise.
37810         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37811         * catgets/Makefile: Do not specify -e option when running
37812         testsuite shell scripts.
37813         * elf/Makefile: Likewise.
37814         * grp/Makefile: Likewise.
37815         * iconvdata/Makefile: Likewise.
37816         * intl/Makefile: Likewise.
37817         * io/Makefile: Likewise.
37818         * libio/Makefile: Likewise.
37819         * malloc/Makefile: Likewise.
37820         * posix/Makefile: Likewise.
37821         * stdio-common/Makefile: Likewise.
37822         * stdlib/Makefile: Likewise.
37823         * sysdeps/x86_64/Makefile: Likewise.
37825         * io/ftwtest-sh: Add copyright header.
37826         * posix/globtest.sh: Likewise.
37827         * posix/tst-getconf.sh: Likewise.
37828         * posix/wordexp-tst.sh: Likewise.
37829         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37831 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
37833         [BZ #13679]
37834         * Makeconfig (+link): Defined as $(+link-static) if
37835         $(build-shared) isn't yes.
37836         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37837         isn't yes.
37838         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37840         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37842         [BZ #14562]
37843         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37844         new chunk size with MALLOC_ALIGN_MASK.
37846 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
37848         [BZ #5044]
37849         * stdio-common/printf_fphex.c: Include <stdbool.h> and
37850         <rounding-mode.h>.
37851         (__printf_fphex): Determine rounding using get_rounding_mode and
37852         round_away.
37853         * stdio-common/tst-printf-round.c (struct hex_test): New
37854         structure.
37855         (hex_tests): New variable.
37856         (test_hex_in_one_mode): New function.
37857         (do_test): Also run tests for hex float output.
37859 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
37861         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37862         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37863         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37864         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37865         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37866         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37867         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37868         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37870 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
37872         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37873         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37874         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37875         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37877 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
37879         [BZ #14579]
37880         * elf/rtld.c (dl_main): Limit the check for self loading to normal
37881         mode only.
37882         * elf/tst-rtld-load-self.sh: New test.
37883         * elf/Makefile: Run it.
37885 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
37887         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37888         (tst-writev-ENV): Remove.
37889         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37891 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
37893         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37895 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
37897         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37898         unconditional.
37899         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37900         Likewise.
37901         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37902         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37903         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37904         Likewise.
37906 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
37908         [BZ #14587]
37909         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37910         * config.make.in (have-cpp-asm-debuginfo): Removed.
37911         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37912         * configure: Regenerated.
37914 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
37916         [BZ #5044]
37917         * stdio-common/printf_fp.c: Include <stdbool.h> and
37918         <rounding-mode.h>.
37919         (___printf_fp): Determine rounding using get_rounding_mode and
37920         round_away.
37921         * stdio-common/tst-printf-round.c: New file.
37922         * stdio-common/Makefile (tests): Add tst-printf-round.
37923         (link-libm): New variable.
37924         ($(objpfx)tst-printf-round): Depend in $(link-libm).
37926 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
37928         [BZ #14576]
37929         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37930         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37931         Likewise.
37932         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37933         Likewise.
37935 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
37937         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37938         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37939         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37940         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37942 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
37944         [BZ #14518]
37945         * include/rounding-mode.h: New file.
37946         * sysdeps/generic/get-rounding-mode.h: Likewise.
37947         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37948         * stdlib/strtod_l.c: Include <rounding-mode.h>.
37949         (MAX_VALUE): New macro.
37950         (MIN_VALUE): Likewise.
37951         (overflow_value): New function.
37952         (underflow_value): Likewise.
37953         (round_and_return): Use overflow_value and underflow_value to
37954         determine return values in overflow and underflow cases.  Use
37955         round_away to determine rounding depending on rounding mode.
37956         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37957         determine return values in overflow and underflow cases.
37958         * stdlib/tst-strtod-round.c: Include <fenv.h>.
37959         (struct test_results): New structure.
37960         (struct test): Use struct test_results to store expected results
37961         for all rounding modes.
37962         (TEST): Include expected results for all rounding modes.
37963         (test_in_one_mode): New function.
37964         (do_test): Use test_in_one_mode to compute and check results.
37965         Check results for all rounding modes.
37966         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37967         $(link-libm).
37969 2012-12-09  Allan McRae  <allan@archlinux.org>
37971         * sysdeps/i386/fpu/libm-test-ulps: Update
37973 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
37975         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37976         (_G_int32_t): Likewise.
37977         (_G_uint16_t): Likewise.
37978         (_G_uint32_t): Likewise.
37979         (_G_HAVE_BOOL): Likewise.
37980         (_G_HAVE_ATEXIT): Likewise.
37981         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37982         (_G_HAVE_IO_FILE_OPEN): Likewise.
37983         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37984         (_G_int32_t): Likewise.
37985         (_G_uint16_t): Likewise.
37986         (_G_uint32_t): Likewise.
37987         (_G_HAVE_BOOL): Likewise.
37988         (_G_HAVE_ATEXIT): Likewise.
37989         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37990         (_G_HAVE_IO_FILE_OPEN): Likewise.
37991         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37992         (_G_int32_t): Likewise.
37993         (_G_uint16_t): Likewise.
37994         (_G_uint32_t): Likewise.
37995         (_G_HAVE_BOOL): Likewise.
37996         (_G_HAVE_ATEXIT): Likewise.
37997         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37998         (_G_HAVE_IO_FILE_OPEN): Likewise.
38000 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
38002         * csu/libc-tls.c: Update copyright years.
38004 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
38006         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38007         [!_G_USING_THUNKS]: Remove conditional code.
38008         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38009         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38011         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38012         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38013         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38014         (_G_VTABLE_LABEL_PREFIX): Likewise.
38015         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38016         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38017         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38018         (_G_VTABLE_LABEL_PREFIX): Likewise.
38019         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38020         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38021         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38022         (_G_VTABLE_LABEL_PREFIX): Likewise.
38023         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38025 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
38027         * libio/Makefile: Include ../Makeconfig before tests.
38028         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38029         only if $(build-shared) is yes.
38031         * iconv/gconv_db.c: Update copyright years.
38033 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38035         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38036         unwind info if defined PIC. Fix special cases description.
38037         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38039         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38040         DP_HI_MASK entry.
38041         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38043 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
38045         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38047         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38048         is NULL.
38050         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38051         (LDLIBS-tst-chk4): This.
38052         (LDFLAGS-tst-chk5): Renamed to ...
38053         (LDLIBS-tst-chk5): This.
38054         (LDFLAGS-tst-chk6): Renamed to ...
38055         (LDLIBS-tst-chk6): This.
38056         (LDFLAGS-tst-lfschk4): Renamed to ...
38057         (LDLIBS-tst-lfschk4): This.
38058         (LDFLAGS-tst-lfschk5): Renamed to ...
38059         (LDLIBS-tst-lfschk5): This.
38060         (LDFLAGS-tst-lfschk6): Renamed to ...
38061         (LDLIBS-tst-lfschk6): This.
38063         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38064         on $(common-objpfx)soversions.mk.
38066 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
38068         [BZ #10014]
38069         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38070         example host name.
38072 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38074         * malloc/arena.c (arena_get_retry): New function that gets
38075         another arena for the caller to try its request on.
38076         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38077         current arena cannot fulfill the request.
38078         (__libc_memalign): Likewise.
38079         (__libc_memalign): Likewise.
38080         (__libc_pvalloc): Likewise.
38081         (__libc_calloc): Likewise.
38083 2012-09-05  John Tobey  <john.tobey@gmail.com>
38085         [BZ #13542]
38086         * manual/arith.texi (Operations on Complex): Fix description
38087         of carg branch cut.
38089 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38091         [BZ #10014]
38092         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38093         host name.
38095         [BZ #10038]
38096         * manual/memory.texi (Memory): Make order of menu items match
38097         order of sections.
38099 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38101         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38102         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
38103         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38105 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38107         * csu/libc-tls.c (static_dtv): Renamed to ...
38108         (_dl_static_dtv): This.  Make it global.
38109         (_dl_initial_dtv): Removed.
38110         (__libc_setup_tls): Updated.
38111         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38112         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38113         DL_INITIAL_DTV.
38115 2012-09-06  Petr Machata  <pmachata@redhat.com>
38117         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38118         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38119         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38120         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38122 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38124         [BZ #14545]
38125         * csu/libc-tls.c (_dl_initial_dtv): New variable.
38126         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38127         freeing dtv[-1].
38129 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38131         [BZ #14544]
38132         * Makeconfig (link-static-before-libc): Replace $(+prector)
38133         with $(+prectorT).
38134         (link-static-after-libc): Replace $(+postctor) with
38135         $(+postctorT).
38136         (link-bounded): Replace $(+prector)/$(+postctor) with
38137         $(+prectorT)/$(+postctorT).
38138         (+prectorT): New macro.
38139         (+postctorT): Likewise.
38141 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38143         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38144         (round_str): Handle values above the maximum for IBM long double
38145         as inexact.
38146         * stdlib/tst-strtod-round.c (tests): Regenerated.
38148 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38150         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38151         assembler flag.
38152         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38153         zarch_nohighgprs around the zarch optimized routines.
38154         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38155         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38156         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38157         for zarch.
38159 2012-09-05  David S. Miller  <davem@davemloft.net>
38161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38163         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38164         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38165         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38166         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38167         entries.
38169 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38171         * malloc/arena.c: Fold copyright years.
38172         * malloc/mcheck.c, malloc/memusage.c: Likewise.
38174 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38176         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38178 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38180         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
38182 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38184         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38185         change internal state upon failure.
38187 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38189         * malloc/mcheck.c (mcheck_check_all): Fix typo.
38190         * malloc/memusage.c (mmap): Likewise.
38191         (mmap64, mremap): Likewise.  Adjust name in comment.
38193 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38195         * libio/fileops.c: Fix typos in comments.
38196         * libio/oldfileops.c: Likewise.
38197         * libio/wfileops.c: Likewise.
38199 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38201         [BZ #1349]
38202         * malloc/Makefile (tests): Add tst-malloc-usable test case.
38203         (tst-malloc-usable-ENV): Set environment for test case.
38204         * malloc/hooks.c (malloc_check_get_size): New function to get
38205         requested size.
38206         * malloc/malloc.c (musable): Use malloc_check_get_size.
38207         * malloc/tst-malloc-usable.c: New test case.
38209 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38211         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38213 2012-09-05  Allan McRae  <allan@archlinux.org>
38215         [BZ #13966]
38216         * configure.in (CXX_SYSINCLUDES): Use compiler output to
38217         determine header location.
38218         * configure: Regenerated.
38220 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38222         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38223         float format.
38224         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38225         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38226         format.
38227         (test): Regenerate.
38229 2012-09-04  David S. Miller  <davem@davemloft.net>
38231         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38232         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38233         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38235 2012-09-04  Florian Weimer  <fweimer@redhat.com>
38237         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38238         failures.
38240         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38242 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
38244         [BZ #9914]
38245         * libio/iogetdelim.c: Include <limits.h>.
38246         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38247         + len + 1 would overflow.
38249 2012-09-03  Andreas Jaeger  <aj@suse.de>
38251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38252         * sysdeps/i386/fpu/libm-test-ulps: Update.
38254 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38256         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38257         Add s_sinf-sse2, s_conf-sse2.
38259         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38260         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38261         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38262         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38264         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38265         for using routine as __sinf_ia32.
38266         Use macro for function declaration and weak_alias.
38267         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38268         for using routine as __cosf_ia32.
38269         Use macro for function declaration and weak_alias.
38271         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38272         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38274         * sysdeps/x86_64/fpu/s_sinf.S: New file.
38275         * sysdeps/x86_64/fpu/s_cosf.S: New file.
38276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38278         * math/libm-test.inc (cos_test): Add more test cases.
38279         (sin_test): Likewise.
38280         (sincos_test): Likewise.
38282 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38284         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38285         (IFUNC_RESOLVE): Make pointers to the specialized implementations
38286         hidden.
38287         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38289 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
38291         [BZ #14538]
38292         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38293         first element of the GOT.
38294         (elf_machine_load_address): Return the difference between
38295         the runtime address of _DYNAMIC and elf_machine_dynamic ().
38297 2012-09-01  Allan McRae  <allan@archlinux.org>
38299         [BZ #13412]
38300         * configure.in (AWK): Require gawk version 3.0 or later.
38301         * configure: Regenerated.
38303 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
38305         * sysdeps/unix/sysv/linux/kernel-features.h
38306         (__ASSUME_POSIX_CPU_TIMERS): Remove.
38307         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38308         [__NR_clock_getres]: Make code unconditional.
38309         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38310         (clock_getcpuclockid): Remove code left unreachable by removal of
38311         conditionals.
38312         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38313         code unconditional.
38314         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38315         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38316         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38317         Make code unconditional.
38318         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38319         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38320         * sysdeps/unix/sysv/linux/clock_settime.c
38321         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38322         conditional code.
38323         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38324         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38326 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
38328         [BZ #14476]
38329         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38330         scripts/test-installation.pl.
38332         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38333         and $ld_so_version if it is set.
38335 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38337         [BZ #14516]
38338         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38339         failure if reading from procfs failed.
38340         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38342 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
38344         * sysdeps/unix/sysv/linux/kernel-features.h
38345         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38346         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38347         Remove conditional code.
38348         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38349         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38350         Remove conditional code.
38351         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38352         * sysdeps/unix/sysv/linux/i386/fxstat.c
38353         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38354         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38355         * sysdeps/unix/sysv/linux/i386/fxstatat.c
38356         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38357         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38358         * sysdeps/unix/sysv/linux/i386/lxstat.c
38359         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38360         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38361         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38362         Remove conditional code.
38363         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38364         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38365         Remove conditional code.
38366         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38367         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38368         <kernel-features.h>.
38369         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38370         Remove.
38371         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38372         Remove conditional code.
38373         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38374         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38375         Remove conditional.
38377 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
38379         [BZ #5400]
38380         * NEWS: Add fixed bug number.
38382 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
38384         [BZ #14519]
38385         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38386         underflowing exponent in case of negative sign.
38387         * stdlib/tst-strtod-round-data: Add more tests.
38388         * stdlib/tst-strtod-round.c (tests): Regenerated.
38390         [BZ #3479]
38391         * stdlib/strtod_l.c (NDIG): Remove.
38392         (HEXNDIG): Likewise.
38393         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38394         smallest representable value.
38395         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38396         lie within an exact representation of 1/2 ulp of the result.
38397         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38398         unconditionally.
38399         (TENS_P9_IDX): Define unconditionally.
38400         (TENS_P9_SIZE): Likewise.
38401         (TENS_P10_IDX): Likewise.
38402         (TENS_P10_SIZE): Likewise.
38403         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38404         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38405         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38406         entries for 10^2^13 and 10^2^14.
38407         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38408         (TENS_P13_IDX): Define.
38409         (TENS_P13_SIZE): Likewise.
38410         (TENS_P14_IDX): Likewise.
38411         (TENS_P14_SIZE): Likewise.
38412         (_fpioconst_pow10): Change array size to
38413         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
38414         unconditional.
38415         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38416         1024]: Add entries for 10^2^13 and 10^2^14.
38417         [LAST_POW10 > _LAST_POW10]: Remove #error.
38418         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38419         (_fpioconst_pow10): Change array size to
38420         FPIOCONST_POW10_ARRAY_SIZE.
38421         * stdlib/gen-fpioconst.c: New file.
38422         * stdlib/gen-tst-strtod-round.c: Likewise.
38423         * stdlib/tst-strtod-round-data: Likewise.
38424         * stdlib/tst-strtod-round.c: Likewise.
38425         * stdlib/Makefile (tests): Add tst-strtod-round.
38427         [BZ #14459]
38428         * stdlib/strtod_l.c: Include <stdint.h>.
38429         (NDEBUG): Do not define.
38430         (round_and_return): Change EXPONENT parameter to type intmax_t.
38431         Rearrange calculations to avoid internal overflow possibilities.
38432         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38433         Rearrange calculations to avoid internal overflow possibilities.
38434         Assert that number fits inside MPNSIZE limbs.
38435         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38436         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
38437         calculations and add assertions to avoid internal overflow
38438         possibilities.  Add casts to avoid signed/unsigned operations.
38439         * stdlib/tst-strtod-overflow.c: New file.
38440         * stdlib/Makefile (tests): Add tst-strtod-overflow.
38442 2012-08-25  Marek Polacek  <polacek@redhat.com>
38444         * time/time.h: Fix some typos in comments.
38446 2012-08-23  Roland McGrath  <roland@hack.frob.com>
38448         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38449         * posix/tst-rfc3484-2.c: Likewise.
38450         * posix/tst-rfc3484-3.c: Likewise.
38452 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
38454         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38455         (EF_ARM_ABI_FLOAT_HARD): Likewise.
38457 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
38459         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38460         #include of fxstatat64.c.
38462 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38464         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38465         * shadow/getspent_r.c: Likewise.
38466         * shadow/getspnam.c: Likewise.
38467         * shadow/getspnam_r.c: Likewise.
38468         * gshadow/getsgent.c: Likewise.
38469         * gshadow/getsgent_r.c: Likewise.
38470         * gshadow/getsgnam.c: Likewise.
38471         * gshadow/getsgnam_r.c: Likewise.
38472         * inet/getnetbyad.c: Likewise.
38473         * inet/getnetbyad_r.c: Likewise.
38474         * inet/getnetbynm.c: Likewise.
38475         * inet/getnetbynm_r.c: Likewise.
38476         * inet/getnetent.c: Likewise.
38477         * inet/getnetent_r.c: Likewise.
38478         * inet/getproto.c: Likewise.
38479         * inet/getproto_r.c: Likewise.
38480         * inet/getprtent.c: Likewise.
38481         * inet/getprtent_r.c: Likewise.
38482         * inet/getprtname.c: Likewise.
38483         * inet/getprtname_r.c: Likewise.
38484         * inet/getrpcbyname.c: Likewise.
38485         * inet/getrpcbyname_r.c: Likewise.
38486         * inet/getrpcbynumber.c: Likewise.
38487         * inet/getrpcbynumber_r.c: Likewise.
38488         * inet/getrpcent.c: Likewise.
38489         * inet/getrpcent_r.c: Likewise.
38490         * inet/getaliasent.c: Likewise.
38491         * inet/getaliasent_r.c: Likewise.
38492         * inet/getaliasname.c: Likewise.
38493         * inet/getaliasname_r.c: Likewise.
38494         * nscd/getgrgid_r.c: Likewise.
38495         * nscd/getgrnam_r.c: Likewise.
38496         * nscd/gethstbyad_r.c: Likewise.
38497         * nscd/gethstbynm3_r.c: Likewise.
38498         * nscd/getpwnam_r.c: Likewise.
38499         * nscd/getpwuid_r.c: Likewise.
38500         * nscd/getsrvbynm_r.c: Likewise.
38501         * nscd/getsrvbypt_r.c: Likewise.
38502         * nscd/gai.c: Likewise.
38504         * configure.in (build_nscd): New substituted variable, set
38505         by --disable-build-nscd and defaults to $use_nscd.
38506         * configure: Regenerated.
38507         * config.make.in (build-nscd): New substituted variable.
38508         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38509         Change conditional to require [$(build-nscd) = yes] as well.
38510         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38512         [BZ# 13696]
38513         * configure.in (use_nscd): New substituted variable, set by
38514         --disable-nscd.  If enabled, define USE_NSCD.
38515         * configure: Regenerated.
38516         * config.h.in: Add USE_NSCD.
38517         * config.make.in (use-nscd): New substituted variable.
38518         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38519         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38520         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38521         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38522         (CFLAGS-getgrnam_r.c): Likewise.
38523         (CFLAGS-initgroups.c): Likewise.
38524         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38525         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38526         Variables removed.
38527         * inet/getnetgrent_r.c
38528         (nscd_setnetgrent): New function, broken out of ...
38529         (setnetgrent): ... here.  Call it.
38530         (innetgr): Conditionalize nscd bits on [USE_NSCD].
38531         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38532         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38533         * nscd/Makefile (routines, aux): Move definitions after include of
38534         Makeconfig.  Conditionalize on [$(use-nscd) != no].
38535         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38536         Conditionalize on [USE_NSCD].
38537         (is_nscd, nscd_init_cb): Likewise.
38538         (nss_load_library): Conditionalize init callback on [USE_NSCD].
38539         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38540         * nss/nss_db/db-init.c: Likewise.
38541         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38542         [USE_NSCD].
38543         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38544         (make_request): Use it.
38545         (cache_valid_p): New function.
38546         (__check_pf): Use it.
38547         * NEWS: Add item for --disable-nscd.
38549 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
38551         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38552         to support sed >= 4.2.1-20-ga9bf076.
38553         * configure: Regenerated.
38555 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38557         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38558         Conditionalize whole body on [IREL].
38560 2012-08-22  Jeff Law <law@redhat.com>
38562         [BZ #14505]
38563         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38564         if the family is PF_UNSPEC.
38566 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
38568         * Makerules (lib-version): Rename from V.
38569         (install-lib-nosubdir): Change V to lib-version.
38571 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
38573         [BZ #14252]
38574         * powerpc32/power6/wcschr.c: New file.
38575         * powerpc32/power6/wcscpy.c: New file.
38576         * powerpc32/power6/wcsrchr.c: New file.
38577         * powerpc64/power6/wcschr.c: New file.
38578         * powerpc64/power6/wcscpy.c: New file.
38579         * powerpc64/power6/wcsrchr.c: New file.
38581 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38583         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38584         (two_way_short_needle): Use it.
38585         * string/strstr.c (AVAILABLE1_USES_J): Define.
38586         * string/strcasestr.c: Likewise.
38588         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38589         array references.
38590         * string/strcasestr.c (TOLOWER): Make side-effect safe.
38592         [BZ #11607]
38593         * NEWS: Add an entry.
38594         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38595         define their defaults.
38596         (two_way_short_needle): Detect end-of-string on-the-fly.
38597         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38598         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38599         * string/bug-strcasestr1.c: New test.
38600         * string/Makefile: Run it.
38602 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38604         [BZ #11607]
38605         * string/str-two-way.h (two_way_short_needle): Optimize matching of
38606         the first character.
38608 2012-08-21  Roland McGrath  <roland@hack.frob.com>
38610         * csu/elf-init.c (__libc_csu_irel): Function removed.
38611         * csu/libc-start.c (apply_irel): New function.
38612         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38614 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
38616         * sysdeps/unix/sysv/linux/kernel-features.h
38617         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38618         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38619         <kernel-features.h>.
38620         [__NR_fadvise64_64]: Make code unconditional.
38621         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38622         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38623         !__NR_fadvise64_64)]: Likewise.
38624         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38625         !__NR_fadvise64_64))]: Likewise.
38626         [__NR_fadvise64]: Make code unconditional.
38627         [!__NR_fadvise64]: Remove conditional code.
38628         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38629         <kernel-features.h>.
38630         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38631         unconditional.
38632         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38633         conditional code.
38634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38635         not include <kernel-features.h>.
38636         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38637         unconditional.
38638         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38639         conditional code.
38640         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38641         include <kernel-features.h>.
38642         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38643         unconditional.
38644         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38645         conditional code.
38647 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38649         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38650         slight instruction rearrangements per scrollpipe analysis.
38651         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38653 2012-08-20  Roland McGrath  <roland@hack.frob.com>
38655         * manual/syslog.texi (syslog; vsyslog, closelog):
38656         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38657         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38659         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38660         DSOCAPS to match condition on defining it.
38662 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
38664         * sysdeps/unix/sysv/linux/kernel-features.h
38665         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38667         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38668         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38670         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38671         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38673         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38674         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38676         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38677         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38679         * sysdeps/unix/sysv/linux/kernel-features.h
38680         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38681         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38682         unconditional.
38683         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38684         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38685         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38686         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38687         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38688         Make code unconditional.
38689         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38690         (__mmap64) [!__NR_mmap2]: Likewise.
38691         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38692         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38693         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38694         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38695         [__NR_mmap2]: Make code unconditional.
38696         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38697         (__mmap64) [!__NR_mmap2]: Likewise.
38699 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38701         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38703 2012-08-18  Andreas Jaeger  <aj@suse.de>
38705         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38707 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38709         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38710         * include/unistd.h (__have_sock_cloexec): Likewise.
38711         (__have_pipe2): Likewise.
38712         (__have_dup3): Likewise.
38714 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38716         [BZ #9685]
38717         * include/unistd.h (__have_pipe2): Change define into an extern int.
38718         (__have_dup3): Likewise.
38719         * socket/have_sock_cloexec.c: Include fcntl.h.
38720         (__have_pipe2): New variable.
38721         (__have_dup3): Likewise.
38723 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
38725         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38727 2012-08-17  Marek Polacek  <polacek@redhat.com>
38729         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38730         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38732 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38734         * configure.in: Add AC_SUBST for sysheaders.
38735         * configure: Regenerated.
38736         * config.make.in (sysheaders): New substituted variable.
38738         * sysdeps/unix/mkfifo.c: Moved ...
38739         * sysdeps/posix/mkfifo.c: ... here.
38740         * sysdeps/unix/mkfifoat.c: Moved ...
38741         * sysdeps/posix/mkfifoat.c: ... here.
38743         * sysdeps/unix/utime.c: Moved ...
38744         * sysdeps/posix/utime.c: ... here.
38746         * sysdeps/unix/time.c: Moved ...
38747         * sysdeps/posix/time.c: ... here.
38748         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38749         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38751         * sysdeps/unix/nice.c: Moved ...
38752         * sysdeps/posix/nice.c: ... here.
38754         * sysdeps/unix/alarm.c: Moved ...
38755         * sysdeps/posix/alarm.c: ... here.
38757         * intl/Makefile ($(codeset_mo)): Depend on the input file.
38759 2012-08-17  Jeff Law <law@redhat.com>
38761         * intl/Makefile (codeset_mo): New variable.
38762         ($(codeset_mo)): New target.
38763         (tst-codeset.out): Depend on that.  Remove explicit rule.
38764         (tst-gettext3.out, tst-gettext5.out): Likewise.
38765         (LOCPATH-ENV, tst-codeset-ENV): New variables.
38766         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38767         * intl/tst-codeset.sh: Remove.
38768         * intl/tst-gettext3.sh: Likewise.
38769         * intl/tst-gettext5.sh: Likewise.
38771 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38773         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
38774         * sysdeps/unix/syscalls.list: ... here.
38776         * sysdeps/posix/getaddrinfo.c
38777         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38778         (gaiconf_init, gaiconf_reload): Use them.
38779         [!_STATBUF_ST_NSEC]
38780         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38781         Define using time_t rather than struct timespec.
38783         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38784         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38785         Macros removed.
38786         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38787         [!NO_THREADS].
38788         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38789         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38790         Likewise.
38792         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38793         __libc_cleanup_push argument.
38795         * bits/param.h: New file.
38796         * misc/sys/param.h: New file.
38797         * include/sys/param.h: New file.
38798         * misc/Makefile (headers): Add bits/param.h.
38799         * sysdeps/generic/sys/param.h: File removed.
38800         * sysdeps/unix/sysv/linux/bits/param.h: New file.
38801         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38802         * sysdeps/mach/hurd/bits/param.h: New file.
38803         * sysdeps/mach/hurd/sys/param.h: File removed.
38805         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38806         last change.
38808         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38809         [_IO_MTSAFE_IO].
38810         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38811         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38812         New macros.
38814         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38815         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38816         rather than -D_IO_MTSAFE_IO conditionally.
38817         * stdio-common/Makefile (CPPFLAGS): Likewise.
38818         * wcsmbs/Makefile (CPPFLAGS): Likewise.
38819         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38820         Use $(libio-mtsafe).
38821         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38822         of -D_IO_MTSAFE_IO.
38823         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38824         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38825         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38826         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38827         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38828         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38829         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38830         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38831         (CFLAGS-fread_u_chk.c): Likewise.
38832         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38833         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38834         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38835         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38836         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38837         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38838         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38839         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38840         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38842         * libio/Makefile: Test [$(libc-reentrant) = yes]
38843         instead of [$(filter %REENTRANT, $(defines)) nonempty].
38845         * Makeconfig
38846         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38847         * sysdeps/pthread/configure: File removed.
38848         * sysdeps/pthread/Makeconfig: New file.
38849         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38850         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38852 2012-08-16  Gary Benson  <gbenson@redhat.com>
38854         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38855         unmapping the first object in a namespace.
38857 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38859         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38860         (__internal_setnetgrent): ... this.  Add internal_function to
38861         definition.  Add libc_hidden_def.
38862         (setnetgrent): Update caller.
38863         (internal_endnetgrent): Renamed to ...
38864         (__internal_endnetgrent): ... this.  Add internal_function to
38865         definition.  Add libc_hidden_def.
38866         (endnetgrent): Update caller.
38867         (internal_getnetgrent_r): Renamed to ...
38868         (__internal_getnetgrent_r): ... this.  Add internal_function to
38869         definition.  Add libc_hidden_def.
38870         (__getnetgrent_r): Update caller.
38871         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
38873 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38875         * stdlib/longlong.h: Update from GCC.
38877 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38879         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38880         on _QL, which is set by umul_ppmm but never used.
38881         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38882         variables, which are set by GMP macros but never used.
38883         * stdio-common/_itowa.c (_itowa): Likewise.
38884         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38885         * stdlib/mod_1.c (mpn_mod_1): Likewise.
38887 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
38889         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38890         struct La_sh_regs is not constant.
38891         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38892         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38893         and struct La_sparc64_regs are not constant.
38895 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38897         * sysdeps/unix/sysv/linux/kernel-features.h
38898         (__ASSUME_POSIX_TIMERS): Remove.
38899         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38900         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38901         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38902         Make code unconditional.
38903         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38904         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38905         Make code unconditional.
38906         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38907         * sysdeps/unix/sysv/linux/clock_nanosleep.c
38908         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38909         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38910         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38911         Make code unconditional.
38912         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38913         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38914         (__libc_missing_posix_timers): Remove.
38916 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38918         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38919         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38921         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38923         * elf/dl-sym.c: Include <stdlib.h>.
38925         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38926         constants, which avoids warnings in 32-bit builds.
38928         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38929         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38931         * misc/lseek.c: File moved to ...
38932         * io/lseek.c: ... here.
38934         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38936         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38937         shifting LEN more than 31 bits at once.
38939 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38941         [BZ #14195]
38942         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38943         segmentation fault for a case of two empty input strings.
38944         * string/test-strncasecmp.c (check1): Renamed to...
38945         (bz12205): ...this.
38946         (bz14195): Add new testcase for two empty input strings and N > 0.
38947         (test_main): Call new testcase, adapt for renamed function.
38949 2012-08-15  Andreas Jaeger  <aj@suse.de>
38951         [BZ #14090]
38952         * crypt/md5test2.c: New test, based on test supplied by Serge
38953         Belyshev <belyshev@depni.sinp.msu.ru>.
38954         * crypt/Makefile (xtests): Add md5test-giant..
38955         * crypt/Makefile ($(objpfx)md5test-giant): Add.
38957 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
38959         [BZ #14090]
38960         * crypt/md5.c (md5_process_block): Don't assume the buffer
38961         length is less than 2**32.
38962         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38963         length is less than 2**64.
38965 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38967         * string/str-two-way.h: Include <sys/param.h>.
38968         (MAX): Macro removed.
38970         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38971         Move #define and #undef of memmove to just before and after
38972         including <string.h>.
38974         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38975         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38976         and after including <string.h>.  Move declarations of
38977         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38978         to before #include "string/memmove.c".
38980         * include/dirent.h: Declare __getdirentries.
38982         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38983         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38985 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
38987         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38988         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38989         * sysdeps/i386/configure: Regenerated.
38990         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38991         STABS_CURRENT_FILE, and STABS_FUN.
38992         (END): Remove call to STABS_FUN_END.
38993         (STABS_CURRENT_FILE1): Delete.
38994         (STABS_CURRENT_FILE): Likewise.
38995         (STABS_FUN): Likewise.
38996         (STABS_FUN_END): Likewise.
38997         (STABS_FUN2): Likewise.
38998         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38999         * sysdeps/x86_64/configure: Regenerated.
39001 2012-08-14  Roland McGrath  <roland@hack.frob.com>
39003         * elf/dl-open.c: Include <atomic.h>.
39004         * elf/dl-lookup.c: Likewise.
39006 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
39008         * sysdeps/unix/sysv/linux/kernel-features.h
39009         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39010         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39011         unconditionally.
39012         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39013         unconditionally.
39014         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39015         condition on __ASSUME_CLONE_THREAD_FLAGS.
39017 2012-08-14  Andreas Jaeger  <aj@suse.de>
39019         * sysdeps/i386/fpu/libm-test-ulps: Update.
39021 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
39023         * include/atomic.h (atomic_exchange_and_add): Split into ...
39024         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39025         New atomic macros.
39027 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
39029         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39031 2012-08-13  Jeff Law <law@redhat.com>
39033         * manual/stdio.texi (snprintf): Clarify handling of the trailing
39034         null byte in the output string.
39036 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
39038         * sysdeps/unix/sysv/linux/kernel-features.h
39039         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39040         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39041         (__ASSUME_ARG_MAX_STACK_BASED): Define.
39042         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39043         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39044         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
39045         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39047 2012-08-09  Jeff Law <law@redhat.com>
39049         [BZ #13939]
39050         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39051         When avoid_arena is set, don't retry in the that arena.  Pick the
39052         next one, whatever it might be.
39053         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39054         (arena_lock): Pass in new parameter to arena_get2.
39055         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39056         arena_get2.
39057         (__libc_malloc): Unify retrying after main arena failure with
39058         __libc_memalign version.
39059         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39061 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
39063         [BZ #14166]
39064         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39065         to __redirect_strstr.
39066         (__strstr_sse42): Use typeof __redirect_strstr.
39067         (__strstr_ia32): Likewise.
39068         (__libc_strstr): New prototype.
39069         (strstr): Renamed to ...
39070         (__libc_strstr): This.
39071         (strstr): New strong alias of __libc_strstr.
39072         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39073         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39074         __redirect_time.
39075         Include <time.h>.
39076         (__libc_time): New prototype.
39077         (time_ifunc): Replace time with __libc_time.
39078         (time): New strong alias and hidden definition of __libc_time.
39079         (__GI_time): Remove strong alias.
39080         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39081         Include <stddef.h>.
39082         (memmove): Redefined to __redirect_memmove.
39083         (__memmove_sse2): Use typeof __redirect_memmove.
39084         (__memmove_ssse3): Likewise.
39085         (__memmove_ssse3_back): Likewise.
39086         (__libc_memmove): New prototype.
39087         (memmove): Renamed to ...
39088         (__libc_memmove): This.
39089         (memmove): New strong alias of __libc_memmove.
39091 2012-08-08  Mark Salter  <msalter@redhat.com>
39093         * elf/elf.h
39094         (R_MN10300_TLS_GD): Define.
39095         (R_MN10300_TLS_LD): Likewise.
39096         (R_MN10300_TLS_LDO): Likewise.
39097         (R_MN10300_TLS_GOTIE): Likewise.
39098         (R_MN10300_TLS_IE): Likewise.
39099         (R_MN10300_TLS_LE): Likewise.
39100         (R_MN10300_TLS_DTPMOD): Likewise.
39101         (R_MN10300_TLS_DTPOFF): Likewise.
39102         (R_MN10300_TLS_TPOFF): Likewise.
39103         (R_MN10300_SYM_DIFF): Likewise.
39104         (R_MN10300_ALIGN): Likewise.
39105         (R_MN10300_NUM): Update.
39107 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
39109         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39110         Remove.
39112 2012-08-08  Roland McGrath  <roland@hack.frob.com>
39114         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39116         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39117         sysdeps/unix -> sysdeps/posix move.
39118         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39120 2012-08-07      Allan McRae     <allan@archlinux.org>
39122         [BZ #14303]
39123         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39124         (SUNOS_CPP): Likewise.
39125         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39126         not found.
39127         (open_input): Call CPP using execvp.
39129 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39131         * sysdeps/unix/sysv/linux/kernel-features.h
39132         (__ASSUME_PROT_GROWSUPDOWN): Remove.
39133         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39134         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39135         (__ASSUME_WAITID_SYSCALL): Likewise.
39136         * sysdeps/unix/sysv/linux/dl-execstack.c
39137         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39138         code unconditional.
39139         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39140         conditional code.
39141         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39142         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39143         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39144         code.
39145         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39146         unconditional.
39147         [__ASSUME_WAITID_SYSCALL]: Likewise.
39148         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39150 2012-08-07  Roland McGrath  <roland@hack.frob.com>
39152         * sysdeps/unix/closedir.c: Renamed to ...
39153         * sysdeps/posix/closedir.c: ... here.
39154         * sysdeps/unix/dirfd.c: Renamed to ...
39155         * sysdeps/posix/dirfd.c: ... here.
39156         * sysdeps/unix/dirstream.h: Renamed to ...
39157         * sysdeps/posix/dirstream.h: ... here.
39158         * sysdeps/unix/fdopendir.c: Renamed to ...
39159         * sysdeps/posix/fdopendir.c: ... here.
39160         * sysdeps/unix/opendir.c: Renamed to ...
39161         * sysdeps/posix/opendir.c: ... here.
39162         * sysdeps/unix/readdir.c: Renamed to ...
39163         * sysdeps/posix/readdir.c: ... here.
39164         * sysdeps/unix/readdir_r.c: Renamed to ...
39165         * sysdeps/posix/readdir_r.c: ... here.
39166         * sysdeps/unix/rewinddir.c: Renamed to ...
39167         * sysdeps/posix/rewinddir.c: ... here.
39168         * sysdeps/unix/seekdir.c: Renamed to ...
39169         * sysdeps/posix/seekdir.c: ... here.
39170         * sysdeps/unix/telldir.c: Renamed to ...
39171         * sysdeps/posix/telldir.c: ... here.
39172         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39173         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39174         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39175         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39177         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39178         * bits/fcntl.h: ... here.
39180         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39181         not 0.
39182         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39183         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39184         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39185         (struct flock): Move l_start, l_len to the beginning.
39186         Use __pid_t for l_pid.
39187         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39188         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39189         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39190         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39191         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39192         [__USE_LARGEFILE64] (struct flock64): New type.
39193         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39195         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39196         * bits/dirent.h: ... here.
39198         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39199         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39201 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39203         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39204         Change from 2.6.0 to 2.6.16.
39205         * sysdeps/unix/sysv/linux/configure: Regenerated.
39206         * sysdeps/unix/sysv/linux/kernel-features.h
39207         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39208         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39209         version.
39210         (__ASSUME_UTIMES): Likewise.
39211         (__ASSUME_CLONE_STOPPED): Remove.
39212         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39213         architectures, not kernel version.
39214         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39215         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39216         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39217         (__ASSUME_WAITID_SYSCALL): Likewise.
39218         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39219         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39220         * README: State 2.6.16 as minimum Linux kernel version.  Do not
39221         refer to older versions.
39223 2012-08-06  Roland McGrath  <roland@hack.frob.com>
39225         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39226         Define alphasort64 as an alias.
39227         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39228         Define versionsort64 as an alias.
39229         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39230         Define scandir64 as an alias.
39231         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39232         Define scandirat64 as an alias.
39233         * dirent/alphasort64.c (alphasort64):
39234         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39235         * dirent/versionsort64.c: Likewise.
39236         * dirent/scandir64.c: Likewise.
39237         * dirent/scandirat64.c: Likewise.
39238         * sysdeps/wordsize-64/alphasort.c: File removed.
39239         * sysdeps/wordsize-64/alphasort64.c: File removed.
39240         * sysdeps/wordsize-64/scandir.c: File removed.
39241         * sysdeps/wordsize-64/scandir64.c: File removed.
39242         * sysdeps/wordsize-64/scandirat.c: File removed.
39243         * sysdeps/wordsize-64/scandirat64.c: File removed.
39244         * sysdeps/wordsize-64/versionsort.c: File removed.
39245         * sysdeps/wordsize-64/versionsort64.c: File removed.
39246         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39247         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39248         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39249         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39250         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39251         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39252         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39253         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39255         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39256         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39257         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39258         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39259         [defined __arch64__ || defined __sparcv9]
39260         (__INO_T_MATCHES_INO64_T): New macro.
39261         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39262         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39263         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39264         * sysdeps/unix/sysv/linux/bits/dirent.h
39265         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39266         (_DIRENT_MATCHES_DIRENT64): New macro.
39268         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39269         Define lockf64 as an alias.
39270         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39271         Define fseeko64 as an alias.
39272         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39273         Define ftello64 as an alias.
39274         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39275         Define _IO_fgetpos64 and fgetpos64 as aliases.
39276         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39277         Define _IO_fsetpos64 and fsetpos64 as aliases.
39278         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39279         Conditionalize body on this.
39280         * libio/fseeko64.c: Likewise.
39281         * libio/ftello64.c: Likewise.
39282         * libio/iofgetpos64.c: Likewise.
39283         * libio/iofsetpos64.c: Likewise.
39284         * sysdeps/wordsize-64/lockf.c: File removed.
39285         * sysdeps/wordsize-64/lockf64.c: File removed.
39286         * sysdeps/wordsize-64/fseeko.c: File removed.
39287         * sysdeps/wordsize-64/fseeko64.c: File removed.
39288         * sysdeps/wordsize-64/ftello.c: File removed.
39289         * sysdeps/wordsize-64/ftello64.c: File removed.
39290         * sysdeps/wordsize-64/iofgetpos.c: File removed.
39291         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39292         * sysdeps/wordsize-64/iofsetpos.c: File removed.
39293         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39294         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39295         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39296         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39297         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39298         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39299         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39300         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39301         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39302         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39303         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39305         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39306         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39307         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39308         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39309         [defined __arch64__ || defined __sparcv9]
39310         (__OFF_T_MATCHES_OFF64_T): New macro.
39311         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39312         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39313         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39314         (__OFF_T_MATCHES_OFF64_T): New macro.
39316 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
39318         * stdlib/secure-getenv.c (__secure_getenv): Replace
39319         GLIBC_2_16 with GLIBC_2_17.
39321 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
39323         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39324         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39326 2012-08-03  David S. Miller  <davem@davemloft.net>
39328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39330 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
39332         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39333         Remove.
39334         (__ASSUME_CORRECT_SI_PID): Likewise.
39335         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39336         (__ASSUME_TMPFS_NAME): Likewise.
39337         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39338         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39339         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39340         (HAVE_AUX_SECURE): Make definition unconditional.
39341         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39342         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39344 2012-08-03  Roland McGrath  <roland@hack.frob.com>
39346         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39347         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39348         * sysdeps/mach/hurd/eloop-threshold.h: New file.
39349         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39350         __eloop_threshold instead of SYMLOOP_MAX.
39352         * sysdeps/generic/eloop-threshold.h: New file.
39353         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39354         of MAXSYMLINKS.
39355         * elf/chroot_canon.c (chroot_canon): Likewise.
39357 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
39359         [BZ #13717]
39360         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39361         Change to 2.6.0 everywhere.
39362         * sysdeps/unix/sysv/linux/configure: Regenerated.
39363         * sysdeps/unix/sysv/linux/kernel-features.h
39364         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39365         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39366         kernel versions.
39367         (__ASSUME_POSIX_TIMERS): Define unconditionally.
39368         (__ASSUME_FUTEX_REQUEUE): Remove.
39369         (__ASSUME_STATFS64): Define unconditionally.
39370         (__ASSUME_AT_SECURE): Likewise.
39371         (__ASSUME_CORRECT_SI_PID): Likewise.
39372         (__ASSUME_TGKILL): Define without depending on kernel version for
39373         i386.
39374         (__ASSUME_UTIMES): Likewise.
39375         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39376         kernel version.
39377         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39378         (__ASSUME_TMPFS_NAME): Likewise.
39379         * README: Update reference to Linux kernel versions.
39381 2012-08-02  Marek Polacek  <polacek@redhat.com>
39383         [BZ# 14150]
39384         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
39385         libc_cv_asm_type_prefix with %.
39386         * configure: Regenerated.
39387         * include/libc-symbols.h: Remove comment about
39388         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39389         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39390         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39391         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39392         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39393         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39394         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39395         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39396         * elf/tst-unique2mod1.c: Likewise.
39397         * elf/tst-unique1mod2.c: Likewise.
39398         * elf/tst-unique1mod1.c: Likewise.
39399         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39400         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39401         Replace ASM_TYPE_DIRECTIVE with .type.
39402         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39403         * sysdeps/i386/sysdep.h: Likewise.
39404         * sysdeps/x86_64/sysdep.h: Likewise.
39405         * sysdeps/sh/sysdep.h: Likewise.
39406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39407         Do not define ASM_TYPE_DIRECTIVE.
39408         * sysdeps/powerpc/sysdep.h: Likewise.
39409         * sysdeps/powerpc/powerpc32/sysdep.h:
39410         Replace ASM_TYPE_DIRECTIVE with .type.
39411         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39412         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39413         * sysdeps/i386/fpu/e_powf.S: Likewise.
39414         * sysdeps/i386/fpu/e_expl.S: Likewise.
39415         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39416         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39417         * sysdeps/i386/fpu/e_pow.S: Likewise.
39418         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39419         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39420         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39421         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39422         * sysdeps/i386/fpu/e_log2.S: Likewise.
39423         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39424         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39425         * sysdeps/i386/fpu/e_powl.S: Likewise.
39426         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39427         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39428         * sysdeps/i386/fpu/e_logl.S: Likewise.
39429         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39430         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39431         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39432         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39433         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39434         * sysdeps/i386/fpu/e_log.S: Likewise.
39435         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39436         * sysdeps/i386/fpu/e_logf.S: Likewise.
39437         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39438         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39439         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39440         * sysdeps/i386/fpu/e_log10.S: Likewise.
39441         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39442         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39443         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39444         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39445         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39446         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39447         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39448         * sysdeps/i386/i686/strtok.S: Likewise.
39449         * sysdeps/i386/i386-mcount.S: Likewise.
39450         * sysdeps/i386/strtok.S: Likewise.
39451         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39452         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39453         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39454         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39455         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39456         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39457         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39458         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39459         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39460         * sysdeps/x86_64/_mcount.S: Likewise.
39461         * sysdeps/x86_64/strtok.S: Likewise.
39462         * sysdeps/sh/_mcount.S: Likewise.
39464 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39466         * libio/iofopen.c: Include <fcntl.h>.
39467         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39468         (_IO_fopen64, fopen64): Define as aliases.
39469         * libio/iofopen64.c: Include <fcntl.h>.
39470         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39471         Conditionalize body on this.
39472         * sysdeps/wordsize-64/iofopen.c: File removed.
39473         * sysdeps/wordsize-64/iofopen64.c: File removed.
39475 2012-08-01  Marek Polacek  <polacek@redhat.com>
39477         * libc/Makeconfig: Use elf in place of binfmt-subdir.
39478         Use dlfcn directly instead of a variable.
39479         (binfmt-subdir): Do not define.
39480         (dlfcn): Likewise.
39482 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
39484         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39485         Remove all definitions.
39486         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39487         <kernel-features.h>.
39488         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39489         (miss_F_GETOWN_EX): Remove all definitions.
39490         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39491         macro definition.
39492         [!__ASSUME_FCNTL64]: Remove conditional code.
39493         [__ASSUME_FCNTL64]: Make code unconditional.
39494         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39495         <kernel-features.h>.
39496         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39497         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39498         (lockf64) [__NR_fcntl64]: Make code unconditional.
39499         (lockf64) [__ASSUME_FCNTL64]: Likewise.
39501         * sysdeps/unix/sysv/linux/kernel-features.h
39502         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39503         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39504         Make code unconditional.
39505         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39506         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39508         [__NR_vfork]: Make code unconditional.
39509         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39510         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39512         [__NR_vfork]: Make code unconditional.
39513         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39514         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39516 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39518         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39519         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39521         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39522         Define mkstemp64 as an alias.
39523         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39524         Define mkstemps64 as an alias.
39525         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39526         Define mkostemp64 as an alias.
39527         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39528         Define mkostemps64 as an alias.
39529         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39530         Conditionalize body on this.
39531         * misc/mkostemp64.c: Likewise.
39532         * misc/mkostemps64.c: Likewise.
39533         * misc/mkstemps64.c: Likewise.
39534         * sysdeps/wordsize-64/mkstemp64.c: File removed.
39535         * sysdeps/wordsize-64/mkostemp64.c: File removed.
39536         * sysdeps/wordsize-64/mkostemp.c: File removed.
39537         * sysdeps/wordsize-64/mkstemp.c: File removed.
39538         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39539         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39540         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39541         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39543         [BZ #14138]
39544         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39545         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39546         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39547         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39549         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39550         compat_symbol macros from <shlib-compat.h> rather than the underlying
39551         default_symbol_version and symbol_version macros, so that DEFAULT
39552         lines in shlib-versions are respected.
39553         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39555 2012-08-01  Florian Weimer  <fweimer@redhat.com>
39557         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39558         Declare with warn_unused_result.
39559         (setgid, setregid, setegid, setresgid): Likewise.
39560         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39561         Likewise.
39562         * WUR-REPORT: Remove set*id functions.
39564 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
39566         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39568 2012-07-31  Roland McGrath  <roland@hack.frob.com>
39570         [BZ #10191]
39571         * include/sys/socket.h (__libc_accept, __libc_accept4):
39572         Add attribute_hidden.
39573         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39575         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39576         use of PTR_MANGLE.
39577         * inet/getnetgrent_r.c (setup): Likewise.
39579         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39581 2012-07-31  David S. Miller  <davem@davemloft.net>
39583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39585 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
39587         [BZ #13629]
39588         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39589         value between 1.0 and 2.0 and smaller part has absolute value less
39590         than 1.0.
39591         * math/s_clog10.c (__clog10): Likewise.
39592         * math/s_clog10f.c (__clog10f): Likewise.
39593         * math/s_clog10l.c (__clog10l): Likewise.
39594         * math/s_clogf.c (__clogf): Likewise.
39595         * math/s_clogl.c (__clogl): Likewise.
39596         * math/libm-test.inc (clog_test): Add more tests.
39597         (clog10_test): Likewise.
39598         * sysdeps/i386/fpu/libm-test-ulps: Update.
39599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39601 2012-07-31  Florian Weimer  <fweimer@redhat.com>
39603         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39604         Exit with zero in case no suitable GID is found, and write a
39605         message to standard error.
39607 2012-07-30  Roland McGrath  <roland@hack.frob.com>
39609         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39610         rather than to 1.
39611         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39612         (MAXPATHLEN): Removed.
39613         (NOGROUP, NODEV): New macros.
39614         (setbit, clrbit, isset, isclr): New macros.
39615         (howmany, roundup, powerof2): New macros.
39616         (DEV_BSIZE): New macro.
39618         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39619         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39621         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39622         definition on [!__NO_LONG_DOUBLE_MATH].
39624         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39625         PTR_MANGLE and PTR_DEMANGLE.
39627         * socket/accept4.c (accept4): Rename to __libc_accept4.
39628         Define accept4 as a weak alias.
39630         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39631         on [_DIRENT_HAVE_D_TYPE].
39632         * io/ftw.c (ftw_dir): Likewise.
39634         * io/xmknod.c (__xmknod): Don't check PATH for being null.
39636         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39638         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39639         Use the BSD numbers rather than the arbitrary ones we had.
39640         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39641         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39642         (SIGXCPU, SIGXFSZ): New macros.
39643         (_NSIG): Now 32.
39645         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39646         initializer on [_LIBC_REENTRANT].
39648         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39649         definitions inside [_POSIX_MAPPED_FILES].
39651         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39653         * dirent/opendir.c: Include <fcntl.h>.
39655         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39656         (__libc_getspecific): Likewise.
39657         (__libc_key_create): Likewise.
39659         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39660         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39661         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39662         (tmpfile64): Define as alias.
39663         * sysdeps/wordsize-64/tmpfile.c: File removed.
39664         * sysdeps/wordsize-64/tmpfile64.c: File removed.
39665         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39666         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39668         * stdio-common/vfscanf.c: Include <stdbool.h>.
39669         * nss/makedb.c: Likewise.
39670         * stdio-common/_i18n_number.h: Likewise.
39671         * argp/argp-help.c: Likewise.
39672         * posix/wordexp.c: Likewise.
39673         * sysdeps/posix/spawni.c: Likewise.
39674         * nss/nss_files/files-initgroups.c: Likewise.
39675         * stdio-common/reg-modifier.c: Include <stdlib.h>.
39676         * nss/nss_files/files-initgroups.c: Likewise.
39677         * nss/nss_db/db-netgrp.c: Likewise.
39678         * nss/nss_db/db-initgroups.c: Likewise.
39679         * io/fchmodat.c: Include <sys/stat.h>.
39681         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39682         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39684         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39685         [HAVE_MMAP].
39687         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39688         Add multiple inclusion protection.
39690 2012-07-27  David S. Miller  <davem@davemloft.net>
39692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39694 2012-07-27  Gary Benson  <gbenson@redhat.com>
39696         [BZ #14298]
39697         * elf/rtld.c: Include <stap-probe.h>.
39698         (dl_main): Added static probes "init_start" and "init_complete".
39699         * elf/dl-load.c: Include <stap-probe.h>.
39700         (lose): Take new parameter "nsid".
39701         Added static probe "map_failed".
39702         (_dl_map_object_from_fd): Pass namespace id to lose.
39703         Added static probe "map_start".
39704         (open_verify): Pass namespace id to lose.
39705         * elf/dl-open.c: Include <stap-probe.h>.
39706         (dl_open_worker) Added static probes "map_complete", "reloc_start"
39707         and "reloc_complete".
39708         * elf/dl-close.c: Include <stap-probe.h>.
39709         (_dl_close_worker): Added static probes "unmap_start" and
39710         "unmap_complete".
39711         * elf/rtld-debugger-interface.txt: New file documenting the above.
39713 2012-07-26  Roland McGrath  <roland@hack.frob.com>
39715         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39716         rather than a string variable.
39717         * sunrpc/rpc_main.c (h_output): Likewise.
39718         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39720 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
39722         * inet/check_native.c: New file.
39724 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
39726         [BZ #13629]
39727         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39728         if larger part has absolute value 1.0.
39729         * math/s_clog10.c (__clog10): Likewise.
39730         * math/s_clog10f.c (__clog10f): Likewise.
39731         * math/s_clog10l.c (__clog10l): Likewise.
39732         * math/s_clogf.c (__clogf): Likewise.
39733         * math/s_clogl.c (__clogl): Likewise.
39734         * math/libm-test.inc (clog_test): Add more tests.
39735         (clog10_test): Likewise.
39736         * sysdeps/i386/fpu/libm-test-ulps: Update.
39737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39739         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39740         (pltexit): Likewise.
39741         (La_regs): Likewise.
39742         (La_retval): Likewise.
39743         (int_retval): Likewise.
39744         Update #error for removed macros to refer only to definitions in
39745         tst-audit.h.
39746         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39747         macro.
39748         (pltexit): Likewise.
39749         (La_regs): Likewise.
39750         (La_retval): Likewise.
39751         (int_retval): Likewise.
39752         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39753         macro.
39754         (pltexit): Likewise.
39755         (La_regs): Likewise.
39756         (La_retval): Likewise.
39757         (int_retval): Likewise.
39758         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39759         macro.
39760         (pltexit): Likewise.
39761         (La_regs): Likewise.
39762         (La_retval): Likewise.
39763         (int_retval): Likewise.
39764         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39765         macro.
39766         (pltexit): Likewise.
39767         (La_regs): Likewise.
39768         (La_retval): Likewise.
39769         (int_retval): Likewise.
39770         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39771         macro.
39772         (pltexit): Likewise.
39773         (La_regs): Likewise.
39774         (La_retval): Likewise.
39775         (int_retval): Likewise.
39776         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39777         macro.
39778         (pltexit): Likewise.
39779         (La_regs): Likewise.
39780         (La_retval): Likewise.
39781         (int_retval): Likewise.
39782         * sysdeps/generic/tst-audit.h: Update comment to refer only to
39783         macro definitions in tst-audit.h.
39784         * sysdeps/i386/tst-audit.h: New file.
39785         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39786         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39787         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39788         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39789         * sysdeps/sh/tst-audit.h: Likewise.
39790         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39791         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39792         * sysdeps/x86_64/tst-audit.h: Likewise.
39794 2012-07-26  Andreas Jaeger  <aj@suse.de>
39796         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39797         ptrace.
39799         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39800         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39801         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39802         PTRACE_O_MASK.
39803         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39804         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39805         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39807         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39808         value.
39810         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39811         _sigsys.
39812         (si_call_addr, si_syscall, si_arch): Define new macro.
39813         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39814         _sigsys.
39815         (si_call_addr, si_syscall, si_arch): Define new marcro.
39816         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39817         _sigsys.
39818         (si_call_addr, si_syscall, si_arch): Define new macro.
39819         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39820         _sigsys.
39821         (si_call_addr, si_syscall, si_arch): Define new macro.
39823 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39825         [BZ #13717]
39826         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39827         Change to 2.4.21 where previously 2.4.1.
39828         * sysdeps/unix/sysv/linux/configure: Regenerated.
39829         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39830         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39831         Linux kernel version.
39832         (__ASSUME_STD_AUXV): Remove.
39833         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39834         kernel version.
39835         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39836         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39837         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39838         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39839         (__ASSUME_NETLINK_SUPPORT): Likewise.
39840         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39841         (__no_netlink_support): Remove conditional definition.
39842         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39843         Remove.
39844         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39845         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39846         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39847         (if_nameindex_ioctl): Remove.
39848         (if_nameindex_netlink): Do not handle __no_netlink_support.
39849         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39850         code.
39851         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39852         Remove conditional code.
39853         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39854         code.
39855         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39856         unconditional.
39857         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39858         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39859         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39860         Remove.
39861         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39862         [!__ASSUME_STD_AUXV]: Remove conditional code.
39863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39864         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39865         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39867         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39868         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39869         code.
39870         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39872         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39873         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39874         conditional code.
39875         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39877         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39878         code.
39879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39880         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39881         conditional code.
39882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39883         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39884         code unconditional.
39885         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39886         conditional code.
39887         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39888         unconditional.
39889         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39890         conditional code.
39891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39892         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39893         unconditional.
39894         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39895         conditional code.
39896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39897         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39898         code unconditional.
39899         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39900         conditional code.
39901         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39902         unconditional.
39903         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39904         conditional code.
39905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39906         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39907         code unconditional.
39908         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39909         conditional code.
39910         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39911         unconditional.
39912         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39913         conditional code.
39915 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
39917         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39918         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39919         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39920         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39921         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39922         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39923         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39924         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39925         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39926         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39927         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39928         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39929         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39930         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39931         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39932         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39933         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39934         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39935         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39936         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39937         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39938         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39939         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39941 2012-07-25  Florian Weimer  <fweimer@redhat.com>
39943         * Versions.def: Add GLIBC_2.17.
39944         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39945         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39946         Introduce __libc_secure_getenv.
39947         * stdlib/Versions (2.17): Add secure_getenv
39948         (GLIBC_PRIVATE): Add __libc_secure_getenv.
39949         * stdlib/secure-getenv.c: Rename __secure_getenv to
39950         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
39951         symbol __secure_getenv for GLIBC_2.0.
39952         * stdlib/tst-secure-getenv.c: New.
39953         * stdlib/Makefile (tests): Add testcase.
39954         * manual/startup.texi (Environment Access): Document
39955         secure_getenv.
39956         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39957         __libc_secure_getenv.
39958         * inet/ruserpass.c (ruserpass): Likewise.
39959         * malloc/mtrace.c (mtrace): Likewise.
39960         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39961         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39962         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39963         * sysdeps/posix/tempname.c: Likewise.  Evaluate
39964         HAVE_SECURE_GETENV.
39965         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39966         __secure_getenv to __libc_secure_getenv.
39967         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39969         Likewise.
39970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39971         Likewise.
39972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39974         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39980 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39982         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39983         (struct La_i86_retval): Likewise.
39984         (struct La_x86_64_regs): Likewise.
39985         (struct La_x86_64_retval): Likewise.
39986         (struct La_x32_regs): Likewise.
39987         (struct La_x32_retval): Likewise.
39988         (struct La_ppc32_regs): Likewise.
39989         (struct La_ppc32_retval): Likewise.
39990         (struct La_ppc64_regs): Likewise.
39991         (struct La_ppc64_retval): Likewise.
39992         (struct La_sh_regs): Likewise.
39993         (struct La_sh_retval): Likewise.
39994         (struct La_s390_32_regs): Likewise.
39995         (struct La_s390_32_retval): Likewise.
39996         (struct La_s390_64_regs): Likewise.
39997         (struct La_s390_64_retval): Likewise.
39998         (struct La_sparc32_regs): Likewise.
39999         (struct La_sparc32_retval): Likewise.
40000         (struct La_sparc64_regs): Likewise.
40001         (struct La_sparc64_retval): Likewise.
40002         (struct audit_ifaces): Remove architecture-specific pltenter and
40003         pltexit members.
40004         * sysdeps/i386/ldsodefs.h: New file.
40005         * sysdeps/powerpc/ldsodefs.h: Likewise.
40006         * sysdeps/s390/ldsodefs.h: Likewise.
40007         * sysdeps/sh/ldsodefs.h: Likewise.
40008         * sysdeps/sparc/ldsodefs.h: Likewise.
40009         * sysdeps/x86_64/ldsodefs.h: Likewise.
40011 2012-07-25  Marek Polacek  <polacek@redhat.com>
40013         [BZ #6808]
40014         * math/libm-test.inc (yn_test): Add another test.
40015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40016         to ERANGE when the result is +-Inf.
40017         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40018         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40019         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40020         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40022 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
40024         * conform/data/time.h-data (NULL): Use macro-constant.  Require
40025         equal to 0.
40026         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
40027         clock_t.
40028         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
40030 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
40032         * configure.in <sysdeps resolving>: Correct printing
40033         Implies_before.
40034         * configure: Regenerate.
40036 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
40038         * math/w_ilogb.c: Include <limits.h>.
40039         * math/w_ilogbl.c: Likewise.
40041 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40043         * manual/lang.texi (__va_copy): Document primarily as ISO C99
40044         va_copy.  Document allowing for unavailable va_copy only as
40045         pre-C99 compatibility.
40046         * manual/string.texi (Copying and Concatenation): Use va_copy
40047         instead of __va_copy in concat example.
40049 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
40051         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40052         (__sendto): Use create_address_port.  Initialize APORT and deallocate
40053         it if not null.
40055         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40056         with O_NOLINK passed to __file_name_lookup.
40058         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40059         with O_NOLINK passed to __file_name_lookup.
40061         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40062         negative N or less than NGIDS.
40064         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40065         type to string_t.  Set ERANGE as errno and return it if NAME is not big
40066         enough.  Use memcpy instead of strncpy.
40068 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40070         * elf/Makefile (check-data): Remove.
40071         (localplt.data): New vpath directive.
40072         ($(objpfx)check-localplt.out): Use localplt.data from vpath
40073         instead of $(check-data).
40074         * scripts/data/localplt-generic.data: Move to ...
40075         * sysdeps/generic/localplt.data: ... here.
40076         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40077         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40078         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40080         ... here.
40081         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40083         ... here.
40084         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40086         ... here.
40087         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40089         ... here.
40090         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40092         ... here.
40093         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40095         ... here.
40097 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40099         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40100         PPC32 and PPC64 files.
40101         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40102         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40104 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40106         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40107         __makecontext_ret to ...
40108         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40109         ... here and call exit if uc_link is NULL.  New file.
40110         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40111         __makecontext_ret.S.
40112         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40113         __makecontext_ret to ...
40114         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40115         ... here and call exit if uc_link is NULL.  New file.
40116         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40117         __makecontext_ret.S.
40119 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40121         * elf/elf.h (R_390_IRELATIVE): New definition.
40122         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40123         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
40124         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40125         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40126         (elf_machine_lazy_rel): Likewise.
40127         * sysdeps/s390/dl-irel.h: New file.
40128         * sysdeps/s390/s390-64/memcpy.S: New asm code.
40129         * sysdeps/s390/s390-64/memset.S: New asm code.
40130         * sysdeps/s390/s390-64/memcmp.S: New asm code.
40131         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40132         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40133         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40134         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40135         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40136         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40137         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40138         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40139         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40140         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40141         * sysdeps/s390/s390-32/memcpy.S: New asm code.
40142         * sysdeps/s390/s390-32/memset.S: New asm code.
40143         * sysdeps/s390/s390-32/memcmp.S: New asm code.
40145 2012-07-17  Marek Polacek  <polacek@redhat.com>
40147         [BZ #14349]
40148         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40149         * sysdeps/s390/s390-64/configure.in: Likewise.
40150         * sysdeps/sparc/configure.in: Likewise.
40151         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40152         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40153         * sysdeps/i386/configure.in: Likewise.
40154         * sysdeps/x86_64/configure.in: Likewise.
40155         * sysdeps/sh/configure.in: Likewise.
40156         * sysdeps/s390/s390-32/configure: Regenerated.
40157         * sysdeps/s390/s390-64/configure: Likewise.
40158         * sysdeps/x86_64/configure: Likewise.
40159         * sysdeps/sh/configure: Likewise.
40160         * sysdeps/powerpc/powerpc64/configure: Likewise.
40161         * sysdeps/powerpc/powerpc32/configure: Likewise.
40162         * sysdeps/sparc/configure: Likwise.
40163         * sysdeps/i386/configure: Likewise.
40165         * elf/dl-open.c: Comment fixes.
40167 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
40169         * Makefile [CXX] (check-data): Remove.
40170         [CXX] (c++-types.data): New vpath directive.
40171         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40172         vpath.  Do not allow for C++ type data being missing.
40173         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40174         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40175         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40176         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40177         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40178         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40179         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40181         ... here.
40182         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40184         ... here.
40185         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40187         ... here.
40188         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40190         ... here.
40191         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40193         ... here.
40194         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40196         ... here.
40197         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40199         ... here.
40200         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40203         * elf/tls-macros.h (TLS_LE): Move architecture-specific
40204         definitions to architecture-specific files.
40205         (TLS_IE): Likewise.
40206         (TLS_LD): Likewise.
40207         (TLS_GD): Likewise.
40208         * sysdeps/i386/tls-macros.h: New file.
40209         * sysdeps/powerpc/tls-macros.h: Likewise.
40210         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40211         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40212         * sysdeps/sh/tls-macros.h: Likewise.
40213         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40214         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40215         * sysdeps/x86_64/tls-macros.h: Likewise.
40217 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40219         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40220         zero value for regular exit case.
40222         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40223         (__start_context): Preserve zero value for regular exit case.
40225 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40226             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40228         * manual/setjmp.texi (setcontext): Clarify normal process
40229         termination when uc_link is the null pointer.
40230         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40231         exit call.
40233 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
40235         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40236         preprocessor.  Test for each exception mask separately.
40238 2012-07-16  Andreas Jaeger  <aj@suse.de>
40240         * po/ru.po: Update from translation team.
40242 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
40244         * conform/data/string.h-data (NULL): Use macro-constant.  Require
40245         equal to 0.
40246         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40247         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40248         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40249         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40250         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40252 2012-07-13  Andreas Jaeger  <aj@suse.de>
40254         * po/fr.po: Update from translation team.
40256 2012-07-12  Marek Polacek  <polacek@redhat.com>
40258         [BZ #14173]
40259         * math/libm-test.inc (yn_test): Add test for BZ #14173.
40260         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40261         loop condition.
40263 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
40265         [BZ #13717]
40266         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40267         Change to 2.4.1 where previously 2.4.0.
40268         * sysdeps/unix/sysv/linux/configure: Regenerated.
40269         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40270         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40271         version.
40272         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40273         (__ASSUME_AT_CLKTCK): Remove.
40274         (__ASSUME_AT_PAGESIZE): Likewise.
40275         (__ASSUME_AT_XID): Likewise.
40276         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40277         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40278         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40279         unconditionally.
40280         (HAVE_AUX_PAGESIZE): Likewise.
40281         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40282         [__ASSUME_AT_CLKTCK]: Make code unconditional.
40283         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40285 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
40287         [BZ #14307]
40288         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40289         the temporary buffer used to invoke __gethostbyname2_r,
40290         __gethostbyaddr_r and gethostbyname4_r to make room for struct
40291         host_data / struct gaih_addrtuple.
40292         * resolv/nss_dns/dns-host.c (global scope): Move definition of
40293         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40294         header file nss/nsswitch.h.
40295         * nss/nsswitch.h (global scope): Add definition of implementation
40296         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40297         resolv/nss_dns/dns-host.c).
40299 2012-07-11  Andreas Jaeger  <aj@suse.de>
40301         * po/fr.po: Update from translation team.
40303         * po/sv.po: Update from translation team
40304         * po/fr.po: Another update from translation team.
40306 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40308         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40309         for subnormals or multiply small sinh result by itself.
40310         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40313 2012-07-11  David S. Miller  <davem@davemloft.net>
40315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40317 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
40319         [BZ #14347]
40320         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40321         (INTERNAL_MARK): Shift it here.
40323 2012-07-10  Marek Polacek  <polacek@redhat.com>
40325         [BZ #14151]
40326         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
40327         libc_cv_asm_global_directive with .globl.
40328         * configure: Regenerated.
40329         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40330         with .globl.
40331         * sysdeps/i386/configure: Regenerated.
40332         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40333         with .globl.
40334         * sysdeps/x86_64/configure: Regenerated.
40335         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40336         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40337         * elf/tst-unique2mod2.c: Likewise.
40338         * elf/tst-unique2mod1.c: Likewise.
40339         * elf/tst-unique1mod2.c: Likewise.
40340         * elf/tst-unique1mod1.c: Likewise.
40341         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40342         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40343         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40344         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40345         * sysdeps/mach/sysdep.h: Likewise.
40346         * sysdeps/i386/sysdep.h: Likewise.
40347         * sysdeps/i386/i386-mcount.S: Likewise.
40348         * sysdeps/x86_64/_mcount.S: Likewise.
40349         * sysdeps/x86_64/sysdep.h: Likewise.
40350         * sysdeps/sh/_mcount.S: Likewise.
40351         * sysdeps/sh/sysdep.h: Likewise.
40352         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40353         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40354         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40355         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40356         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40357         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40358         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40359         * locale/localeinfo.h: Likewise.
40360         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40361         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40363 2012-07-09  Roland McGrath  <roland@hack.frob.com>
40365         [BZ #14336]
40366         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40367         system".
40368         * manual/message.texi (The Uniforum approach): Likewise.
40369         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40370         (glibc iconv Implementation): Likewise.
40372 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
40374         [BZ #14337]
40375         * math/s_clog.c (__clog): Avoid scaling a value down where that
40376         could result in underflow.
40377         * math/s_clog10.c (__clog10): Likewise.
40378         * math/s_clog10f.c (__clog10f): Likewise.
40379         * math/s_clog10l.c (__clog10l): Likewise.
40380         * math/s_clogf.c (__clogf): Likewise.
40381         * math/s_clogl.c (__clogl): Likewise.
40382         * math/libm-test.inc (clog_test): Add more tests.
40383         (clog10_test): Likewise.
40384         * sysdeps/i386/fpu/libm-test-ulps: Update.
40385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40387 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
40389         [BZ #14283]
40390         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40391         by 7 not 8 to examine high bit of fractional part.
40393         [BZ #14042]
40394         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40395         for call to __mcount_internal.
40396         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40397         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40398         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40400 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
40402         [BZ #14154]
40403         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40404         approximation for values within 0x1p-13f of an odd multiple of
40405         pi/4.
40406         * math/libm-test.inc (tan_test): Do not allow spurious underflow
40407         exception.  Add more tests.
40408         * sysdeps/i386/fpu/libm-test-ulps: Update.
40410         [BZ #6778]
40411         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40412         inputs and return -1 for them.  Do not check for +Inf in case not
40413         reachable for +Inf.
40414         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40415         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40416         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40417         and return -1 for them.  Do not check for +Inf in case not
40418         reachable for +Inf.
40419         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40420         define.
40421         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40422         and return -1 for them.  Do not check for +Inf in case not
40423         reachable for +Inf.
40424         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
40425         spurious underflow.
40426         * sysdeps/i386/fpu/libm-test-ulps: Update.
40427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40429 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
40431         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40433 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
40435         [BZ #14157]
40436         [BZ #14331]
40437         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40438         could result in spurious underflow.  Scale down values above
40439         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40440         * math/s_csqrtf.c (__csqrtf): Likewise.
40441         * math/s_csqrtl.c (__csqrtl): Likewise.
40442         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
40443         spurious underflow.
40444         * sysdeps/i386/fpu/libm-test-ulps: Update.
40445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40447 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
40449         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40450         xopen-msg.sed.
40451         * catgets/xopen-msg.awk: New file.
40452         * catgets/xopen-msg.sed: Removed.
40454         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40455         po2text.sed.
40456         * intl/po2test.awk: New file.
40457         * intl/po2test.sed: Removed.
40459 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
40461         [BZ #14328]
40462         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40463         or multiply small sinh result by itself.
40464         * math/s_ctanf.c (__ctanf): Likewise.
40465         * math/s_ctanh.c (__ctanh): Likewise.
40466         * math/s_ctanhf.c (__ctanhf): Likewise.
40467         * math/s_ctanhl.c (__ctanhl): Likewise.
40468         * math/s_ctanl.c (__ctanl): Likewise.
40469         * math/libm-test.inc (ctan_test_tonearest): New function.
40470         (ctan_test_towardzero): Likewise.
40471         (ctan_test_downward): Likewise.
40472         (ctan_test_upward): Likewise.
40473         (ctanh_test_tonearest): Likewise.
40474         (ctanh_test_towardzero): Likewise.
40475         (ctanh_test_downward): Likewise.
40476         (ctanh_test_upward): Likewise.
40477         (main): Call these new functions.
40478         * sysdeps/i386/fpu/libm-test-ulps: Update.
40479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40481 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
40483         * .gitignore: Delete /ports entry.
40485 2012-07-03  Andreas Jaeger  <aj@suse.de>
40487         * po/bg.po: Update from translation team.
40488         * po/cs.po: Likewise.
40489         * po/de.po: Likewise.
40490         * po/hr.po: Likewise.
40491         * po/nl.pl: Likewise.
40492         * po/pl.po: Likewise.
40493         * po/vi.po: Likewise.
40495 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
40497         * Makeconfig [!+link] (+link-before-libc): New variable.
40498         [!+link] (+link-after-libc): Likewise.
40499         [!+link] (+link-tests): Likewise.
40500         [!+link] (+link): Define in terms of $(+link-before-libc) and
40501         $(+link-after-libc).
40502         [!+link-static] (+link-static-before-libc): New variable.
40503         [!+link-static] (+link-static-after-libc): Likewise.
40504         [!+link-static] (+link-static-tests): Likewise.
40505         [!+link-static] (+link-static): Define in terms of
40506         $(+link-static-before-libc) and $(+link-static-after-libc).
40507         [build-shared] (link-libc-before-gnulib): New variable.
40508         [build-shared] (link-libc-tests): Likewise.
40509         [build-shared] (link-libc): Define in terms of
40510         $(link-libc-before-gnulib).
40511         [!build-shared] (link-libc-tests): New variable.
40512         (link-libc-static-tests): New variable.
40513         [!gnulib] (gnulib-arch): New variable.
40514         [!gnulib] (gnulib-tests): Likewise.
40515         [!gnulib] (static-gnulib-arch): Likewise.
40516         [!gnulib] (static-gnulib-tests): Likewise.
40517         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
40518         Define with "=" instead of ":=".
40519         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
40520         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
40521         * Rules (binaries-all-notests): New variable.
40522         (binaries-all-tests): Likewise.
40523         (binaries-static-notests): Likewise.
40524         (binaries-static-tests): Likewise.
40525         (binaries-all): Define using $(binaries-all-notests) and
40526         $(binaries-all-tests).
40527         (binaries-static): Define using $(binaries-static-notests) and
40528         $(binaries-static-tests).
40529         (binaries-shared-tests): New variable.
40530         (binaries-shared-notests): Likewise.
40531         (binaries-shared): Remove variable.
40532         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40533         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40534         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40535         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40536         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40537         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40538         * elf/Makefile (sln-modules): New variable.
40539         (extra-objs): Add $(sln-modules:=.o).
40540         (ldconfig-modules): Add static-stubs.
40541         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40542         * elf/static-stubs.c: New file.
40544         [BZ #14283]
40545         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40546         by 7 not 8 to examine high bit of fractional part.  Use volatile
40547         variables when splitting into final array of floats if
40548         __FLT_EVAL_METHOD__ != 0.
40549         * math/libm-test.inc (cos_test): Add another test.
40550         (sin_test): Likewise.
40551         * sysdeps/i386/fpu/libm-test-ulps: Update.
40553         [BZ #14273]
40554         * math/libm-test.inc (cosh_test): Add more tests.
40556         * version.h (RELEASE): Set to "development".
40557         (VERSION): Set to "2.16.90".
40559 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
40561         * NEWS: Update copyright. Remove last-updated date.
40562         Mention math library bug fixes and timezone data changes.
40563         * README: Mention GNU/Hurd, x32, and HPPA support status.
40565 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
40567         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40569 2012-06-27  Andreas Jaeger  <aj@suse.de>
40571         * manual/contrib.texi (Contributors): Add Samuel Thibault.
40573 2012-06-25  Andreas Jaeger  <aj@suse.de>
40575         * sysdeps/s390/fpu/libm-test-ulps: Update.
40577 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
40578             Thomas Schwinge  <thomas@codesourcery.com>
40580         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40581         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40582         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40583         fanotify_mark.
40585 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
40587         * sysdeps/mach/start.c: Remove file.
40588         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40589         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40590         * sysdeps/sh/init-first.c: Likewise.
40592         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40593         registers for frame unwinding purposes, add CFI directives.
40594         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40595         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40596         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40597         Likewise.
40599         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40600         __fortify_fail returning.
40601         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40603         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40604         sysdeps/sh/____longjmp_chk.S.
40605         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40606         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40607         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40608         (gen-as-const-headers): Append sigaltstack-offsets.sym.
40610         * sysdeps/sh/abort-instr.h: New file.
40611         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40612         process in case exit returns.
40614         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40615         initialize the GOT register before use.
40617         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40618         calculation of ARGC > 4.
40620         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40621         meaningful names to some local labels.
40623 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40624             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40626         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40627         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40628         (__arch_compare_and_exchange_val_16_acq): Likewise.
40629         (__arch_compare_and_exchange_val_32_acq): Likewise.
40630         (atomic_exchange_and_add): Fix gUSA sequence.
40631         (atomic_add): Likewise.
40632         (atomic_add_negative): Likewise.
40633         (atomic_add_zero): Likewise.
40634         (atomic_bit_test_set): Likewise.
40636 2012-06-22  Andreas Schwab  <schwab@redhat.com>
40638         [BZ #13579]
40639         * include/link.h (struct link_map): Add l_free_initfini.
40640         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40641         l_initfini.
40642         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40643         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40644         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40645         set.
40647 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
40649         * configure.in: Use AC_LANG_SOURCE.
40650         * configure: Regenerate.
40652 2012-06-22  Roland McGrath  <roland@hack.frob.com>
40654         * configure.in (libc_cv_localstatedir): New substituted variable.
40655         * configure: Regenerated.
40656         * config.make.in (localstatedir): New variable, substituted from
40657         libc_cv_localstatedir.
40658         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40659         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40660         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40661         * sysdeps/gnu/configure: Regenerated.
40663 2012-06-21  Jeff Law  <law@redhat.com>
40665         [BZ #14277]
40666         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40667         free.  Simplify list management for _LIBC case.
40669 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
40671         [BZ #14273]
40672         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40673         Clear sign bit of 64-bit integer value before comparing against
40674         overflow value.
40676         * sysdeps/mach/configure: Regenerated.
40678 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
40680         [BZ #14278]
40681         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40683 2012-06-21  Jeff Law  <law@redhat.com>
40685         [BZ #13882]
40686         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
40687         uint16_t for elements in the "seen" array to avoid char overflows.
40688         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40689         * elf/dl-open.c (dl_open_worker): Likewise.
40691 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
40693         * scripts/list-sources.sh: Scan PORTS for translations.
40694         * po/libc.pot: Regenerated.
40696 2012-06-21  Andreas Jaeger  <aj@suse.de>
40698         [BZ #12194]
40699         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40700         warning.
40701         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40702         * bits/byteswap-16.h (__bswap_16): Likewise.
40703         * bits/byteswap.h (__bswap_constant_16): Likewise.
40705 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
40707         [BZ #14117]
40708         * sysdeps/i386/fpu_control.h: Removed.
40709         * sysdeps/x86_64/fpu_control.h: Moved to ...
40710         * sysdeps/x86/fpu_control.h: Here.
40712         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40713         (_FPU_SETCW): Likewise.
40715 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
40717         [BZ #14117]
40718         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40719         * sysdeps/x86/fpu/bits/mathinline.h: This.
40720         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40722         [BZ #14050]
40723         [BZ #14117]
40724         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40725         functions if __x86_64__ is defined.
40727 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
40729         * string/endian.h: Add !__ASSEMBLER__ condition for including
40730         conversion interfaces.
40732 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
40734         [BZ #14241]
40735         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40736         of ABS(x) in calculating zero to negative powers other than odd
40737         integers.
40738         * math/libm-test.inc (pow_test): Add more tests.
40740 2012-06-15  Andreas Jaeger  <aj@suse.de>
40742         * manual/contrib.texi (Contributors): Update entry of Liubov
40743         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40744         Machado Filho.
40746 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
40748         * string/string.h: Add __wur to GNU version of strerror_r.
40750 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
40752         [BZ #14229]
40753         * string/Makefile (tests): Add tst-strtok_r.
40754         * string/tst-strtok_r.c: New file.
40755         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40756         RAX_LP/RDX_LP on SAVE_PTR.
40758 2012-06-14  Roland McGrath  <roland@hack.frob.com>
40760         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40762 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
40764         * libm_test.inc (csqrt_test): Allow more spurious underflow
40765         exceptions.
40766         (j0_test): Likewise.
40767         (j1_test): Likewise.
40768         (y0_test): Likewise.
40769         (y1_test): Likewise.
40771 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
40773         * po/Makefile (libc.pot): Use UTF-8 charset.
40775 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
40777         [BZ #14210]
40778         Suppress sign-conversion warning from FD_SET.
40779         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40780         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40781         not unsigned long int.
40782         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40784 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
40786         [BZ #14050]
40787         [BZ #14117]
40788         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40789         __extern_always_inline instead of __extern_inline.
40790         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40791         (__signbit): Likewise.
40792         (__signbitl): Support C++ namespace.
40793         (lrintf): New inline function.
40794         (lrint): Likewise.
40795         (llrintf): Likewise.
40796         (llrint): Likewise.
40797         (fmaxf): Likewise.
40798         (fmax): Likewise.
40799         (fminf): Likewise.
40800         (fmin): Likewise.
40801         (rint): Likewise.
40802         (rintf): Likewise.
40803         (ceil): Likewise.
40804         (ceilf): Likewise.
40805         (floor): Likewise.
40806         (floorf): Likewise.
40807         (nearbyint): Likewise.
40808         (nearbyintf): Likewise.
40810 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
40812         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40813         non-default versions.
40815 2012-06-11  Roland McGrath  <roland@hack.frob.com>
40817         [BZ #14218]
40818         * manual/argp.texi (Argp): Reword argp_parse description slightly.
40820 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
40822         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40823         (FE_UPWARD, FE_DOWNWARD): Don't define.
40824         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40825         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40827         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40828         reading it.
40829         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40830         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40832 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40834         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40835         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40836         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40837         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40839 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
40841         [BZ #14117]
40842         * sysdeps/i386/fpu/bits/fenv.h: Removed.
40843         * sysdeps/i386/fpu/Implies: New file.
40844         * sysdeps/x86_64/fpu/Implies: Likewise.
40845         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40846         * sysdeps/x86/fpu/bits/fenv.h: This.
40848         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40849         __SSE_MATH__.
40851 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40853         [BZ #14134]
40854         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40855         character 0xffff that matches the last element of the
40856         conversion table.
40858 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40860         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40861         fmodl commit.
40863 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40865         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40866         values higher than 25.6283.
40868 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40870         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40871         subnormal exponent extraction and add some __builtin_expect.
40872         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40873         Fix for subnormal mantissa calculation.
40875 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
40877         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40878         cpu2 is -1 and errno is not ENOSYS.
40880 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
40882         [BZ #14117]
40883         * sysdeps/i386/i486/bits/string.h: Renamed to ...
40884         * sysdeps/x86/bits/string.h: This.
40885         * sysdeps/x86_64/bits/string.h: Removed.
40887         * sysdeps/i386/i486/bits/string.h: Define inline functions only
40888         if not compiling for x86-64, but compiling for >= i486.
40890         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40891         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40893         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40894         New macro from Linux kernel 3.4.0.
40895         (FP_XSTATE_MAGIC2): Likewise.
40896         (FP_XSTATE_MAGIC2_SIZE): Likewise.
40897         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40898         (struct _fpx_sw_bytes): New struct.
40899         (struct _xsave_hdr): Likewise.
40900         (struct _ymmh_state): Likewise.
40901         (struct _xstate): Likewise.
40903         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40904         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40905         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40906         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40907         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40908         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40910         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40911         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40912         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40913         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40914         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40915         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40917 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40919         [BZ #13743]
40920         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40921         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40922         (sysdep_headers): Include sys/platform/ppc.h.
40923         * sysdeps/powerpc/test-gettimebase.c: Test for
40924         __ppc_get_timebase() to catch future ISA opcode/insn changes.
40925         * manual/Makefile (appendices): Include platform.texi.
40926         * manual/contrib.texi (Contributors): Update @node pointers.
40927         * manual/maint.texi (Maintenance): Likewise.
40928         (Platform): New node.
40929         * manual/platform.texi: New file.  Document the new features.
40931 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40932             Jakub Jelinek  <jakub@redhat.com>
40934         [BZ #14188]
40935         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40936         where __builtin_expect is unavailable.
40938 2012-06-03  David S. Miller  <davem@davemloft.net>
40940         * stdlib/longlong.h: Updated from GCC.
40942 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
40944         [BZ #14042]
40945         * sysdeps/powerpc/powerpc32/mcount.c: New file.
40946         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40947         __mcount_internal.
40948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40949         (GLIBC_2.16): Likewise.
40951 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40953         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40955 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40958         (default-abi): New variable.
40959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40960         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40961         variable.
40962         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40963         Likewise.
40964         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40965         Likewise.
40966         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40967         Likewise.
40969         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40970         definition.  Document in comment.
40972 2012-06-01  David S. Miller  <davem@davemloft.net>
40974         * stdlib/longlong.h: Updated from GCC.
40976 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40978         [BZ #14117]
40979         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40980         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40981         sys/debugreg.h sys/io.h here.
40982         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40983         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40984         sys/io.h.
40985         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40986         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40987         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40988         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40989         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40990         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40992         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40993         Define only if __x86_64__ is defined.
40995 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40997         [BZ #14048]
40998         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40999         Use int64_t for variable i.
41000         * math/libm-test.inc (fmod_test): Add more tests.
41002         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41003         z computation is not scheduled after fetestexcept.
41004         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41005         Use math_force_eval instead of asm to ensure calculation scheduled
41006         before exception test.
41007         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41008         Ensure a1 + u.d computation is not scheduled after fetestexcept.
41010 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
41012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41013         computation is not scheduled after fetestexcept.
41015 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41017         [BZ #14117]
41018         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41019         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41021 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41023         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41024         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41026 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41028         [BZ #14117]
41029         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41030         <bits/wordsize.h>.
41031         (__WCHAR_MIN): Support __WORDSIZE == 64.
41032         (__WCHAR_MAX): Likewise.
41034         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41035         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41037         [BZ #14183]
41038         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41039         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41041         [BZ #14117]
41042         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41043         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41045         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41046         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41048         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41049         Defined to 1 if __x86_64__ isn't defined.
41050         (_STAT_VER_LINUX_OLD): New.
41051         (st_atime): Remove duplicate.
41052         (st_mtime): Likewise.
41053         (st_ctime): Likewise.
41055 2012-05-31  David S. Miller  <davem@davemloft.net>
41057         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41058         entries.
41060 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
41062         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41063         gen-libm-test.pl.
41065         [BZ #14132]
41066         * elf/dl-reloc.c: Include <_itoa.h>.
41067         (_dl_reloc_bad_type): Remove use of INTUSE.
41068         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41069         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41070         * stdio-common/psiginfo.c (psiginfo): Likewise.
41071         * stdio-common/psignal.c (psignal): Likewise.
41072         * string/strsignal.c (strsignal): Likewise.
41073         * include/signal.h (_sys_siglist): Declare hidden proto.
41074         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
41075         INTVARDEF with libc_hidden_data_def.
41076         * stdio-common/itoa-udigits.c: Likewise.
41077         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41078         (_itoa_lower_digits_internal): Remove declaration.
41079         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41080         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41081         (_sys_sigabbrev_internal): Remove aliases.
41082         (_sys_siglist): Define hidden alias.
41084 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
41086         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41087         bits/sysctl.h.
41089 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41091         [BZ #14117]
41092         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41093         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41095         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41096         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41097         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41098         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41099         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41100         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41102         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41103         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41104         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41106         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41107         with __addr.
41108         (insw): Likewise.
41109         (insl): Likewise.
41110         (outsb): Likewise.
41111         (outsw): Likewise.
41112         (outsl): Likewise.
41114         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41115         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41116         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41118         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41119         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41120         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41121         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41122         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41123         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41125         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41126         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41128         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41129         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41131         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41132         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41133         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41135         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41136         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41137         to ...
41138         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41140         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41141         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41142         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41144         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41145         for x86-64.
41146         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41148 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
41150         * math/math.h (M_El): Use two more decimal places.
41151         (M_LOG2El): Likewise.
41152         (M_LOG10El): Likewise.
41153         (M_LN2l): Likewise.
41154         (M_LN10l): Likewise.
41155         (M_PIl): Likewise.
41156         (M_PI_2l): Likewise.
41157         (M_PI_4l): Likewise.
41158         (M_1_PIl): Likewise.
41159         (M_2_PIl): Likewise.
41160         (M_2_SQRTPIl): Likewise.
41161         (M_SQRT2l): Likewise.
41162         (M_SQRT1_2l): Likewise.
41164 2012-05-31  David S. Miller  <davem@davemloft.net>
41166         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41167         values between float registers.
41168         * sysdeps/sparc/sparc64/memset.S: Likewise.
41169         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41171 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
41173         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41174         -D_FORTIFY_SOURCE=1.
41175         (CPPFLAGS-tst-longjmp_chk.c): Define.
41176         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41177         (CPPFLAGS-tst-longjmp_chk2.c): Define.
41178         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41179         CFLAGS-tst-wchar-h.c.
41181 2012-05-31  Marek Polacek  <polacek@redhat.com>
41183         [BZ #14132]
41184         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41185         __endmntent_internal): Remove declaration.
41186         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41187         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41188         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41190 2012-05-30  David S. Miller  <davem@davemloft.net>
41192         * sysdeps/sparc/sparc32/soft-fp/q_util.c
41193         (___Q_simulate_exceptions): Use real FP ops rather than writing
41194         into the %fsr.
41195         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41196         Likewise.
41198 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41200         [BZ #14117]
41201         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41202         * sysdeps/x86/bits/xtitypes.h: This.
41204         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41205         * sysdeps/x86/bits/wordsize.h: This.
41207         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41208         * sysdeps/x86/bits/huge_vall.h: This.
41210         * sysdeps/i386/bits/select.h: Removed.
41211         * sysdeps/x86_64/bits/select.h: Renamed to ...
41212         * sysdeps/x86/bits/select.h: This.
41214         * sysdeps/i386/bits/setjmp.h: Removed.
41215         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41216         * sysdeps/x86/bits/setjmp.h: This.
41218         * sysdeps/i386/bits/mathdef.h: Removed.
41219         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41220         * sysdeps/x86/bits/mathdef.h: This.
41222 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
41224         [BZ #14132]
41225         * include/sys/socket.h (__connect_internal)
41226         (__libc_sa_len_internal): Remove declaration.
41227         (__connect, __libc_sa_len): Declare hidden_proto.
41228         (SA_LEN): Remove use of INTUSE.
41229         * socket/connect.c: Add libc_hidden_def.
41230         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41231         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41232         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41233         alias.
41234         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41235         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41236         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41237         of adding _internal alias.
41239 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41241         [BZ #14117]
41242         * sysdeps/i386/bits/link.h: Removed.
41243         * sysdeps/i386/bits/linkmap.h: Likewise.
41244         * sysdeps/x86_64/bits/link.h: Renamed to ...
41245         * sysdeps/x86/bits/link.h: This.
41246         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41247         * sysdeps/x86/bits/linkmap.h: This.
41249         * sysdeps/i386/bits/endian.h: Removed.
41250         * sysdeps/x86_64/bits/endian.h: Renamed to ...
41251         * sysdeps/x86/bits/endian.h: This.
41253         * sysdeps/i386/bits/byteswap.h: Removed.
41254         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41255         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41256         * sysdeps/x86/bits/byteswap.h: This.
41257         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41258         * sysdeps/x86/bits/byteswap-16.h: This.
41259         * sysdeps/i386/Implies: Add x86.
41260         * sysdeps/x86_64/Implies: Likewise.
41262 2012-05-30  David S. Miller  <davem@davemloft.net>
41264         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41265         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41266         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41267         (FP_TRAPPING_EXCEPTIONS): Define.
41268         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41269         (FP_TRAPPING_EXCEPTIONS): Define.
41270         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41271         subnormals only when inexact has been signalled or underflow
41272         exceptions are enabled.
41273         (_FP_PACK_CANONICAL): Likewise.
41275 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41277         [BZ #14183]
41278         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41279         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41281 2012-05-30  Richard Henderson  <rth@twiddle.net>
41283         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41284         with #ifndef NOT_IN_libc.
41286         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
41287         marked to avoid plt entry.
41289 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41291         [BZ #14112]
41292         * Makeconfig (default-abi): New macro.
41293         (abi-includes): Likewise.
41294         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
41295         $(abi-$(default-abi)-lib-soname) for soname if defined.
41296         ($(common-objpfx)gnu/lib-names.stmp): Generate from
41297         abi-variants.
41298         * Makefile (installed-stubs): Likewise.
41299         * include/stubs-biarch.h: Removed.
41300         * scripts/lib-names.awk: Only handle one library at a time.
41301         * scripts/soversions.awk: Remove WORDSIZE support.
41302         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41303         entries.
41304         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41305         Removed.
41306         (syscall-list-default-condition): Likewise.
41307         (syscall-list-default-condition): Likewise.
41308         (syscall-list-includes): Likewise.
41309         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41310         syscall-list-* with abi-*.  Handle undefined abi-variants.
41311         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41312         * sysdeps/unix/sysv/linux/i386/Implies: New file.
41313         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41314         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41315         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41316         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41317         Removed.
41318         (syscall-list-32-options): Likewise.
41319         (syscall-list-32-condition): Likewise.
41320         (syscall-list-64-options): Likewise.
41321         (syscall-list-64-condition): Likewise.
41322         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41323         macro.
41324         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41325         Renamed to ...
41326         (abi-*): This.
41327         (abi-64-ld-soname): New macro.
41328         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41329         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41330         Renamed to ...
41331         (abi-*): This.
41332         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41333         * sysdeps/x86_64/x32/shlib-versions: Likewise.
41335 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
41337         * sysdeps/unix/sysv/linux/kernel-features.h
41338         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41339         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41340         include <kernel-features.h>.
41341         [!__NR_ftruncate64]: Remove conditional code.
41342         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41343         [__NR_ftruncate64]: Make code unconditional.
41344         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41345         * sysdeps/unix/sysv/linux/truncate64.c: Do not
41346         include <kernel-features.h>.
41347         [!__NR_ftruncate64]: Remove conditional code.
41348         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41349         [__NR_ftruncate64]: Make code unconditional.
41350         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41352         include <kernel-features.h>.
41353         [!__NR_ftruncate64]: Remove conditional code.
41354         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41355         [__NR_ftruncate64]: Make code unconditional.
41356         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41358         include <kernel-features.h>.
41359         [!__NR_ftruncate64]: Remove conditional code.
41360         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41361         [__NR_ftruncate64]: Make code unconditional.
41362         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41364         * configure.in (libc_cv_fpie): Weaken to a compile test using
41365         LIBC_TRY_CC_OPTION.
41366         * configure: Regenerated.
41368 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41374         Refreshed.
41375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41381         Refreshed.
41383 2012-05-27  David S. Miller  <davem@davemloft.net>
41385         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41386         (___Q_zero): New.
41387         (__Q_simulate_exceptions): Return void.  Change to simulate
41388         exceptions by writing into the %fsr.
41389         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41390         (__Qp_handle_exceptions): Likewise.
41391         (numbers): Delete.
41392         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41393         __Qp_handle_exceptions.
41394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41395         __Qp_handle_exceptions.
41396         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41397         as unused and give dummy FP_RND_NEAREST initializer.
41398         (FP_INHIBIT_RESULTS): Define.
41399         (___Q_simulate_exceptions): Update declaration.
41400         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41401         formatting.
41402         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41403         as unused and give dummy FP_RND_NEAREST initializer.
41404         (__Qp_handle_exceptions): Update declaration.
41405         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41406         formatting.
41408 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
41410         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41411         the temporary FPU control word.
41412         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41413         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41414         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41415         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41416         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41417         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41418         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41419         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41420         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41421         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41422         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41424 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41426         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41427         fields.
41429 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
41431         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41432         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41433         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41434         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41435         Likewise.
41436         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41437         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41438         Likewise.
41440 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
41442         * po/h.po: Update from translation team.
41444 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
41446         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41448         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41449         handling of denormals.
41450         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41451         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41452         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41453         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41454         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41455         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41456         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41457         Likewise.
41459 2012-05-26  Marek Polacek  <polacek@redhat.com>
41461         [BZ #14152]
41462         * math/libm-test.inc (fma_test): Don't always expect underflow
41463         exception.
41465 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41467         [BZ #12416]
41468         * elf/tst-execstack.c: Include stackinfo.h.
41469         (do_test): Adjust test case to ensure that pthread_getattr_np
41470         behaviour remains the same after marking stack executable.
41472 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41474         * sysdeps/unix/sysv/linux/kernel-features.h
41475         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41476         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41477         kernel-features.h.
41478         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41479         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41480         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41481         kernel-features.h.
41482         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41483         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41485 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
41487         * configure.in: Define the default includes to being none.
41488         * configure: Regenerated.
41490 2012-05-25  Roland McGrath  <roland@hack.frob.com>
41492         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41493         * sysdeps/x86_64/setjmp.S: Likewise.
41494         * sysdeps/i386/bsd-setjmp.S: Likewise.
41495         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41496         * sysdeps/i386/setjmp.S: Likewise.
41497         * sysdeps/i386/__longjmp.S: Likewise.
41498         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41499         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41501         * include/stap-probe.h: New file.
41502         * configure.in: Handle --enable-systemtap.
41503         * configure: Regenerated.
41504         * config.h.in (USE_STAP_PROBE): New #undef.
41505         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41506         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41507         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41509 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41511         [BZ #13717]
41512         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41513         to 2.4.0 where earlier.
41514         * sysdeps/unix/sysv/linux/configure: Regenerated.
41515         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41516         <kernel-features.h>.
41517         [__ASSUME_32BITUIDS]: Make code unconditional.
41518         [!__ASSUME_32BITUIDS]: Remove conditional code.
41519         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41520         <kernel-features.h>.
41521         [__ASSUME_32BITUIDS]: Make code unconditional.
41522         [!__ASSUME_32BITUIDS]: Remove conditional code.
41523         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41524         [__ASSUME_32BITUIDS]: Make code unconditional.
41525         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41526         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41527         <kernel-features.h>.
41528         [__ASSUME_32BITUIDS]: Make code unconditional.
41529         [!__ASSUME_32BITUIDS]: Remove conditional code.
41530         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41531         <kernel-features.h>.
41532         [__ASSUME_32BITUIDS]: Make code unconditional.
41533         [!__ASSUME_32BITUIDS]: Remove conditional code.
41534         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41535         <kernel-features.h>.
41536         [__ASSUME_32BITUIDS]: Make code unconditional.
41537         [!__ASSUME_32BITUIDS]: Remove conditional code.
41538         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41539         <kernel-features.h>.
41540         [__ASSUME_32BITUIDS]: Make code unconditional.
41541         [!__ASSUME_32BITUIDS]: Remove conditional code.
41542         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41543         <kernel-features.h>.
41544         [__ASSUME_32BITUIDS]: Make code unconditional.
41545         [!__ASSUME_32BITUIDS]: Remove conditional code.
41546         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41547         <kernel-features.h>.
41548         [__ASSUME_32BITUIDS]: Make code unconditional.
41549         [!__ASSUME_32BITUIDS]: Remove conditional code.
41550         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41551         <kernel-features.h>.
41552         [__ASSUME_32BITUIDS]: Make code unconditional.
41553         [!__ASSUME_32BITUIDS]: Remove conditional code.
41554         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41555         <kernel-features.h>.
41556         [__ASSUME_32BITUIDS]: Make code unconditional.
41557         [!__ASSUME_32BITUIDS]: Remove conditional code.
41558         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41559         <kernel-features.h>.
41560         [__ASSUME_32BITUIDS]: Make code unconditional.
41561         [!__ASSUME_32BITUIDS]: Remove conditional code.
41562         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41563         <kernel-features.h>.
41564         [__ASSUME_32BITUIDS]: Make code unconditional.
41565         [!__ASSUME_32BITUIDS]: Remove conditional code.
41566         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41567         <kernel-features.h>.
41568         [__NR_setresgid] (__setresgid): Do not declare.
41569         [__ASSUME_32BITUIDS]: Make code unconditional.
41570         [!__ASSUME_32BITUIDS]: Remove conditional code.
41571         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41572         <kernel-features.h>.
41573         [__NR_setresuid] (__setresuid): Do not declare.
41574         [__ASSUME_32BITUIDS]: Make code unconditional.
41575         [!__ASSUME_32BITUIDS]: Remove conditional code.
41576         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41577         <kernel-features.h>.
41578         [__ASSUME_32BITUIDS]: Make code unconditional.
41579         [!__ASSUME_32BITUIDS]: Remove conditional code.
41580         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41581         <kernel-features.h>.
41582         [__ASSUME_32BITUIDS]: Make code unconditional.
41583         [!__ASSUME_32BITUIDS]: Remove conditional code.
41584         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41585         <kernel-features.h>.
41586         [__ASSUME_32BITUIDS]: Make code unconditional.
41587         [!__ASSUME_32BITUIDS]: Remove conditional code.
41588         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41589         <kernel-features.h>.
41590         [__ASSUME_32BITUIDS]: Make code unconditional.
41591         [!__ASSUME_32BITUIDS]: Remove conditional code.
41592         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41593         <kernel-features.h>.
41594         [__ASSUME_32BITUIDS]: Make code unconditional.
41595         [!__ASSUME_32BITUIDS]: Remove conditional code.
41596         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41597         <kernel-features.h>.
41598         [__ASSUME_32BITUIDS]: Make code unconditional.
41599         [!__ASSUME_32BITUIDS]: Remove conditional code.
41600         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41601         <kernel-features.h>.
41602         [__ASSUME_32BITUIDS]: Make code unconditional.
41603         [!__ASSUME_32BITUIDS]: Remove conditional code.
41604         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41605         <kernel-features.h>.
41606         [__ASSUME_32BITUIDS]: Make code unconditional.
41607         [!__ASSUME_32BITUIDS]: Remove conditional code.
41608         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41609         <kernel-features.h>.
41610         [__ASSUME_32BITUIDS]: Make code unconditional.
41611         [!__ASSUME_32BITUIDS]: Remove conditional code.
41612         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41613         <kernel-features.h>.
41614         [__ASSUME_32BITUIDS]: Make code unconditional.
41615         [!__ASSUME_32BITUIDS]: Remove conditional code.
41616         * sysdeps/unix/sysv/linux/kernel-features.h
41617         (__ASSUME_SETRESUID_SYSCALL): Remove.
41618         (__ASSUME_SETRESGID_SYSCALL): Likewise.
41619         (__ASSUME_32BITUIDS): Likewise.
41620         (__ASSUME_LDT_WORKS): Likewise.
41621         (__ASSUME_O_DIRECTORY): Likewise.
41622         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41623         architecture but not kernel version.
41624         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41625         (__ASSUME_MMAP2_SYSCALL): Likewise.
41626         (__ASSUME_STAT64_SYSCALL): Likewise.
41627         (__ASSUME_IPC64): Likewise.
41628         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41629         <kernel-features.h>.
41630         [__ASSUME_32BITUIDS]: Make code unconditional.
41631         [!__ASSUME_32BITUIDS]: Remove conditional code.
41632         * sysdeps/unix/sysv/linux/opendir.c: Do not include
41633         <kernel-features.h>.
41634         [__ASSUME_O_DIRECTORY]: Make code unconditional.
41635         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41636         132096]: Remove conditional code.
41637         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41638         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41639         <kernel-features.h>.
41640         [__ASSUME_32BITUIDS]: Make code unconditional.
41641         [!__ASSUME_32BITUIDS]: Remove conditional code.
41642         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41643         <kernel-features.h>.
41644         [__ASSUME_32BITUIDS]: Make code unconditional.
41645         [!__ASSUME_32BITUIDS]: Remove conditional code.
41646         * sysdeps/unix/sysv/linux/setegid.c: Do not include
41647         <kernel-features.h>.
41648         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41649         unconditional.
41650         (__setresgid): Do not declare.
41651         [__ASSUME_32BITUIDS]: Make code unconditional.
41652         [!__ASSUME_32BITUIDS]: Remove conditional code.
41653         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41654         <kernel-features.h>.
41655         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41656         unconditional.
41657         (__setresuid): Do not declare.
41658         [__ASSUME_32BITUIDS]: Make code unconditional.
41659         [!__ASSUME_32BITUIDS]: Remove conditional code.
41660         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41661         <kernel-features.h>.
41662         [__ASSUME_32BITUIDS]: Make code unconditional.
41663         [!__ASSUME_32BITUIDS]: Remove conditional code.
41664         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41665         <kernel-features.h>.
41666         [__ASSUME_32BITUIDS]: Make code unconditional.
41667         [!__ASSUME_32BITUIDS]: Remove conditional code.
41669 2012-05-25  Richard Henderson  <rth@twiddle.net>
41671         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41672         dl_hwcap to ifunc resolver.
41673         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41674         elf_ifunc_invoke.
41675         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41676         dl_hwcap to ifunc resolver.
41677         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41679 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41681         [BZ #14153]
41682         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41683         for |x| <= 2**-26, not 2**-57.
41684         * math/libm-test.inc (acos_test): Do not allow spurious underflow
41685         exception.
41687 2012-05-24  Jeff Law  <law@redhat.com>
41689         * stdio-common/Makefile (tests): Add bug25.
41690         * stdio-common/bug25.c: New test.
41692 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41694         [BZ #13576]
41695         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41696         multiple of MALLOC_ALIGNMENT in size.
41697         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41699 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41701         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41702         Require >= 256.
41703         (FILENAME_MAX): Use macro-int-constant.
41704         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
41705         (_IOFBF): Use macro-int-constant.
41706         (_IOLBF): Likewise.
41707         (_IONBF): Likewise.
41708         (SEEK_CUR): Likewise.
41709         (SEEK_END): Likewise.
41710         (SEEK_SET): Likewise.
41711         (TMP_MAX): Likewise.
41712         (EOF): Use macro-int-constant.  Require < 0.
41713         (NULL): Use macro-constant.  Require == 0.
41714         (stdin): Require type to be FILE *.
41715         (stdout): Likewise.
41716         (stderr): Likewise.
41717         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41718         macro-int-constant.
41719         (EXIT_SUCCESS): Likewise.
41720         (NULL): Use macro-constant.  Require == 0.
41721         (RAND_MAX): Use macro-int-constant.
41722         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41723         [C99-based standards] (strtof): Require function.
41724         [C99-based standards] (strtold): Likewise.
41725         [C99-based standards] (strtoll): Likewise.
41726         [C99-based standards] (strtoull): Likewise.
41727         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41728         [ISO || ISO99 || ISO11] (limits.h): Likewise.
41729         [ISO || ISO99 || ISO11] (math.h): Likewise.
41730         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41731         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41732         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41734 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
41736         [BZ #14132]
41737         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41738         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41739         * intl/dgettext.c (DCGETTEXT): Likewise.
41740         * intl/gettext.c (DCGETTEXT): Likewise.
41741         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41742         * posix/regex_internal.h (gettext): Likewise.
41743         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41744         Remove declaration.
41745         * include/argz.h (__argz_count_internal)
41746         (__argz_stringify_internal): Remove declaration.
41747         (__argz_count, __argz_stringify): Declare hidden proto.
41748         * intl/dcgettext.c: Remove use of INTDEF.
41749         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41750         * string/argz-stringify.c: Likewise.
41751         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41752         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41753         Declare hidden proto.
41754         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41755         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41756         Declare hidden proto.
41757         * include/stdio.h (__asprintf_internal): Don't declare.
41758         (__asprintf): Don't define as macro.  Declare hidden proto.
41759         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41760         (__fsetlocking): Declare hidden proto.
41761         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41762         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41763         hidden proto.
41764         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41765         (_IO_setlinebuf): Remove use of INTUSE.
41766         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41767         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41768         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41769         Remove declaration.
41770         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41771         (_IO_do_flush): Remove use of INTUSE.
41772         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41773         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41774         (_IO_adjust_column, _IO_least_wmarker)
41775         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41776         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41777         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41778         (_IO_default_doallocate, _IO_wdefault_doallocate)
41779         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41780         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41781         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41782         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41783         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41784         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41785         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41786         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41787         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41788         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41789         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41790         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41791         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41792         proto.
41793         (_IO_flush_all_internal, _IO_adjust_column_internal)
41794         (_IO_default_uflow_internal, _IO_default_finish_internal)
41795         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41796         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41797         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41798         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41799         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41800         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41801         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41802         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41803         (_IO_file_close_internal, _IO_file_close_it_internal)
41804         (_IO_file_underflow_internal, _IO_file_overflow_internal)
41805         (_IO_file_init_internal, _IO_file_attach_internal)
41806         (_IO_file_fopen_internal, _IO_file_read_internal)
41807         (_IO_file_sync_internal, _IO_file_seek_internal)
41808         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41809         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41810         (_IO_str_underflow_internal, _IO_str_overflow_internal)
41811         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41812         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41813         (_IO_list_all_internal, _IO_link_in_internal)
41814         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41815         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41816         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41817         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41818         (_IO_do_write_internal, _IO_padn_internal)
41819         (_IO_getline_info_internal, _IO_getline_internal)
41820         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41821         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41822         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41823         (_IO_vfscanf_internal, _IO_vfprintf_internal)
41824         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41825         (_IO_init_internal, _IO_un_link_internal): Don't declare.
41826         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41827         with libc_hidden_ver, remove use of INTUSE.
41828         * libio/genops.c: Likewise.
41829         * libio/freopen.c: Likewise.
41830         * libio/freopen64.c: Likewise.
41831         * libio/iofclose.c: Likewise.
41832         * libio/iofdopen.c: Likewise.
41833         * libio/iofflush.c: Likewise.
41834         * libio/iofflush_u.c: Likewise.
41835         * libio/iofgets.c: Likewise.
41836         * libio/iofgets_u.c: Likewise.
41837         * libio/iofopen.c: Likewise.
41838         * libio/iofopncook.c: Likewise.
41839         * libio/iofread.c: Likewise.
41840         * libio/iofread_u.c: Likewise.
41841         * libio/ioftell.c: Likewise.
41842         * libio/iofwrite.c: Likewise.
41843         * libio/iogetline.c: Likewise.
41844         * libio/iogets.c: Likewise.
41845         * libio/iogetwline.c: Likewise.
41846         * libio/iopadn.c: Likewise.
41847         * libio/iopopen.c: Likewise.
41848         * libio/ioseekoff.c: Likewise.
41849         * libio/ioseekpos.c: Likewise.
41850         * libio/iosetbuffer.c: Likewise.
41851         * libio/iosetvbuf.c: Likewise.
41852         * libio/ioungetc.c: Likewise.
41853         * libio/ioungetwc.c: Likewise.
41854         * libio/iovdprintf.c: Likewise.
41855         * libio/iovsprintf.c: Likewise.
41856         * libio/iovsscanf.c: Likewise.
41857         * libio/memstream.c: Likewise.
41858         * libio/obprintf.c: Likewise.
41859         * libio/oldfileops.c: Likewise.
41860         * libio/oldiofclose.c: Likewise.
41861         * libio/oldiofdopen.c: Likewise.
41862         * libio/oldiofopen.c: Likewise.
41863         * libio/oldiopopen.c: Likewise.
41864         * libio/oldstdfiles.c: Likewise.
41865         * libio/putc.c: Likewise.
41866         * libio/setbuf.c: Likewise.
41867         * libio/setlinebuf.c: Likewise.
41868         * libio/stdfiles.c: Likewise.
41869         * libio/strops.c: Likewise.
41870         * libio/vasprintf.c: Likewise.
41871         * libio/vscanf.c: Likewise.
41872         * libio/vsnprintf.c: Likewise.
41873         * libio/vswprintf.c: Likewise.
41874         * libio/wfiledoalloc.c: Likewise.
41875         * libio/wfileops.c: Likewise.
41876         * libio/wgenops.c: Likewise.
41877         * libio/wmemstream.c: Likewise.
41878         * libio/wstrops.c: Likewise.
41879         * libio/__fpurge.c: Likewise.
41880         * libio/__fsetlocking.c: Likewise.
41881         * assert/assert.c: Likewise.
41882         * debug/fgets_chk.c: Likewise.
41883         * debug/fgets_u_chk.c: Likewise.
41884         * debug/fread_chk.c: Likewise.
41885         * debug/fread_u_chk.c: Likewise.
41886         * debug/gets_chk.c: Likewise.
41887         * debug/obprintf_chk.c: Likewise.
41888         * debug/vasprintf_chk.c: Likewise.
41889         * debug/vdprintf_chk.c: Likewise.
41890         * debug/vsnprintf_chk.c: Likewise.
41891         * debug/vsprintf_chk.c: Likewise.
41892         * malloc/mtrace.c: Likewise.
41893         * misc/error.c: Likewise.
41894         * misc/syslog.c: Likewise.
41895         * stdio-common/asprintf.c: Likewise.
41896         * stdio-common/fxprintf.c: Likewise.
41897         * stdio-common/getw.c: Likewise.
41898         * stdio-common/isoc99_fscanf.c: Likewise.
41899         * stdio-common/isoc99_scanf.c: Likewise.
41900         * stdio-common/isoc99_vfscanf.c: Likewise.
41901         * stdio-common/isoc99_vscanf.c: Likewise.
41902         * stdio-common/isoc99_vsscanf.c: Likewise.
41903         * stdio-common/printf-prs.c: Likewise.
41904         * stdio-common/printf_fp.c: Likewise.
41905         * stdio-common/printf_fphex.c: Likewise.
41906         * stdio-common/printf_size.c: Likewise.
41907         * stdio-common/putw.c: Likewise.
41908         * stdio-common/scanf.c: Likewise.
41909         * stdio-common/sprintf.c: Likewise.
41910         * stdio-common/tmpfile.c: Likewise.
41911         * stdio-common/vfprintf.c: Likewise.
41912         * stdio-common/vfscanf.c: Likewise.
41913         * stdlib/strfmon_l.c: Likewise.
41914         * sunrpc/openchild.c: Likewise.
41915         * sunrpc/xdr_stdio.c: Likewise.
41916         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41917         * sysdeps/mach/hurd/tmpfile.c: Likewise.
41919 2012-05-24  Roland McGrath  <roland@hack.frob.com>
41921         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41923         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41924         in the third column, to generate for the shared library an IFUNC
41925         that uses _dl_vdso_vsym.
41926         * Makerules (COMPILE.c, compile-stdin.c): New variables.
41927         * Makeconfig (object-suffixes-noshared): New variable.
41929         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41930         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41931         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41932         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41934         [BZ #14132]
41935         * include/sys/time.h (__gettimeofday): Remove macro.
41936         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41937         * time/gettimeofday.c (__gettimeofday): Remove #undef.
41938         Remove INTDEF.
41939         (__gettimeofday): Add libc_hidden_def.
41940         (gettimeofday): Add libc_hidden_weak.
41941         * sysdeps/mach/gettimeofday.c: Likewise.
41942         * sysdeps/posix/gettimeofday.c: Likewise.
41943         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41944         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41945         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41946         (__gettimeofday_internal): Remove strong_alias.
41947         (__gettimeofday): Add libc_hidden_def.
41948         (gettimeofday): Add libc_hidden_weak.
41949         * sysdeps/unix/syscalls.list (gettimeofday):
41950         Remove __gettimeofday_internal alias.
41952 2012-05-24  Daniel Jacobowitz  <drow@false.org>
41953             H.J. Lu  <hongjiu.lu@intel.com>
41955         [BZ #12495]
41956         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41957         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41958         (largebin_index_32_big): New.
41959         (largebin_index): Use it for 16-byte alignment.
41960         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
41961         correction with front_misalign.
41963 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41967         Likewise.
41968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41969         Likewise.
41970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41971         Likewise.
41972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41973         Likewise.
41974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41975         Likewise.
41976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41977         Likewise.
41978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41979         Likewise.
41980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41981         Likewise.
41982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41983         Likewise.
41984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41985         Likewise.
41986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41987         Likewise.
41988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41989         Likewise.
41991         * scripts/data/c++-types-x32-linux-gnu.data: New file.
41992         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41994 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41996         [BZ #10846]
41997         [BZ #14036]
41998         * math/libm-test.inc (exp_test): Add test from bug 14036.
41999         (pow_test): Add test from bug 10846.
42001         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42002         and other flags.
42003         (special_function): Do not include flags in test name.
42004         (parse_args): Likewise.
42005         * sysdeps/i386/fpu/libm-test-ulps: Update.
42006         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42007         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42008         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42011         * math/gen-libm-test.pl (%beautify): Add entries for underflow
42012         exceptions.
42013         * math/libm-test.inc ("Philosophy"): Update comment about
42014         exception testing.
42015         (UNDERFLOW_EXCEPTION): New macro.
42016         (UNDERFLOW_EXCEPTION_OK): Likewise.
42017         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42018         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42019         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42020         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42021         (INVALID_EXCEPTION_OK): Update value.
42022         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42023         (OVERFLOW_EXCEPTION_OK): Likewise.
42024         (IGNORE_ZERO_INF_SIGN): Likewise.
42025         (test_exceptions): Handle underflow exceptions.
42026         (acos_test): Update for underflow exception expectations.
42027         (cexp_test): Likewise.
42028         (clog_test): Likewise.
42029         (clog10_test): Likewise.
42030         (csqrt_test): Likewise.
42031         (ctan_test): Likewise.
42032         (ctanh_test): Likewise.
42033         (exp_test): Likewise.
42034         (exp10_test): Likewise.
42035         (exp2_test): Likewise.
42036         (expm1_test): Likewise.
42037         (fma_test): Likewise.
42038         (j0_test): Likewise.
42039         (jn_test): Likewise.
42040         (nexttoward_test): Likewise.
42041         (pow_test): Likewise.
42042         (scalbn_test): Likewise.
42043         (scalbln_test): Likewise.
42044         (tan_test): Likewise.
42045         (y1_test): Likewise.
42046         * sysdeps/i386/fpu/libm-test-ulps: Update.
42047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42049 2012-05-23  David S. Miller  <davem@davemloft.net>
42051         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42052         (__libc_sigaction): Remove unused local variables.
42054 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42056         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42058 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
42060         mktime: avoid signed integer overflow
42061         * time/mktime.c (__mktime_internal): Do not mishandle the case
42062         where diff == INT_MIN.
42064         mktime: simplify computation of average
42065         * time/mktime.c (ranged_convert): Use new time_t_avg function
42066         instead of rolling our own (probably-slower) code.
42068         mktime: do not assume signed right shift propagates sign bit
42069         * time/mktime.c (isdst_differ): New static function.
42070         (__mktime_internal): No need to normalize tm_isdst now.
42071         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42072         tm_isdst values.
42074         mktime: merge another wrapv change from gnulib
42075         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42076         from some compilers.
42078         mktime: remove incorrect attempt at unusual arithmetics
42079         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42080         The code didn't really work on such machines anyway.
42081         (TYPE_MINIMUM): Assume two's complement.
42082         (twos_complement_arithmetic): Verify that long_int and time_t
42083         are two's complement (or unsigned, in the latter case).
42085         mktime: check signed shifts on long_int and time_t, too
42086         * time/mktime.c (SHR): Check that shifts work as desired
42087         on the types long_int and time_t too, as SHR is used on
42088         such types.
42090         mktime: do not assume 'long' is wide enough
42091         * time/mktime.c (verify): Move decl up.
42092         (long_int): New type.
42093         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42094         to remove assumption in the code that 'long' is wide enough to
42095         store year values.  This assumption is not true on x32 and on
42096         some non-glibc platforms.
42098         mktime: merge wrapv change from gnulib
42099         * time/mktime.c (WRAPV): New macro.
42100         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42101         (guess_time_tm, __mktime_internal): Do not assume that signed
42102         integer overflow wraps around; modern compilers generate code
42103         where this assumption is no longer valid.
42105 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42107         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42108         Replace "jmp L(pseudo_end)" with "ret".
42109         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42110         Likewise.
42112 2012-05-23  Andreas Jaeger  <aj@suse.de>
42114         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42115         * sysdeps/unix/sysv/linux/poll.c: Remove file.
42117 2012-05-23  Andreas Jaeger  <aj@suse.de>
42118             Maximilian Attems  <max@stro.at>
42120         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42121         New macros.
42123 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42125         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42126         code so that pseudo_end is just ret and the stack pointer is
42127         correct also for static library in error case.
42129 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
42131         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42132         move to syscalls.list.
42133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42138         * manual/install.texi (Running make install): Do not mention Linux
42139         kernel version for which pt_chown is not needed.
42140         (Linux): Do not mention problems with nscd with 2.0 kernels.
42141         * INSTALL: Regenerated.
42143 2012-05-23  Andreas Jaeger  <aj@suse.de>
42145         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42146         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42147         macro.
42148         * sysdeps/unix/sysv/linux/s390/bits/mman.h
42149         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42150         * sysdeps/unix/sysv/linux/sh/bits/mman.h
42151         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42152         * sysdeps/unix/sysv/linux/i386/bits/mman.h
42153         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42154         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42155         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42156         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42157         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42158         * sysdeps/unix/sysv/linux/bits/in.h
42159         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42161 2012-05-22  Roland McGrath  <roland@hack.frob.com>
42163         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42164         (PREPARE_VERSION): Just use assert instead, it will be elided
42165         under [NDEBUG] anyway.
42167 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42169         * sysdeps/unix/sysv/linux/Makefile: Include
42170         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42171         (sysdep_routines): Remove sysctl.
42172         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42173         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42174         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42175         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42176         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42178 2012-05-22  Andreas Jaeger  <aj@suse.de>
42180         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42181         that pseudo_end is just ret and the stack pointer is correct also
42182         for static library in error case.
42184 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
42186         [BZ #14122]
42187         * nss/nsswitch.c (defconfig_entries): New variable.
42188         (__nss_database_lookup): Don't leak defconfig entries.
42189         (nss_parse_service_list): Don't leak on error paths.
42190         (free_database_entries): New function.
42191         (free_defconfig): New function.
42192         (free_mem): Move common code to free_database_entries.
42194 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42196         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42197         Add arch_prctl.
42198         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42200         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42201         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42202         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42203         New macro.
42204         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42205         (INTERNAL_SYSCALL_TYPES): Likewise.
42206         (LOAD_ARGS_TYPES_[1-6]): Likewise.
42207         (LOAD_REGS_TYPES_[1-6]): Likewise.
42208         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42209         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42211 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42213         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42214         copysignl for GLIBC_2_0.
42215         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42216         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42217         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42218         logbl for GLIBC_2_0.
42219         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42220         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42222 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42224         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42225         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42227         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42228         Use "neg %eax".
42230         * time/mktime.c: Update copyright years.
42232 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
42234         mktime: merge comment-quoting-style change from gnulib
42235         * time/mktime.c: Quote 'like this' in comments.
42236         The GNU coding standards suggest that we no longer quote `like this',
42237         as "`" and "'" are typically rendered asymmetrically nowadays.
42238         The typical gnulib style is to quote 'like this' when quoting
42239         code, and "like this" when quoting English.
42241         * time/mktime.c (compile-command): Add "-I.".
42243         mktime: merge mktime-internal.h change from gnulib
42244         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42246         mktime: merge time_r change from gnulib
42247         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42249         mktime: merge DEBUG change from gnulib
42250         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42251         case system <time.h> has a #define.
42253         mktime: merge <sys/types.h> change from gnulib
42254         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42255         since <time.t> is now guaranteed to define time_t.
42257         mktime: merge HAVE_CONFIG_H change from gnulib
42258         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42260 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42262         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42263         Use "neg %eax".
42265         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42266         __rlim_t cast.
42267         (struct rusage): Use anonymous union to pad each field to
42268         __syscall_slong_t.
42270 2012-05-21  David S. Miller  <davem@davemloft.net>
42272         * Makefules (o-iterator): Remove .s cases.
42273         (compile-command.s): Delete.
42274         (COMPILE.s): Delete.
42275         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42277 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
42279         * configure.in (libc_cv_predef_stack_protector): Only consider
42280         "foobar" and "__stack_chk_fail" lines in libc_undefs.
42281         * configure: Regenerated.
42283 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42285         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42286         New macro.  Use R*LP on int and pointer.
42287         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42288         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42289         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42290         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42292         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42293         [__WORDSIZE_TIME64_COMPAT32] instead of
42294         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42295         (struct utmp): Likewise.
42296         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42297         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42298         Renamed to ...
42299         (__WORDSIZE_TIME64_COMPAT32): This.
42300         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42301         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42302         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42303         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42304         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42305         (__WORDSIZE_TIME64_COMPAT32): New macro.
42307 2012-05-21  Andreas Jaeger  <aj@suse.de>
42309         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42310         only if [SHARED]. Add prototype for __wcschr_ia32.
42312 2012-05-21  Roland McGrath  <roland@hack.frob.com>
42314         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42315         of %rbp unmolested in the jmp_buf while mangling the low bits.
42316         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42317         unmolested high bits of %rbp while demangling the low bits.
42318         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42320 2012-05-21  Andreas Jaeger  <aj@suse.de>
42322         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42323         * sunrpc/svc_simple.c: Use it for registerrpc.
42324         * sunrpc/xcrypt.c: Use it for passwd2des.
42326         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42328 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42330         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42331         Don't define if [__SYSCALL_WORDSIZE != 32].
42332         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42333         New macro.
42335 2012-05-21  Bruno Haible  <bruno@clisp.org>
42336             Andreas Jaeger  <aj@suse.de>
42338         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42339         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42340         inptr and inend for must_buffer_ch.
42341         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42342         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42343         * stdio-common/Makefile (tests): Remove bug15.
42344         (bug15-ENV): Remove macro.
42345         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42346         anymore.
42348 2012-05-19  Andreas Jaeger  <aj@suse.de>
42349             Roland McGrath  <roland@hack.frob.com>
42351         * manual/contrib.texi: Completely rewritten. It contains now an
42352         alphabetical list of contributors and their contributions.
42354 2012-05-21  Richard Henderson  <rth@twiddle.net>
42356         * misc/getauxval.c (__getauxval): Use unsigned long int.
42357         * misc/sys/auxv.h: Include <sys/cdefs.h>.
42358         (getauxval): Use unsigned long int.
42360 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42362         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42364 2012-05-21  Roland McGrath  <roland@hack.frob.com>
42366         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42367         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42368         __alignof__ (long double).
42370 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42374 2012-05-20  Richard Henderson  <rth@twiddle.net>
42376         * misc/getauxval.c: New file.
42377         * misc/sys/auxv.h: New file.
42378         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42379         (routines): Add getauxval.
42380         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42381         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42382         * elf/dl-sysdep.c (_dl_auxv): Remove.
42383         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42384         * elf/dl-support.c (_dl_auxv): New variable.
42385         (_dl_aux_init): Initialize it.
42386         * manual/startup.texi (Auxiliary Vector): New node.
42387         * sysdeps/generic/bits/hwcap.h: New file.
42388         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42389         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
42390         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42391         * sysdeps/sparc/sysdep.h: ... here.  Include it.
42392         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42393         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42395         Update.
42396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42399         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42405 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42409 2012-05-19  David S. Miller  <davem@davemloft.net>
42411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42413 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
42415         [BZ #14123]
42416         * math/s_ccosh.c: Include <float.h>
42417         (__ccosh): Avoid internal overflow calculating sinh and cosh
42418         values before multiplying by sin and cos values.
42419         * math/s_ccoshf.c: Likewise.
42420         * math/s_ccoshl.c: Likewise.
42421         * math/s_csin.c: Likewise.
42422         * math/s_csinf.c: Likewise.
42423         * math/s_csinl.c: Likewise.
42424         * math/s_csinh.c: Likewise.
42425         * math/s_csinhf.c: Likewise.
42426         * math/s_csinhl.c: Likewise.
42427         * math/libm-test.inc (ccos_test): Add more tests.
42428         (ccosh_test): Likewise.
42429         (csin_test): Likewise.
42430         (csinh_test): Likewise.
42431         * sysdeps/i386/fpu/libm-test-ulps: Update.
42432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42434 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
42436         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42437         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42439         * sysdeps/x86_64/x32/_itoa.h: Add comment.
42441 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
42443         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42444         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42445         * sysdeps/powerpc/soft-fp/Versions: Likewise.
42446         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42447         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42448         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42449         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42450         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42451         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42452         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42453         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42454         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42455         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42456         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42457         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42458         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42459         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42460         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42461         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42462         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42463         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42464         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42465         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42466         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42467         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42468         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42469         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42470         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42471         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42472         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42473         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42475 2012-05-18  Andreas Jaeger  <aj@suse.de>
42477         * csu/.gitignore: Delete.
42479 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42481         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42482         (timex): Use __syscall_slong_t.
42484 2012-05-18  Andreas Jaeger  <aj@suse.de>
42485             Carlos O'Donell  <carlos_odonell@mentor.com>
42487         * manual/install.texi (Configuring and compiling): Update
42488         description about files modified in the source directory.
42489         * INSTALL: Regenerated.
42491 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42493         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42494         value.  Use "or" to set return value to -1.
42495         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42496         negate return value.
42498 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42500         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42501         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42502         failure if the compiler has Graphite support disabled.
42503         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42504         Likewise.
42505         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42506         (CFLAGS-memmove.c): Likewise.
42507         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42508         Likewise.
42510 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42512         * sysdeps/x86_64/x32/_itoa.h: New file.
42514         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42515         getdents system call only if kernel and user dirents have the
42516         same d_ino and d_off.
42518         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42519         LLONG_MAX != LONG_MAX.
42520         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42521         (_fitoa_word): Likewise.
42523         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42524         years.
42525         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42526         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42527         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42529         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42530         include <bits/wordsize.h>.  Check __x86_64__ instead of
42531         __WORDSIZE.
42532         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42533         if __x86_64__ is defined.  Use anonymous union on fpstate.
42535         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42536         anonymous union.
42538 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
42540         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42541         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42542         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42543         Refer to _rtld_local_ro instead of _rtld_global_ro.
42544         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42545         Likewise.
42546         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42547         Likewise.
42548         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42549         Likewise.
42550         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42551         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42552         of _rtld_global, and rtld_progname instead of _dl_argv[0].
42554         * sysdeps/powerpc/powerpc32/dl-machine.c
42555         (__elf_machine_runtime_setup) [PROF]: Don't reference
42556         _dl_prof_resolve.
42558 2012-05-18  Andreas Jaeger  <aj@suse.de>
42560         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42561         function only available for GCCs before 3.4 since GCC 3.4
42562         introduced a builtin.
42563         (lrint): Likewise.
42564         (llrintf): Likewise.
42565         (llrint): Likewise.
42566         (fmaxf): Likewise.
42567         (fmax): Likewise.
42568         (fminf): Likewise.
42569         (fmin): Likewise.
42570         (rint): Likewise.
42571         (rintf): Likewise.
42572         (nearbyint): Likewise.
42573         (nearbyintf): Likewise.
42574         (ceil): Likewise.
42575         (ceilf): Likewise.
42576         (floor): Likewise.
42577         (floorf): Likewise.
42579 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42581         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42582         on both fields and cast pointer to __syscall_ulong_t.
42584         * bits/types.h (__fsword_t): New type.
42585         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42586         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42587         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42588         (__FSWORD_T_TYPE): Likewise.
42589         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42590         (__FSWORD_T_TYPE): Likewise.
42591         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42592         (__FSWORD_T_TYPE): Likewise.
42593         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42594         (__FSWORD_T_TYPE): Likewise.
42595         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42596         __SWORD_TYPE with __fsword_t.
42597         (statfs64): Likewise.
42599 2012-05-17  David S. Miller  <davem@davemloft.net>
42601         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42603 2012-05-17  Andreas Jaeger  <aj@suse.de>
42605         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42606         warning.
42608 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42610         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42612 2012-05-17  Andreas Jaeger  <aj@suse.de>
42614         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42615         when it is used.
42617 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42619         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42621 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42623         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42624         * sysdeps/x86_64/tst-mallocalign1.c: New file.
42626 2012-05-17  Andreas Jaeger  <aj@suse.de>
42627             Carlos O'Donell  <carlos_odonell@mentor.com>
42629         [BZ #14059]
42630         * sysdeps/x86_64/multiarch/init-arch.h
42631         (bit_YMM_Usable): Rename to...
42632         (bit_AVX_Usable): ... this.
42633         (bit_FMA4_Usable): New macro.
42634         (bit_XMM_state): New macro.
42635         (bit_YMM_state): New macro.
42636         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42637         [__ASSEMBLER__] (index_AVX_Usable): ... this.
42638         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42639         (CPUID_OSXSAVE): New macro.
42640         (CPUID_AVX): New macro.
42641         (CPUID_FMA4): New macro.
42642         (index_YMM_Usable): Rename to...
42643         (index_AVX_Usable): ... this.
42644         (HAS_AVX): Use HAS_ARCH_FEATURE.
42645         (HAS_FMA4): Likewise.
42646         (HAS_YMM_USABLE): Remove.
42647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42648         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42649         are present.
42650         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42651         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42652         * sysdeps/x86_64/multiarch/Makefile: Likewise.
42653         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42654         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42656 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42658         * math/libm-test.c: Support platforms without multiple rounding modes.
42659         * math/bug-nextafter.c: Support platforms without FP exceptions.
42660         * math/bug-nexttoward.c: Likewise.
42661         * math/test-fenv.c: Likewise.
42662         * math/test-misc.c: Likewise.
42663         * stdlib/bug-getcontext.c: Likewise.
42665 2012-05-17  Andreas Jaeger  <aj@suse.de>
42667         * manual/examples/search.c (critter_cmp): Change signature to
42668         avoid warnings.
42669         * manual/string.texi (Collation Functions): Likewise.
42671 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42673         * bits/types.h: Fold copyright years.
42674         * bits/typesizes.h: Likewise.
42675         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42676         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42677         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42678         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42679         * time/time.h: Likewise.
42681 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
42683         [BZ #208]
42684         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42685         in instead of returning them.  Return void.
42686         (__libc_mallinfo): Accumulate over all arenas.
42687         (__malloc_stats): Adjust for change in int_mallinfo interface.
42689 2012-05-16  Roland McGrath  <roland@hack.frob.com>
42691         [BZ #10375]
42692         * configure.in (NM): Add AC_CHECK_TOOL for it.
42693         (libc_extra_cflags): New substituted variable.
42694         Check for -fstack-protector being used implicitly.
42695         * configure: Regenerated.
42696         * config.make.in (config-extra-cflags): New variable,
42697         gets @libc_extra_cflags@.
42698         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42700         [BZ #10375]
42701         * configure.in: Check for _FORTIFY_SOURCE being predefined.
42702         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42703         * configure: Regenerated.
42704         * config.make.in (CPPUNDEFS): New substituted variable.
42705         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42706         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42707         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42709 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42711         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42712         (mq_attr): Use __syscall_slong_t.
42714 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42716         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42717         Check __x86_64__ instead of __WORDSIZE.
42718         (_STAT_VER_LINUX): Likewise.
42719         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
42720         __syscall_ulong_t and __syscall_slong_t.
42721         (stat64): Likewise.
42723 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42725         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42727 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42729         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42731 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42733         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42734         __syscall_ulong_t.
42736         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42737         include <bits/wordsize.h>.  Check __x86_64__ instead of
42738         __WORDSIZE.
42739         (greg_t): Use "__extension__ long long int" if __x86_64__ is
42740         defined.
42741         (mcontext_t): Replace "unsigned long" with "unsigned long long".
42743         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42744         include <bits/wordsize.h>.  Check __x86_64__ instead of
42745         __WORDSIZE.
42746         (user_regs_struct): Use "__extension__ unsigned long long"
42747         instead of "unsigned long" if __x86_64__ is defined.
42748         (user): Likewise.  Pad after pointer field if __ILP32__ is
42749         defined.
42751 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
42753         * configure.in (makeinfo): Require version 4.5 or later.  Allow
42754         versions 5 to 9.
42755         * configure: Regenerated.
42756         * manual/install.texi (texinfo): Increase version requirement to
42757         4.5 or later.
42758         * INSTALL: Regenerated.
42760         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42762 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42764         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42766         * sysdeps/x86_64/x32/ffs.c: New file.
42768         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42769         __syscall_ulong_t.
42770         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42771         defined.  Use __syscall_ulong_t.
42772         (shminfo): Use __syscall_ulong_t.
42773         (shm_info): Likewise.
42775         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42776         __syscall_ulong_t.
42778         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42779         <bits/wordsize.h>.
42780         (msgqnum_t): Use __syscall_ulong_t.
42781         (msglen_t): Likewise.
42782         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
42783         __syscall_ulong_t.
42785         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42786         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42788         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42790         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42791         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42793         * sysvipc/sys/msg.h (msgbuf): Replace long int with
42794         __syscall_slong_t.
42796         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42797         include <bits/wordsize.h>.  Check __x86_64__ instead of
42798         __WORDSIZE.
42800         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42801         "unsigned long long int" if __x86_64__ is defined.
42802         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42804         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42805         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42806         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42808         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42809         <stdint.h>.
42810         (GET_PC): Cast to uintptr_t first.
42811         (GET_FRAME): Likewise.
42812         (GET_STACK): Likewise.
42814         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42815         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42816         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42817         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42818         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42819         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42820         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42821         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42822         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42823         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42824         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42825         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42826         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42827         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42828         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42829         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42830         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42831         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42832         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42833         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42834         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42835         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42836         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42837         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42838         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42839         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42840         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42841         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42842         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42844 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
42846         * Makerules (+depfiles): Also collect depfiles from .oS in
42847         $(extra-objs).
42848         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42849         .oS, $(libnldbl-routines)).
42851         * Makerules (native-compile-mkdep-flags): Define.
42852         * sunrpc/Makefile (extra-objs): Add $(addprefix
42853         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42854         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42855         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
42856         calling $(make-target-directory).
42858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42860         * bits/types.h (__snseconds_t): Removed.
42861         * time/time.h (struct timespec): Replace __snseconds_t with
42862         __syscall_slong_t.
42863         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42864         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42865         Likewise.
42866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42867         (__SNSECONDS_T_TYPE): Likewise.
42868         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42869         (__SNSECONDS_T_TYPE): Likewise.
42870         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42871         (__SNSECONDS_T_TYPE): Likewise.
42873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42875         * sysdeps/mach/hurd/bits/typesizes.h
42876         (__SYSCALL_SLONG_TYPE): New macro.
42877         (__SYSCALL_ULONG_TYPE): Likewise.
42879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42881         * bits/types.h (__syscall_slong_t): New type.
42882         (__syscall_ulong_t): Likewise.
42884         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42885         (__SYSCALL_ULONG_TYPE): Likewise.
42886         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42887         (__SYSCALL_SLONG_TYPE): Likewise.
42888         (__SYSCALL_ULONG_TYPE): Likewise.
42889         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42890         (__SYSCALL_SLONG_TYPE): Likewise.
42891         (__SYSCALL_ULONG_TYPE): Likewise.
42892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42893         (__SYSCALL_SLONG_TYPE): Likewise.
42894         (__SYSCALL_ULONG_TYPE): Likewise.
42896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42898         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42899         Add sigaltstack-offsets.sym.
42900         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42901         <sigaltstack-offsets.h>.
42902         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
42903         longjmp_msg pointer.
42904         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
42905         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42906         signal stack.
42907         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42909 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42911         * elf/stackguard-macros.h: Remove file.
42912         * sysdeps/generic/stackguard-macros.h: New file.
42913         * sysdeps/i386/stackguard-macros.h: Likewise.
42914         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42915         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42916         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42917         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42918         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42919         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42920         * sysdeps/x86_64/stackguard-macros.h: Likewise.
42921         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42922         <elf/stackguard-macros.h>.
42924         [BZ #14109]
42925         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42926         __aligned__ in attribute.
42927         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42928         (gregset_t): Likewise.
42930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42932         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42933         * sysdeps/x86_64/64/Implies-after: Here.  New file.
42934         * sysdeps/x86_64/x32/Implies-after: New file.
42936 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42938         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42939         and access return value for _dl_profile_fixup.  Use R10_LP to
42940         load frame size.
42942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42944         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42948         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42949         * sysdeps/x86_64/x32/sysdep.h: New file.
42951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42953         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42954         * sysdeps/x86_64/setjmp.S: Likewise.
42956 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42958         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42959         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42960         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42961         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42962         remove unused global constant.
42964 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
42966         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42967         include of <not-cancel.h>.
42969 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42971         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42973 2012-05-15  Jeff Law  <law@redhat.com>
42974             Andreas Jaeger  <aj@suse.de>
42976         [BZ #13594]
42977         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42978         out from...
42979         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42980         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42981         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42982         code changing __hst_map_handle.map.
42984 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42986         * configure.in (sysnames): Look for Implies-before and Implies-after
42987         files.
42988         * configure: Regenerated.
42990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42992         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42993         8-byte data alignment with LP_SIZE alignment.
42995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42997         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42998         into R10_LP.
43000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43002         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43006         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43007         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43008         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43009         Likewise.
43010         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43014         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43015         (stackinfo_sub_sp): Likewise.
43017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43019         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43020         RAX_LP.
43022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43024         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43025         into R*_LP.
43027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43029         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43030         sizes into R*_LP.
43032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43034         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43036 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43038         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43039         into R11_LP and load __x86_64_shared_cache_size_half into
43040         R8_LP.
43042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43044         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43045         R8_LP.
43047 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43049         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43050         logb for POWER7.
43051         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43052         logbf for POWER7.
43053         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43054         logbl for POWER7.
43055         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43056         powerpc32/power7/fpu/s_logb.c via #include.
43057         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43058         powerpc32/power7/fpu/s_logbf.c via #include.
43059         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43060         powerpc32/power7/fpu/s_logbl.c via #include.
43062 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43064         * README.libm: Remove file.
43066 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43068         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43069         count for x32.  Use R*_LP and omit operand-size suffix.
43071 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43073         * shlib-versions: Move x86_64-.*-linux.* entries to ...
43074         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
43075         * sysdeps/x86_64/x32/shlib-versions: New file.
43077 2012-05-14  Roland McGrath  <roland@hack.frob.com>
43079         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43080         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43081         Use _dl_fatal_printf instead.
43083 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43085         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43086         set if not set by the user.  Do not allow for being unset.
43087         * sysdeps/unix/sysv/linux/configure: Regenerated.
43089 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43091         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43092         the `q' suffix from lea and replace .quad with ASM_ADDR.
43094 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43096         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43097         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
43098         instead of $17.
43099         (PTR_DEMANGLE): Likewise.
43101 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43103         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43104         (LP_OP): Likewise.
43105         (ASM_ADDR): Likewise.
43106         (RAX_LP): Likewise.
43107         (RBP_LP): Likewise.
43108         (RBX_LP): Likewise.
43109         (RCX_LP): Likewise.
43110         (RDI_LP): Likewise.
43111         (RSI_LP): Likewise.
43112         (RSP_LP): Likewise.
43113         (R8_LP): Likewise.
43114         (R9_LP): Likewise.
43115         (R10_LP): Likewise.
43116         (R10_LP): Likewise.
43117         (R11_LP): Likewise.
43118         (R12_LP): Likewise.
43119         (R13_LP): Likewise.
43120         (R14_LP): Likewise.
43121         (R15_LP): Likewise.
43123 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43125         * sysdeps/x86_64/x32/dl-machine.h: New file.
43127 2012-05-14  Andreas Jaeger  <aj@suse.de>
43129         * manual/Makefile (subdir): Remove export of subdir.
43130         (all): Remove target.
43131         (.PHONY): Remove all from list.
43132         (mkinstalldirs): Remove.
43133         (.PHONY): Remove installdirs from list.
43134         ($(inst_infodir)/libc.info): Use make-target-directory.
43135         (installdirs): Remove.
43136         (subdir_%): Remove.
43137         (glibc-targets): Remove.
43138         (lib): Remove.
43139         (stubs): Remove.
43140         ($(objpfx)stubs ../po/manual.pot): Remove.
43141         ($(objpfx)stamp%): Remove.
43142         (make-target-directory): Remove.
43143         (subdir_install): Remove.
43144         (routines): Remove.
43145         (aux): Remove.
43146         (sources): Remove.
43147         (objects): Remove.
43148         (headers): Remove.
43150         [BZ #13750]
43151         * manual/.gitignore: Remove, it's not needed anymore.
43152         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43153         all files in it.
43154         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43155         directory.
43156         (texis): Renamed to $(objpfx)texis.
43157         (texis-path): New, contains path to generated files.
43158         (chapters.%): Use texis-path for complete path, add extra argument
43159         libc-texinfo.sh.
43160         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43161         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43162         (summary,texi, stamp-summary): Use complete path of
43163         files. Generate files in build dir.
43164         (dir-add.texi): Build in build dir.
43165         (libm-err.texi,stamp-libm-err): Likewise.
43166         (version.texi, stamp-version): Likewise.
43167         (.%c.texi): Likewise.
43168         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43169         (mostlyclean): Remove target.
43170         (realclean): Remove target.
43171         (generated): Add new variable with contents from mostlyclean and
43172         realclean, remove entries duplicated in common-mostlyclean, add
43173         stamp-libm-err and stamp-version.
43174         (generated-dirs): Add libc directory.
43175         ($(inst_infodir)/libc.info): Install files from build dir.
43177         * manual/install.texi (Configuring and compiling): Adjust since
43178         the info files are not part of the tar ball anymore.
43180 2012-05-14  Andreas Jaeger  <aj@suse.de>
43182         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43183         variable.
43185 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43187         [BZ #13717]
43188         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43189         to 2.2.0 where earlier.
43190         * sysdeps/unix/sysv/linux/configure: Regenerated.
43191         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43192         Remove conditional code.
43193         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43194         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43195         Remove conditional code.
43196         [!__NR_lchown]: Likewise.
43197         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43198         [__NR_lchown]: Likewise.
43199         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43200         comment referencing __ASSUME_LCHOWN_SYSCALL.
43201         * sysdeps/unix/sysv/linux/i386/sigaction.c
43202         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43203         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43204         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43205         Remove conditional code.
43206         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43207         (__protocol_available): Remove #if 0 code.
43208         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43209         conditional code.
43210         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43211         * sysdeps/unix/sysv/linux/kernel-features.h
43212         (__ASSUME_GETCWD_SYSCALL): Don't define.
43213         (__ASSUME_REALTIME_SIGNALS): Likewise.
43214         (__ASSUME_PREAD_SYSCALL): Likewise.
43215         (__ASSUME_PWRITE_SYSCALL): Likewise.
43216         (__ASSUME_POLL_SYSCALL): Likewise.
43217         (__ASSUME_LCHOWN_SYSCALL): Likewise.
43218         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43219         non-SPARC.
43220         (__ASSUME_SIOCGIFNAME): Don't define.
43221         (__ASSUME_MSG_NOSIGNAL): Likewise.
43222         (__ASSUME_SENDFILE): Define unconditionally.
43223         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43224         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43225         conditional code.
43226         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43227         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43228         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43229         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43230         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43231         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43232         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43234         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43235         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43237         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43238         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43240         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43241         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43243         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43244         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43246         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43247         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43249         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43250         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43252         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43253         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43255         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43256         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43257         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43258         Remove conditional code.
43259         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43260         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43261         Remove conditional code.
43262         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43263         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43264         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43265         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43266         Remove conditional code.
43267         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43268         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43269         Remove conditional code.
43270         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43271         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43272         Remove conditional code.
43273         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43274         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43275         Remove conditional code.
43276         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43277         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43278         Remove conditional code.
43279         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43280         * sysdeps/unix/sysv/linux/sh/pwrite64.c
43281         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43282         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43283         * sysdeps/unix/sysv/linux/sigaction.c
43284         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43285         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43286         * sysdeps/unix/sysv/linux/sigpending.c
43287         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43288         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43289         * sysdeps/unix/sysv/linux/sigprocmask.c
43290         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43291         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43292         * sysdeps/unix/sysv/linux/sigsuspend.c
43293         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43294         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43295         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43296         (__libc_missing_rt_sigs): Remove.
43297         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43298         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43299         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43300         Remove conditional code.
43301         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43302         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43303         return 1.
43304         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43305         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43306         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43307         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43309 2012-05-14  Andreas Jaeger  <aj@suse.de>
43311         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43312         it's not used in glibc.
43313         (__coshm1): Likewise.
43314         (__acosh1p): Likewise.
43315         (__sgn): Likewise.
43317         * manual/string.texi (Copying and Concatenation): Add missing
43318         variable in concat example.
43319         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43321 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43323         [BZ #14103]
43324         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43325         __builtin_clzl with __builtin_clzll.
43327 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43329         [BZ #14104]
43330         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43331         libc_freeres_ptr.
43333 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43335         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43336         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43337         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43338         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43340 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
43342         * NEWS: Update ia64 info.
43344 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
43346         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43347         used as bcopy.
43349 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
43351         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43352         * sysdeps/unix/syscalls.list (dup3): Likewise.
43353         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43354         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43356 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
43358         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43359         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43361 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
43363         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43364         thread pointer.
43365         (TLS_IE): Use mov/add instead of movq/addq to load thread
43366         pointer.
43367         (TLS_GD_PREFIX): New.
43368         (TLS_GD): Use it.
43370 2012-05-11  David S. Miller  <davem@davemloft.net>
43372         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43373         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43374         (_FPU_SETCW): Likewise.
43376 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43378         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43379         is 32-byte aligned.
43381 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
43383         [BZ #11837]
43384         * iconvdata/gb18030.c: Update tables.
43385         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
43386         characters specially.
43387         (BODY for TO_LOOP): Add encoding of missing ranges.
43389 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
43391         [BZ #13673]
43392         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43393         * sysdeps/mach/hurd/dup3.c: Likewise.
43394         * sysdeps/mach/hurd/readlinkat.c: Likewise.
43395         * sysdeps/powerpc/memmove.c:: Likewise.
43397 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43399         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43400         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43402 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43404         * elf/elf.h (R_X86_64_RELATIVE64): New.
43405         (R_X86_64_NUM): Updated.
43406         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43407         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
43408         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43409         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43410         tst-quad1pie tst-quad2pie
43411         (modules-names): Add tst-quadmod1 tst-quadmod2.
43412         ($(objpfx)tst-quad1): New dependency.
43413         ($(objpfx)tst-quad2): Likewise.
43414         ($(objpfx)tst-quad1pie): Likewise.
43415         ($(objpfx)tst-quad2pie): Likewise.
43416         * sysdeps/x86_64/tst-quad1.c: New file.
43417         * sysdeps/x86_64/tst-quad1pie.c: New file.
43418         * sysdeps/x86_64/tst-quad2.c: Likewise.
43419         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43420         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43421         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43422         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43423         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43427         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43428         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43429         * streams/stropts.h (t_scalar_t): Define type.
43431         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43432         (_PATH_PRESERVE): Set to "/var/lib".
43433         (_PATH_RWHODIR): Set to "/var/spool/rwho".
43435         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43436         instead of int.
43438         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43439         if __dir_mkfile succeeded.
43441         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43442         checking for _hurd_dtablesize.  Unlock it right after having
43443         finished _hurd_dtable allocation.
43445 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43447         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43448         * sysdeps/mach/hurd/configure: Regenerated.
43449         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43450         special-casing to...
43451         * sysdeps/gnu/configure.in: ... this new file.
43452         * sysdeps/unix/sysv/linux/configure: Regenerated.
43453         * sysdeps/gnu/configure: New generated file.
43455         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43456         for Linux: use nsec instead of usec, as well as:
43457         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43458         members of type struct timespec.
43459         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43460         New macros.
43461         (struct stat64): Likewise.
43462         (_STATBUF_ST_NSEC): New macro.
43463         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43465         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43466         __strtoul_internal rather than strtoul.
43468 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43470         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43471         and reject them.
43473 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43475         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43476         which preserves existing values.
43477         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43479 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43481         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43482         TIMEOUT values.  Return EINVAL for NFDS values either negative or
43483         greater than FD_SETSIZE.
43485 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43487         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43488         allocated, call __vm_protect to finish enabling the existing space, and
43489         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43490         allocate the remainder.
43492 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43494         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43495         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
43497 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43499         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43500         sysdeps/mach/hurd/readlink.c.
43502         * posix/tst-sysconf.c (posix_options): Only use
43503         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43504         _POSIX_SYNCHRONIZED_IO when they are defined
43505         * sysdeps/mach/hurd/bits/posix_opt.h:
43506         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43507         (_XOPEN_REALTIME): Undefine macro.
43508         (_XOPEN_REALTIME_THREADS): Undefine macro.
43509         (_XOPEN_SHM): Undefine macro.
43510         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43511         macro to -1.
43512         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43513         macro to -1.
43514         (_POSIX_ASYNC_IO): Undefine macro.
43515         (_POSIX_PRIORITIZED_IO): Undefine macro.
43516         (_POSIX_SPIN_LOCKS): Define macro to -1.
43518         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43519         SA_NODEFER, SA_RESETHAND.
43520         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43521         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43522         F_DUPFD_CLOEXEC.
43524 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43526         * elf/Makefile (pldd-modules): Define unconditionally.
43528 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43530         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43532 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43534         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43535         Return ENOENT when name is empty.
43536         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43538 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43540         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43542         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43544 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43546         Fix mlock in all cases except non-readable pages.
43547         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43548         instead of VM_PROT_ALL as parameter to __vm_wire function.
43550         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43551         (__mkdir): When path is `/', just fail with EEXIST.
43552         * sysdeps/mach/hurd/mkdirat.c: Likewise.
43554 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43556         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43557         <sys/uio.h> (for writev).
43558         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43559         and <sys/param.h> (for MIN).
43561 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43563         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43564         REQUESTED_TIME.  Properly set the remaining time and return EINTR
43565         if interrupted.
43567 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43569         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43570         Depend on against $(link-rpcuserlibs).
43572 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43574         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43575         (__libc_stack_end): Do not use attribute_relro.
43576         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43577         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43578         to libthread-provided value.
43579         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43580         attribute_relro.
43582 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43584         [BZ #3748]
43585         * bits/libc-lock.h (__libc_once_get): New macro.
43586         * sysdeps/mach/bits/libc-lock.h: Likewise.
43587         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43588         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43589         instead of using implementation details.
43591         * libio/fileops.c: Unconditionally include <kernel-features.h>.
43592         * libio/freopen.c: Likewise.
43593         * libio/freopen64.c: Likewise.
43594         * misc/syslog.c: Likewise.
43595         * nscd/connections.c: Likewise.
43596         * nscd/netgroupcache.c: Likewise.
43597         * sysdeps/posix/getcwd.c: Likewise.
43599 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43601         * math/w_ilogbf.c: Add #include <limits.h>.
43603 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43605         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43606         path instead of returning without unlocking.
43608         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43609         immediate-write ioctls.
43610         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43612 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43614         * sysdeps/mach/hurd/i386/init-first.c (init): Use
43615         __builtin_frame_address instead of making assumptions about the
43616         location of the return address relative to DATA.  Force early load of
43617         the return address.
43618         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43619         __builtin_frame_address.
43621         dup3 for GNU Hurd.
43622         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43623         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
43624         implement dup3 and do some further code clean-ups.
43625         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43626         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43630         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43632         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43633         HURD_CRITICAL_END around holding _hurd_dtable_lock.
43634         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43635         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43636         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43637         d->port.lock.
43639         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43640         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
43641         when handler == SIG_ERR, not when handler != SIG_ERR.
43643 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43645         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43646         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43647         definitions.
43649         accept4 for GNU Hurd.
43650         * include/sys/socket.h (__libc_accept4): New prototype.
43651         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
43652         to implement __libc_accept4.
43653         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43654         __libc_accept4.
43655         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43657         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43658         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43659         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43660         signal-defines.sym.
43662 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43664         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43666 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43668         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43669         assertion on O_CLOEXEC flag.
43670         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43671         * hurd/intern-fd.c: Likewise.
43672         * hurd/port2fd.c: Likewise.
43674 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43676         [BZ #3906]
43677         * bits/in.h (IPV6_PKTINFO): Define new macro.
43678         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43680 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43682         [BZ #13954]
43683         [BZ #13955]
43684         [BZ #13956]
43685         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43686         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43687         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43688         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43689         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43690         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43691         * math/libm-test.inc (logb_test) : Additional logb tests.
43693 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
43694             Andreas Jaeger  <aj@suse.de>
43696         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43697         * configure: Regenerated.
43698         * config.h.in (LINK_OBSOLETE_RPC): New macro.
43699         * config.make.in (link-obsolete-rpc): New substituted variable.
43700         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43701         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43702         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43703         (shared-only-routines): Don't set it under [link-obsolete-rpc],
43704         so that libc.a contains the symbols.
43705         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43706         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43707         * sunrpc/auth_none.c: Likewise.
43708         * sunrpc/auth_unix.c: Likewise.
43709         * sunrpc/authdes_prot.c: Likewise.
43710         * sunrpc/authuxprot.c: Likewise.
43711         * sunrpc/clnt_gen.c: Likewise.
43712         * sunrpc/clnt_perr.c: Likewise.
43713         * sunrpc/clnt_raw.c: Likewise.
43714         * sunrpc/clnt_simp.c: Likewise.
43715         * sunrpc/clnt_tcp.c: Likewise.
43716         * sunrpc/clnt_udp.c: Likewise.
43717         * sunrpc/clnt_unix.c: Likewise.
43718         * sunrpc/des_crypt.c: Likewise.
43719         * sunrpc/des_soft.c: Likewise.
43720         * sunrpc/get_myaddr.c: Likewise.
43721         * sunrpc/key_call.c: Likewise.
43722         * sunrpc/key_prot.c: Likewise.
43723         * sunrpc/netname.c: Likewise.
43724         * sunrpc/pm_getmaps.c: Likewise.
43725         * sunrpc/pm_getport.c: Likewise.
43726         * sunrpc/pmap_clnt.c: Likewise.
43727         * sunrpc/pmap_prot.c: Likewise.
43728         * sunrpc/pmap_prot2.c: Likewise.
43729         * sunrpc/pmap_rmt.c: Likewise.
43730         * sunrpc/publickey.c: Likewise.
43731         * sunrpc/rpc_cmsg.c: Likewise.
43732         * sunrpc/rpc_common.c: Likewise.
43733         * sunrpc/rpc_dtable.c: Likewise.
43734         * sunrpc/rpc_prot.c: Likewise.
43735         * sunrpc/rpc_thread.c: Likewise.
43736         * sunrpc/rtime.c: Likewise.
43737         * sunrpc/svc.c: Likewise.
43738         * sunrpc/svc_auth.c: Likewise.
43739         * sunrpc/svc_raw.c: Likewise.
43740         * sunrpc/svc_run.c: Likewise.
43741         * sunrpc/svc_tcp.c: Likewise.
43742         * sunrpc/svc_udp.c: Likewise.
43743         * sunrpc/svc_unix.c: Likewise.
43744         * sunrpc/svcauth_des.c: Likewise.
43745         * sunrpc/xcrypt.c: Likewise.
43746         * sunrpc/xdr.c: Likewise.
43747         * sunrpc/xdr_array.c: Likewise.
43748         * sunrpc/xdr_float.c: Likewise.
43749         * sunrpc/xdr_intXX_t.c: Likewise.
43750         * sunrpc/xdr_mem.c: Likewise.
43751         * sunrpc/xdr_rec.c: Likewise.
43752         * sunrpc/xdr_ref.c: Likewise.
43753         * sunrpc/xdr_sizeof.c: Likewise.
43754         * sunrpc/xdr_stdio.c: Likewise.
43756 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43758         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43759         change.  Update copyright years.
43761 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43763         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43765 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
43766             Joseph Myers  <joseph@codesourcery.com>
43767             Paul Pluzhnikov  <ppluzhnikov@google.com>
43769         [BZ #14012]
43770         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43771         requiring rpcgen.
43772         [cross-compiling] (extra-libs): Likewise.
43773         [cross-compiling] (extra-libs-others): Likewise.
43774         [cross-compiling] (librpcsvc-routines): Likewise.
43775         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43776         [cross-compiling] (omit-deps): Likewise.
43777         (sunrpc-CPPFLAGS): New variable.
43778         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43779         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43780         (cross-rpcgen-objs): New variable.
43781         (extra-objs): Append $(cross-rpcgen-objs).
43782         ($(cross-rpcgen-objs)): New rule.
43783         ($(objpfx)cross-rpcgen): Likewise.
43784         (rpcgen-cmd): Define to use $(built-program-file).  Expand
43785         comment.
43786         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43787         ($(objpfx)x%.stmp): Likewise.
43788         * sunrpc/proto.h [IS_IN_build] (_): Define.
43789         [IS_IN_build] (_libc_intl_domainname): Likewise.
43791 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43793         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43794         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43795         and R_X86_64_TPOFF64.
43797 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43799         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43800         sysdeps/unix/sysv/syscalls.list.
43801         (stime): Likewise.
43802         (utime): Likewise.
43803         * sysdeps/unix/sysv/syscalls.list: Remove file.
43805 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
43807         [BZ #3440]
43808         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43809         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43810         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43811         (__LC_IDENTIFICATION): Make these macros useful in #if
43812         expressions, as required by C99.
43814 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
43816         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43817         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
43818         after this.
43820 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
43822         * stdlib/longlong.h: Updated from GCC.
43824 2012-05-09  Andreas Jaeger  <aj@suse.de>
43826         * nscd/nscd.c (run_modes): Make named enum, reorder so that
43827         default is first entry.
43828         (run_mode): Set type.
43829         (main): Remove informal message about syslog.
43830         (options): Fix typo.
43832         [BZ #14053]
43833         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43834         to asm.
43835         (lrint): Likewise.
43836         (llrintf): Likewise.
43837         (llrint): Likewise.
43838         (rint): Likewise.
43839         (rintf): Likewise.
43840         (nearbyint): Likewise.
43841         (nearbyintf): Likewise.
43843 2012-05-09  Andreas Jaeger  <aj@suse.de>
43844             Pedro Alves  <palves@redhat.com>
43846         * nscd/nscd.c (run_mode): Use enum.
43847         (main): Cleanup coding style issue.
43849 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
43850             Andreas Jaeger  <aj@suse.de>
43852         * nscd/nscd.c (go_background): Replaced with...
43853         (run_mode): ... this.
43854         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43855         (options): Add -F --foreground.
43856         (main): Implement it.
43857         (parse_opt): Parse it.
43859 2012-05-09  Andreas Jaeger  <aj@suse.de>
43861         [BZ #14083]
43862         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43863         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43864         -Wconversion warning.
43865         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43866         Likewise.
43868 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
43870         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
43871         == 0.
43872         (LC_ALL): Use macro-int-constant.
43873         (LC_COLLATE): Likewise.
43874         (LC_CTYPE): Likewise.
43875         (LC_MESSAGES): Likewise.
43876         (LC_MONETARY): Likewise.
43877         (LC_NUMERIC): Likewise.
43878         (LC_TIME): Likewise.
43879         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43880         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43881         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43882         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43883         Specify type.
43884         [C99-based standards] (float_t): Expect type.
43885         [C99-based standards] (double_t): Expect type.
43886         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
43887         type.
43888         [C99-based standards] (HUGE_VALL): Likewise.
43889         [C99-based standards] (INFINITY): Likewise.
43890         [C99-based standards] (NAN): Likewise.
43891         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43892         [C99-based standards] (FP_NAN): Likewise.
43893         [C99-based standards] (FP_NORMAL): Likewise.
43894         [C99-based standards] (FP_SUBNORMAL): Likewise.
43895         [C99-based standards] (FP_ZERO): Likewise.
43896         [C99-based standards] (FP_FAST_FMA): Use
43897         optional-macro-int-constant.  Specify type.  Require == 1.
43898         [C99-based standards] (FP_FAST_FMAF): Likewise.
43899         [C99-based standards] (FP_FAST_FMAL): Likewise.
43900         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43901         [C99-based standards] (FP_ILOGBNAN): Likewise.
43902         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43903         Specify type.
43904         [C99-based standards] (MATH_ERREXCEPT): Likewise.
43905         [C99-based standards] (math_errhandling): Specify type.
43906         [ISO99 || ISO11] (signgam): Do not allow.
43907         [non-C99-based standards] (copysignf): Do not allow.
43908         [non-C99-based standards] (exp2f): Likewise.
43909         [non-C99-based standards] (log2f): Likewise.
43910         [non-C99-based standards] (modff): Allow.
43911         [non-C99-based standards] (erff): Do not allow.
43912         [non-C99-based standards] (erfcf): Likewise.
43913         [non-C99-based standards] (gammaf): Likewise.
43914         [non-C99-based standards] (hypotf): Likewise.
43915         [non-C99-based standards] (j0f): Likewise.
43916         [non-C99-based standards] (j1f): Likewise.
43917         [non-C99-based standards] (jnf): Likewise.
43918         [non-C99-based standards] (lgammaf): Likewise.
43919         [non-C99-based standards] (tgammaf): Likewise.
43920         [non-C99-based standards] (y0f): Likewise.
43921         [non-C99-based standards] (y1f): Likewise.
43922         [non-C99-based standards] (ynf): Likewise.
43923         [non-C99-based standards] (isnanf): Likewise.
43924         [non-C99-based standards] (acoshf): Likewise.
43925         [non-C99-based standards] (asinhf): Likewise.
43926         [non-C99-based standards] (atanhf): Likewise.
43927         [non-C99-based standards] (cbrtf): Likewise.
43928         [non-C99-based standards] (expm1f): Likewise.
43929         [non-C99-based standards] (ilogbf): Likewise.
43930         [non-C99-based standards] (log1pf): Likewise.
43931         [non-C99-based standards] (logbf): Likewise.
43932         [non-C99-based standards] (nextafterf): Likewise.
43933         [non-C99-based standards] (remainderf): Likewise.
43934         [non-C99-based standards] (rintf): Likewise.
43935         [non-C99-based standards] (scalbf): Likewise.
43936         [non-C99-based standards] (copysignl): Likewise.
43937         [non-C99-based standards] (exp2l): Likewise.
43938         [non-C99-based standards] (log2l): Likewise.
43939         [non-C99-based standards] (modfl): Allow.
43940         [non-C99-based standards] (erfl): Do not allow.
43941         [non-C99-based standards] (erfcl): Likewise.
43942         [non-C99-based standards] (gammal): Likewise.
43943         [non-C99-based standards] (hypotl): Likewise.
43944         [non-C99-based standards] (j0l): Likewise.
43945         [non-C99-based standards] (j1l): Likewise.
43946         [non-C99-based standards] (jnl): Likewise.
43947         [non-C99-based standards] (lgammal): Likewise.
43948         [non-C99-based standards] (tgammal): Likewise.
43949         [non-C99-based standards] (y0l): Likewise.
43950         [non-C99-based standards] (y1l): Likewise.
43951         [non-C99-based standards] (ynl): Likewise.
43952         [non-C99-based standards] (isnanl): Likewise.
43953         [non-C99-based standards] (acoshl): Likewise.
43954         [non-C99-based standards] (asinhl): Likewise.
43955         [non-C99-based standards] (atanhl): Likewise.
43956         [non-C99-based standards] (cbrtl): Likewise.
43957         [non-C99-based standards] (expm1l): Likewise.
43958         [non-C99-based standards] (ilogbl): Likewise.
43959         [non-C99-based standards] (log1pl): Likewise.
43960         [non-C99-based standards] (logbl): Likewise.
43961         [non-C99-based standards] (nextafterl): Likewise.
43962         [non-C99-based standards] (remainderl): Likewise.
43963         [non-C99-based standards] (rintl): Likewise.
43964         [non-C99-based standards] (scalbl): Likewise.
43965         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43966         [non-C99-based standards] (FP_*): Do not allow.
43967         [C99-based standards] (FP_*): Change to
43968         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43969         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43970         allow.
43971         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43972         (SIG_ERR): Likewise.
43973         [X/Open-based standards] (SIG_HOLD): Likewise.
43974         (SIG_IGN): Likewise.
43975         (SIGABRT): Use macro-int-constant.  Specify type.  Require
43976         positive value.
43977         (SIGFPE): Likewise.
43978         (SIGILL): Likewise.
43979         (SIGINT): Likewise.
43980         (SIGSEGV): Likewise.
43981         (SIGTER): Likewise.
43982         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43983         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43984         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43985         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43986         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43987         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43988         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43989         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43990         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43991         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43992         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43993         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43994         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43995         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43996         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43997         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43998         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43999         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44000         [X/Open-based standards] (SIGTRAP): Likewise.
44001         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44002         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44003         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44004         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44005         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44006         allow.
44008 2012-05-08  Ian Wienand  <ianw@vmware.com>
44010         [BZ #14080]
44011         * time/tzset.c (__tzset_parse_tz): Update default rules for
44012         daylight time changes in the Energy Policy Act of 2005.
44014 2012-05-09  Andreas Jaeger  <aj@suse.de>
44016         [BZ #13983]
44017         * elf/ldconfig.c (parse_conf): Change string to make clear that
44018         ldconfig only issued a warning if ld.so.conf does not exist.
44020 2012-05-08  David S. Miller  <davem@davemloft.net>
44022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44023         movxtod instead of popping the value on the stack.
44025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44027 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
44029         * config.h.in: Add HAVE_ARM_PCS_VFP.
44031 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
44033         [BZ #13979]
44034         * include/features.h: Warn if user requests __FORTIFY_SOURCE
44035         checking but the checks are disabled for any reason.
44037 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
44039         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44040         and ELF64_R_TYPE with ELFW(R_TYPE).
44042 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
44044         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44045         (ulimit): Likewise.
44047         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44048         (settimeofday): Likewise.
44050 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
44052         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
44053         a struct th_u2 inside the union, and move tu_block/tu_code into
44054         a new th_u3 union of tu_block/tu_code inside of that.  Move
44055         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
44056         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
44057         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44058         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44059         (th_stuff): Change to th_u1.tu_stuff.
44060         (th_data): Define.
44061         (th_msg): Change to th_u1.th_u2.tu_data.
44063 2012-05-07  David S. Miller  <davem@davemloft.net>
44065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44067         [BZ #14074]
44068         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44069         (SETUP_PIC_REG): Use it.
44070         (SETUP_PIC_REG_LEAF): Use it.
44072 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
44074         [BZ #13885]
44075         [BZ #13923]
44076         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44077         USE_AS_EXPM1L.
44078         (EXPL_FINITE): Likewise.
44079         (FLDLOG): Likewise.
44080         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44081         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44082         e_expl.S.
44083         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44084         USE_AS_EXPM1L.
44085         (EXPL_FINITE): Likewise.
44086         (FLDLOG): Likewise.
44087         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44088         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44089         e_expl.S.
44090         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
44091         test of -max_value argument for long double.
44092         * sysdeps/i386/fpu/libm-test-ulps: Update.
44093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44095 2012-05-06  David S. Miller  <davem@davemloft.net>
44097         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44098         quad soft-float symbols whose references which are compiler
44099         generated.
44100         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44102 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
44104         [BZ #13884]
44105         [BZ #13914]
44106         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44107         USE_AS_EXP10L.
44108         (EXPL_FINITE): Likewise.
44109         (FLDLOG): Likewise.
44110         (c0): Likewise.
44111         (c1): Likewise.
44112         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44113         Adjust comments for base varying.
44114         (__expl_finite): Change alias to EXPL_FINITE.
44115         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44116         e_expl.S.
44117         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44118         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44119         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44120         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44121         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44122         USE_AS_EXP10L.
44123         (EXPL_FINITE): Likewise.
44124         (FLDLOG): Likewise.
44125         (c0): Likewise.
44126         (c1): Likewise.
44127         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44128         Adjust comments for base varying.
44129         (__expl_finite): Change alias to EXPL_FINITE.
44130         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
44131         tests for bugs.
44132         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44134         [BZ #14064]
44135         * math/libm-test.inc (check_float_internal): Correct ulp
44136         calculation for subnormal expected results.
44138 2012-05-06  Andreas Jaeger  <aj@suse.de>
44140         * Makeconfig (+math-flags): New, set to -frounding-math.
44141         (+cflags): Add +math-flags so that all of glibc gets compiled with
44142         it.
44144         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44146 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
44148         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44149         Disable one test.
44151         [BZ #13787]
44152         [BZ #13922]
44153         [BZ #14036]
44154         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44155         (__ieee754_expl): Allow for and saturate large arguments.
44156         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44157         (u_threshold): Likewise.
44158         (__exp): Call __ieee754_exp before checking for overflow and
44159         underflow.
44160         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44161         (u_threshold): Likewise.
44162         (__expf): Call __ieee754_expf before checking for overflow and
44163         underflow.
44164         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44165         (u_threshold): Likewise.
44166         (__expl): Call __ieee754_expl before checking for overflow and
44167         underflow.
44168         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44169         (__ieee754_expl): Allow for and saturate large arguments.
44170         * math/libm-test.inc (exp_test): Add another test.  Do not allow
44171         missing overflow exception on overflow.
44172         (expm1_test): Do not allow missing overflow exception on overflow.
44174         * sysdeps/i386/fpu/e_expl.c: Move to ...
44175         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
44176         rather than using inline asm.
44177         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44178         * sysdeps/x86_64/fpu/e_expl.S: Copy from
44179         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44181         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44182         (nice): Likewise.
44183         (poll): Likewise.
44184         (signal): Likewise.
44185         (time): Likewise.
44186         (times): Likewise.
44188 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44190         * sysdeps/unix/syscalls.list (adjtime): Add entry from
44191         sysdeps/unix/common/syscalls.list.
44192         (fchmod): Likewise.
44193         (fchown): Likewise.
44194         (ftruncate): Likewise.
44195         (getrusage): Likewise.
44196         (gettimeofday): Likewise.
44197         (setpgid): Likewise.
44198         (setregid): Likewise.
44199         (setreuid): Likewise.
44200         (sigaction): Likewise.
44201         (truncate): Likewise.
44202         (vhangup): Likewise.
44203         * sysdeps/unix/common/syscalls.list: Remove file.
44204         * sysdeps/unix/bsd/Implies: Don't include unix/common.
44205         * sysdeps/unix/sysv/linux/Implies: Likewise.
44207 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
44209         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44211         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44212         Moved to ...
44213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44214         Here.
44215         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44216         to ...
44217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44218         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44219         to ...
44220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44221         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44222         to ...
44223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44224         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44225         to ...
44226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44227         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44228         to ...
44229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44230         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44231         to ...
44232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44233         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44234         to ...
44235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44236         Here.
44237         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44238         to ...
44239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44240         Here.
44241         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44242         to ...
44243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44244         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44245         Moved to ...
44246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44247         Here.
44248         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44249         to ...
44250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44252 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44254         * sysdeps/unix/common/bits/dirent.h: Remove file.
44255         * sysdeps/unix/common/bits/fcntl.h: Likewise.
44257         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44258         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44259         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44260         * sysdeps/unix/bsd/isatty.c: Likewise.
44261         * sysdeps/unix/bsd/tcdrain.c: Likewise.
44262         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44263         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44265 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44267         [BZ #13563]
44268         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44269         long double comparison inaccuracies.
44270         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44273 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
44275         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44276         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44278 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44280         [BZ #14049]
44281         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44282         nonzero digits before rounding a hex value.
44283         * stdlib/tst-strtod.c (tests): Add another test.
44285 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44287         * sysdeps/s390/fpu/libm-test-ulps: Update.
44289 2012-05-03  Andreas Jaeger  <aj@suse.de>
44291         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44292         does not get optimized out.
44293         (malloc_opt_barrier): New.
44295 2012-05-03  Andreas Jaeger  <aj@suse.de>
44296             Roland McGrath  <roland@hack.frob.com>
44298         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44299         intermediate file deletion.
44300         (generated): Add .symlist files.
44302 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
44304         [BZ #13775]
44305         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44306         Redirect under this condition.
44307         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44308         [__USE_GNU] (__dprintf_chk): Not under this condition.
44309         [__USE_GNU] (__vdprintf_chk): Likewise.
44310         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44311         under this condition.
44312         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44313         [__USE_XOPEN2K8] (dprintf): Define under this condition.
44314         [__USE_XOPEN2K8] (vdprintf): Likewise.
44315         [__USE_GNU] (__dprintf_chk): Not under this condition.
44316         [__USE_GNU] (__vdprintf_chk): Likewise.
44317         [__USE_GNU] (dprintf): Likewise.
44318         [__USE_GNU] (vdprintf): Likewise.
44320 2012-05-03  Roland McGrath  <roland@hack.frob.com>
44322         * elf/Makefile (common-generated): Set this instead of generated for
44323         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
44324         $(all-built-dso)-derived lists.
44326 2012-05-03  Andreas Jaeger  <aj@suse.de>
44328         * sysdeps/i386/fpu/libm-test-ulps: Update.
44330         * FAQ: Removed.
44331         * FAQ.in: Likewise.
44332         * scripts/gen-FAQ.pl: Likewise.
44333         * manual/install.texi (Installation): Point to online location of
44334         FAQ.
44335         * Makefile (files-for-dist): Remove FAQ.
44336         (FAQ): Remove.
44338 2012-05-02  Allan McRae  <allan@archlinux.org>
44340         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44341         (LDFLAGS-reldepmod5.so): Likewise.
44342         (LDFLAGS-reldep6mod1.so): Likewise.
44343         (LDFLAGS-reldep6mod4.so): Likewise.
44344         (LDFLAGS-reldep8mod3.so): Likewise.
44345         (LDFLAGS-unload4mod1.so): Likewise.
44346         (LDFLAGS-unload4mod2.so): Likewise.
44347         (LDFLAGS-tst-initorder): Likewise.
44348         (LDFLAGS-tst-initordera2.so): Likewise.
44349         (LDFLAGS-tst-initordera3.so): Likewise.
44350         (LDFLAGS-tst-initordera4.so): Likewise.
44351         (LDFLAGS-tst-initorderb2.so): Likewise.
44352         (LDFLAGS-noload): Likewise.
44353         (LDFLAGS-next): Likewise.
44354         (LDFLAGS-order2mod1.so): Likewise.
44355         (LDFLAGS-order2mod2.so): Likewise.
44356         (LDFLAGS-tst-initorder2): Likewise.
44357         (LDFLAGS-tst-initorder2a.so): Likewise.
44358         (LDFLAGS-tst-initorder2b.so): Likewise.
44359         (LDFLAGS-tst-initorder2c.so): Likewise.
44360         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44362 2012-05-02  David S. Miller  <davem@davemloft.net>
44364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44366 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
44368         [BZ #14055]
44369         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44371 2012-05-02  Andreas Jaeger  <aj@suse.de>
44373         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44374         since we manipulate rounding mode.
44375         (CPPFLAGS-test-idouble.c): Likewise.
44376         (CPPFLAGS-test-ifloat.c): Likewise.
44377         (CFLAGS-test-ldouble.c): Likewise.
44378         (CFLAGS-test-double.c): Likewise.
44379         (CFLAGS-test-float.c): Likewise.
44380         (CFLAGS-test-misc.c): Likewise.
44381         (CFLAGS-test-test-fenv.c): Likewise.
44383 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44385         [BZ #2550]
44386         [BZ #2570]
44387         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44388         comparisons to determine direction to adjust input.
44390 2012-05-01  Roland McGrath  <roland@hack.frob.com>
44392         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44393         output to the target.
44395         * scripts/localplt.awk: New file.
44396         * elf/Makefile ($(objpfx)check-localplt): Target removed.
44397         (check-localplt-CFLAGS): Variable removed.
44398         ($(all-built-dso:=.jmprel)): New static pattern rule.
44399         (generated): Add those targets.
44400         (localplt-built-dso): New variable.
44401         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44403         * elf/check-localplt.c: File removed.
44405         * scripts/check-execstack.awk: New file.
44406         * elf/Makefile ($(objpfx)check-execstack): Target removed.
44407         (check-execstack-CFLAGS): Variable removed.
44408         ($(objpfx)check-execstack.h): Target removed.
44409         ($(objpfx)execstack-default): New target.
44410         (generated): Add that instead of check-execstack.h.
44411         ($(all-built-dso:=.phdr)): New static pattern rule.
44412         (generated): Add those targets.
44413         * elf/check-execstack.c: File removed.
44415         * scripts/check-textrel.awk: New file.
44416         * elf/Makefile ($(objpfx)check-textrel): Target removed.
44417         (check-textrel-CFLAGS): Variable removed.
44418         (all-built-dso): Use := to define.o
44419         ($(all-built-dso:=.dyn)): New static pattern rule.
44420         (generated): Add those targets.
44421         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44422         * config.make.in (READELF): New substituted variable.
44423         * elf/check-textrel.c: File removed.
44425 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44427         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44428         allow.
44429         * conform/data/ctype.h-data [C99-based standards] (isblank):
44430         Expect function.
44431         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44432         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44433         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44434         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44435         Specify type.  Require positive value.
44436         (EILSEQ): Likewise.
44437         (ERANGE): Likewise.
44438         [ISO || POSIX] (EILSEQ): Do not expect.
44439         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44440         Specify type.  Require positive value.
44441         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44442         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44443         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44444         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44445         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44446         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44447         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44448         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44449         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44450         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44451         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44452         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44453         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44454         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44455         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44456         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44457         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44458         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44459         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44460         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44461         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44462         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44463         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44464         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44465         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44466         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44467         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44468         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44469         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44470         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44471         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44472         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44473         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44474         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44475         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44476         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44477         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44478         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44479         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44480         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44481         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44482         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44483         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44484         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44485         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44486         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44487         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44488         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44489         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44490         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44491         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44492         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44493         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44494         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44495         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44496         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44497         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44498         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44499         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44500         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44501         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44502         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44503         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44504         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44505         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44506         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44507         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44508         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44509         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44510         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44511         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44512         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44513         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44514         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44515         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44516         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44517         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44518         Require >= 2.
44519         (FLT_ROUNDS): Expect as macro, not constant.
44520         (FLT_MANT_DIG): Use macro-int-constant.
44521         (DBL_MANT_DIG): Likewise.
44522         (LDBL_MANT_DIG): Likewise.
44523         (FLT_DIG): Likewise.
44524         (DBL_DIG): Likewise.
44525         (LDBL_DIG): Likewise.
44526         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
44527         (DBL_MIN_EXP): Likewise.
44528         (LDBL_MIN_EXP): Likewise.
44529         (FLT_MAX_EXP): Use macro-int-constant.
44530         (DBL_MAX_EXP): Likewise.
44531         (LDBL_MAX_EXP): Likewise.
44532         (FLT_MAX_10_EXP): Likewise.
44533         (DBL_MAX_10_EXP): Likewise.
44534         (LDBL_MAX_10_EXP): Likewise.
44535         (FLT_MAX): Use macro-constant.
44536         (DBL_MAX): Likewise.
44537         (LDBL_MAX): Likewise.
44538         (FLT_EPSILON): Use macro-constant.  Give upper bound.
44539         (DBL_EPSILON): Likewise.
44540         (LDBL_EPSILON): Likewise.
44541         (FLT_MIN): Likewise.
44542         (DBL_MIN): Likewise.
44543         (LDBL_MIN): Likewise.
44544         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44545         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44546         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44547         [ISO11] (FLT_HAS_SUBNORM): Likewise.
44548         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44549         [ISO11] (DBL_DECIMAL_DIG): Likewise.
44550         [ISO11] (FLT_DECIMAL_DIG): Likewise.
44551         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44552         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44553         [ISO11] (FLT_TRUE_MIN): Likewise.
44554         [ISO11] (LDBL_TRUE_MIN): Likewise.
44555         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44556         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44557         (SCHAR_MIN): Use macro-int-constant.  Specify type.
44558         (SCHAR_MAX): Likewise.
44559         (UCHAR_MAX): Likewise.
44560         (CHAR_MIN): Likewise.
44561         (CHAR_MAX): Likewise.
44562         (MB_LEN_MAX): Use macro-int-constant.
44563         (SHRT_MIN): Use macro-int-constant.  Specify type.
44564         (SHRT_MAX): Likewise.
44565         (USHRT_MAX): Likewise.
44566         (INT_MAX): Likewise.
44567         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
44568         bound negative.
44569         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44570         bound with "U".
44571         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44572         bound with "L".
44573         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
44574         bound negative.  Suffix upper bound with "L".
44575         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44576         bound with "UL".
44577         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44578         Specify type.
44579         [C99-based standards] (LLONG_MAX): Likewise.
44580         [C99-based standards] (ULLONG_MAX): Likewise.
44581         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
44582         == 0.
44583         [ISO11] (max_align_t): Require type.
44584         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44586         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44587         from $CFLAGS, without defining away __attribute__ calls.
44588         (checknamespace): Use $CFLAGS_namespace.
44590         * conform/conformtest.pl (@keywords): Only include C99 keywords
44591         for standards based on C99 or C11.
44593         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44594         Disable tests.
44595         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44596         UNIX98]: Likewise.
44598         * conform/conformtest.pl: Handle "macro-int-constant" and test for
44599         usability of symbols in #if.
44601         * conform/conformtest.pl: If macro or constant types start
44602         "promoted:", expect the symbol to be of the following type
44603         promoted by the integer promotions.
44605         * conform/conformtest.pl: Parse all "constant" and "macro" lines
44606         in one place.  Also handle "macro-constant".
44608         * conform/conformtest.pl: Only accept expected macro values with
44609         "==".  Parse all "macro" lines in one place.
44610         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44612         * conform/conformtest.pl: Handle braced types on "constant" lines
44613         instead of handling "typed-constant".
44614         * conform/data/signal.h-data: Use "constant" instead of
44615         "typed-constant".
44617         * conform/conformtest.pl: Handle "optional-" at start of lines in
44618         one place rather than duplicating several cases.  Handle each
44619         format of "macro" line with initial "optional-".
44621         * conform/conformtest.pl: Only accept expected constant or
44622         optional-constant values with "==".  Parse all "constant" lines in
44623         one place.  Parse all "optional-constant" lines in one place.
44624         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44625         * conform/data/fmtmsg.h-data: Likewise.
44626         * conform/data/netinet/in.h-data: Likewise.
44627         * conform/data/tar.h-data: Likewise.
44628         * conform/data/limits.h-data: Use "==" form on "constant" and
44629         "optional-constant" lines.
44631         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44632         Use -std=c99 for XOPEN2K.
44633         (@knownproblems): Remove.
44634         (newtoken): Don't check %isknown.
44636         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44637         Do not expect macro.
44638         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44639         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44640         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44641         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44642         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44643         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44644         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44645         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44646         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44647         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44648         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44649         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44650         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44651         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44652         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44653         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44654         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44655         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44656         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44657         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44658         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44659         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44660         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44661         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44662         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44663         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44664         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44665         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44666         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44667         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44668         [XPG3] (acosh): Likewise.
44669         [XPG3] (asinh): Likewise.
44670         [XPG3] (atanh): Likewise.
44671         [XPG3] (cbrt): Likewise.
44672         [XPG3] (expm1): Likewise.
44673         [XPG3] (ilogb): Likewise.
44674         [XPG3] (log1p): Likewise.
44675         [XPG3] (logb): Likewise.
44676         [XPG3] (nextafter): Likewise.
44677         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44678         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44679         [XPG3] (remainder): Likewise.
44680         [XPG3] (rint): Likewise.
44681         [XPG3 || XPG4 || UNIX98] (round): Likewise.
44682         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44683         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44684         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44685         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44686         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44687         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44688         [UNIX98 || XOPEN2K] (scalb): Expect.
44689         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44690         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44691         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44692         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44693         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44694         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44695         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44696         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44697         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44698         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44699         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44700         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44701         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44702         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44703         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44704         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44705         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44706         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44707         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44708         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44709         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44710         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44711         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44712         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44713         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44714         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44715         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44716         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44717         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44718         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44719         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44720         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44721         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44722         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44723         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44724         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44725         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44726         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44727         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44728         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44729         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44730         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44731         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44732         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44733         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44734         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44735         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44736         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44737         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44738         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44739         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44740         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44741         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44742         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44743         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44744         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44745         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44746         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44747         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44748         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44749         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44750         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44751         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44752         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44753         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44754         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44755         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44756         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44757         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44758         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44759         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44760         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44761         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44762         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44763         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44764         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44765         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44766         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44767         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44768         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44769         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44770         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44771         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44772         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44773         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44774         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44775         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44776         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44777         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44778         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44779         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44780         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44781         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44782         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44783         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44784         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44785         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44786         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44787         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44788         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44789         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44790         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44791         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44792         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44793         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44794         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44795         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44796         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44797         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44798         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44799         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44800         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44801         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44802         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44803         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44804         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44805         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44806         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44807         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44808         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44809         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44810         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44811         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44812         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44813         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44814         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44815         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44816         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44817         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44818         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44819         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44820         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44821         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44822         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44823         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44824         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44825         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44827         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44828         _XOPEN_SOURCE_EXTENDED for XPG4.
44830         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44832         * Makeconfig (localtime): Remove variable.
44833         (inst_localtime-file): Likewise.
44835 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44838         Update.
44839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44840         Update.
44841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44842         Update.
44843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44844         Update.
44845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44846         Update.
44847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44848         Update.
44849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44850         Update.
44851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44852         Update.
44853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44854         Update.
44856 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44858         [BZ #2550]
44859         [BZ #2570]
44860         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44861         comparisons to determine direction to adjust input.
44862         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44863         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44864         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44865         Likewise.
44866         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44867         Likewise.
44868         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44869         Likewise.
44870         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44871         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44872         Likewise.
44873         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44874         Likewise.
44875         * math/libm-test.inc (nexttoward_test): Add more tests.
44877 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44879         [BZ #14040]
44880         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44881         in version GLIBC_2.1, not GLIBC_2.0.
44882         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44883         Likewise.
44885 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
44887         [BZ #13942]
44888         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44889         (1 - x) * (1 + x).
44890         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44891         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44892         * math/libm-test.inc (acos_test): Add more tests.
44893         (asin_test): Likewise.
44894         * sysdeps/i386/fpu/libm-test-ulps: Update.
44895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44897         [BZ #14034]
44898         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44899         of square root.
44900         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44901         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44902         * math/libm-test.inc (acos_test_tonearest): New function.
44903         (acos_test_towardzero): Likewise.
44904         (acos_test_downward): Likewise.
44905         (acos_test_upward): Likewise.
44906         (asin_test_tonearest): Likewise.
44907         (asin_test_towardzero): Likewise.
44908         (asin_test_downward): Likewise.
44909         (asin_test_upward): Likewise.
44910         (main): Call the new functions.
44911         * sysdeps/i386/fpu/libm-test-ulps: Update.
44912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44914         [BZ #13884]
44915         [BZ #13924]
44916         * math/e_exp10.c: Include <float.h>.
44917         (__ieee754_exp10): Handle underflow here rather than multiplying
44918         large negative argument by M_LN10.
44919         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44920         of __ieee754_expf.
44921         * math/e_exp10l.c: Include <float.h>.
44922         (__ieee754_exp10l): Handle underflow here rather than multiplying
44923         large negative argument by M_LN10l.
44924         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
44925         spurious overflow exception on underflow.
44927 2012-04-29  Marek Polacek  <polacek@redhat.com>
44929         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44930         (__fortify_function): New macro.
44931         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44932         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44933         __extern_always_inline.
44934         * libio/bits/stdio2.h: Likewise.
44935         * libio/bits/stdio.h: Likewise.
44936         * string/string.h: Likewise.
44937         * string/bits/string3.h: Likewise.
44938         * include/stdio.h: Likewise.
44939         * stdlib/bits/stdlib.h: Likewise.
44940         * stdlib/stdlib.h: Likewise.
44941         * rt/bits/mqueue2.h: Likewise.
44942         * rt/mqueue.h: Likewise.
44943         * posix/bits/unistd.h: Likewise.
44944         * posix/unistd.h: Likewise.
44945         * io/bits/poll2.h: Likewise.
44946         * io/bits/fcntl2.h: Likewise.
44947         * io/fcntl.h: Likewise.
44948         * io/sys/poll.h: Likewise.
44949         * misc/bits/syslog.h: Likewise.
44950         * misc/bits/syslog-ldbl.h: Likewise.
44951         * misc/sys/syslog.h: Likewise.
44952         * socket/bits/socket2.h: Likewise.
44953         * socket/sys/socket.h: Likewise.
44954         * debug/tst-chk1.c: Likewise.
44955         * wcsmbs/bits/wchar2.h: Likewise.
44956         * wcsmbs/bits/wchar-ldbl.h: Likewise.
44957         * wcsmbs/wchar.h: Likewise.
44959 2012-04-29  Andreas Jaeger  <aj@suse.de>
44961         * Makerules (tests): Remove enable-check-abi protection.
44962         (check-abi-warn): Remove.
44963         (check-abi-%): Remove check-abi-warn usage.
44965         * configure.in: Remove check-abi configure option.
44966         * configure: Regenerated.
44967         * config.make.in (enable-check-abi): Remove.
44969 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44971         [BZ #14033]
44972         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44973         double functions to double *_finite functions.
44975         [BZ #13941]
44976         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44977         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44978         LDBL_MIN_EXP.
44979         * stdio-common/Makefile (tests): Add tst-sprintf3.
44980         * stdio-common/tst-sprintf3.c: New file.
44982         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44983         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44985 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44987         * conform/conformtest.pl: Remove duplicate typed-constant
44988         handling.
44990 2012-04-28  David S. Miller  <davem@davemloft.net>
44992         * Makerules (%.abilist): Add vpath on sysdep_dirs.
44993         (check-abi-%): Remove AWK script prerequisite and explicit
44994         abilist directory.
44995         (check-abi): Rewrite to just diff the symlist with the abilist.
44996         (config-tls, config-abi-config): Delete, no longer used.
44997         (update-abi-%): Remove AWK script and explicit abilist directory.
44998         (update-abi): Rewrite to simply compare and conditionally copy the
44999         symlist and the sysdep abilist file.  Remove update-abi-config
45000         checks.
45001         * abilist/ld.abilist: Remove.
45002         * abilist/libBrokenLocale.abilist: Remove.
45003         * abilist/libanl.abilist: Remove.
45004         * abilist/libcrypt.abilist: Remove.
45005         * abilist/libdl.abilist: Remove.
45006         * abilist/librt.abilist: Remove.
45007         * abilist/libthread_db.abilist: Remove.
45008         * abilist/libutil.abilist: Remove.
45009         * scripts/extract-abilist.awk: Remove.
45010         * scripts/merge-abilist.awk: Remove.
45011         * sysdeps/generic/libcidn.abilist: New file.
45012         * sysdeps/generic/libnss_compat.abilist: New file.
45013         * sysdeps/generic/libnss_db.abilist: New file.
45014         * sysdeps/generic/libnss_dns.abilist: New file.
45015         * sysdeps/generic/libnss_files.abilist: New file.
45016         * sysdeps/generic/libnss_hesiod.abilist: New file.
45017         * sysdeps/generic/libnss_nis.abilist: New file.
45018         * sysdeps/generic/libnss_nisplus.abilist: New file.
45019         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45020         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45021         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45022         file.
45023         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45024         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45025         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45026         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45027         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45028         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45029         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45030         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45031         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45032         file.
45033         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45034         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45035         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45036         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45037         file.
45038         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45039         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45040         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45041         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45042         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45043         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45044         file.
45045         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45046         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45047         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45048         file.
45049         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45051         New file.
45052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45053         New file.
45054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45055         New file.
45056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45057         New file.
45058         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45059         New file.
45060         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45061         New file.
45062         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45063         New file.
45064         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45065         New file.
45066         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45067         New file.
45068         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45069         New file.
45070         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45071         New file.
45072         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45073         New file.
45074         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45075         New file.
45076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45077         file.
45078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45079         New file.
45080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45081         New file.
45082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45083         file.
45084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45085         New file.
45086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45087         New file.
45088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45089         file.
45090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45091         New file.
45092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45093         New file.
45094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45095         New file.
45096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45097         New file.
45098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45099         New file.
45100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45101         New file.
45102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45104         file.
45105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45106         New file.
45107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45108         file.
45109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45110         file.
45111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45112         file.
45113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45114         file.
45115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45116         file.
45117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45118         New file.
45119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45120         file.
45121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45122         file.
45123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45124         New file.
45125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45126         file.
45127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45129         file.
45130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45131         New file.
45132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45133         file.
45134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45135         file.
45136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45137         file.
45138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45139         file.
45140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45141         file.
45142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45143         New file.
45144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45145         file.
45146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45147         file.
45148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45149         New file.
45150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45151         file.
45152         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45153         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45154         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45155         file.
45156         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45157         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45158         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45159         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45160         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45161         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45162         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45163         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45164         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45165         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45168         file.
45169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45170         New file.
45171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45172         file.
45173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45174         file.
45175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45176         file.
45177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45178         file.
45179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45180         file.
45181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45182         New file.
45183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45184         New file.
45185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45186         file.
45187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45188         New file.
45189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45190         file.
45191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45193         file.
45194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45195         New file.
45196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45197         file.
45198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45199         file.
45200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45201         file.
45202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45203         file.
45204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45205         file.
45206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45207         New file.
45208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45209         New file.
45210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45211         file.
45212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45213         New file.
45214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45215         file.
45217 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45219         * conform/conformtest.pl: Fix typo in handling typed-constant from
45220         allow-header.
45222 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45224         * README: Cut down references to pre-2.6 Linux kernels and
45225         Linuxthreads.  Update lists of configurations in libc and ports
45226         and sort alphabetically.  Say "or newer" with Linux kernel version
45227         requirements.
45229         * config.h.in [IS_IN_build]: Allow compiling without optimization.
45231 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45233         [BZ #887]
45234         * math/libm-test.inc (logb_test_downward): New test to expose
45235         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45236         rounding mode.
45238 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45240         [BZ #14027]
45241         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45242         to be done.
45243         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45244         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45246 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
45248         * sysdeps/unix/i386/brk.S: Remove file.
45249         * sysdeps/unix/i386/dl-brk.S: Likewise.
45250         * sysdeps/unix/i386/pipe.S: Likewise.
45251         * sysdeps/unix/i386/sigreturn.S: Likewise.
45252         * sysdeps/unix/i386/syscall.S: Likewise.
45253         * sysdeps/unix/i386/vfork.S: Likewise.
45254         * sysdeps/unix/i386/wait.S: Likewise.
45256         * sysdeps/unix/common/tcsendbrk.c: Move to ...
45257         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45259         * configure.in (arm*-none*): Do not allow without
45260         --enable-hacker-mode.
45261         (netbsd*): Remove case setting base_os.
45262         (386bsd*): Likewise.
45263         (freebsd*): Likewise.
45264         (bsdi*): Likewise.
45265         (osf*): Likewise.
45266         (sunos*): Likewise.
45267         (ultrix*): Likewise.
45268         (newsos*): Likewise.
45269         (dynix*): Likewise.
45270         (*bsd*): Likewise.
45271         (sysv*): Likewise.
45272         (isc*): Likewise.
45273         (esix*): Likewise.
45274         (sco*): Likewise.
45275         (minix*): Likewise.
45276         (irix4*): Likewise.
45277         (irix6*): Likewise.
45278         (solaris[2-9]*): Likewise.
45279         (none): Likewise.
45280         * configure: Regenerated.
45282 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45284         [BZ #11521]
45285         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45286         overflow or cancellation in calculating denominator.
45287         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45288         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45289         down expression to avoid unexpected rounding in newer GCCs.
45290         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45292 2012-04-26  David S. Miller  <davem@davemloft.net>
45294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45295         long-double compat symbols.
45296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45310 2012-04-25  David S. Miller  <davem@davemloft.net>
45312         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45313         HWCAP_* values only after the memory barriers have been defined.
45314         (atomic_full_barrier): Define.
45315         (atomic_read_barrier): Define.
45316         (atomic_write_barrier): Define.
45318 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45320         * shlib-versions: Add libgcc_s version information.
45321         * sysdeps/generic/libgcc_s.h: Remove.
45322         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45323         libgcc_s.h.
45324         * sysdeps/gnu/unwind-resume.c: Likewise.
45325         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45327 2012-04-25  David S. Miller  <davem@davemloft.net>
45329         * sysdeps/unix/sparc/brk.S: Delete.
45330         * sysdeps/unix/sparc/dl-brk.S: Delete.
45331         * sysdeps/unix/sparc/pipe.S: Delete.
45332         * sysdeps/unix/sparc/sysdep.S: Delete.
45333         * sysdeps/unix/sparc/sysdep.h: Delete.
45334         * sysdeps/unix/sparc/vfork.S: Delete.
45335         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45336         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45337         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45338         (ret_ERRVAL, r0, r1, MOVE): Define.
45339         (JUMPTARGET): Remove.
45340         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45341         sysdeps/unix/sparc/sysdep.h
45342         (ENTRY, END): Remove.
45343         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45345 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
45347         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45348         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45349         -DIS_IN_build.
45351         * timezone/README: Update upstream location and email address for
45352         tzcode and tzdata.
45353         * timezone/zdump.c: Update from tzcode 2012b.
45354         * timezone/zic.c: Likewise.
45356         * configure.in (libc_cv_as_needed): Remove test.
45357         * configure: Regenerated.
45358         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45359         conditional definition.
45360         [$(have-as-needed) != yes] (no-as-needed): Likewise.
45361         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45362         * config.make.in (have-as-needed): Remove variable.
45364 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45365             Paul Pluzhnikov  <ppluzhnikov@google.com>
45367         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45368         strings correctly.
45370 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
45372         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45373         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45374         * sysdeps/sh/strlen.S: Likewise.
45376 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45378         * sysdeps/unix/fork.S: Remove file.
45379         * sysdeps/unix/i386/fork.S: Likewise.
45380         * sysdeps/unix/sparc/fork.S: Likewise.
45382         * sysdeps/unix/system.c: Remove file.
45383         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45385         * sysdeps/unix/getegid.S: Remove file.
45386         * sysdeps/unix/geteuid.S: Likewise.
45388 2012-04-24  Roland McGrath  <roland@hack.frob.com>
45390         * scripts/check-localplt.awk: New file.
45391         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45392         of diff.
45393         * scripts/data/localplt-generic.data: Add a comment.
45395         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45396         NODE when __dir_mkfile failed.
45397         * sysdeps/mach/hurd/symlinkat.c: Likewise.
45398         Reported by Ludovic Courtès <ludo@gnu.org>.
45400 2012-04-24  Andreas Jaeger  <aj@suse.de>
45402         * Makerules (common-clean): Also remove gen-as-const-headers
45403         files.
45405 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45407         * Makerules (native-compile): Do not change working directory for
45408         build.  Use $(OUTPUT_OPTION) in command.
45409         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45411 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45413         [BZ #13886]
45414         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45415         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45416         * math/libm-test.inc (floor_test): Add more tests.
45417         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45419 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45421         * sysdeps/unix/getdents.c: Remove file.
45422         * sysdeps/unix/sysv/getdents.c: Likewise.
45423         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45425         * sysdeps/unix/syscalls.list (madvise): Add syscall from
45426         sysdeps/unix/mman/syscalls.list.
45427         (mmap): Likewise.
45428         (mprotect): Likewise.
45429         (msync): Likewise.
45430         (munmap): Likewise.
45431         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45432         * sysdeps/unix/mman/syscalls.list: Remove.
45433         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45435         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45436         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45437         * configure: Regenerated.
45438         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45439         $(libgcc_s_suffix).
45440         * config.make.in (libgcc_s_suffix): Remove variable.
45442 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
45444         * sysdeps/unix/sysv/gethostname.c: Move to ...
45445         * sysdeps/posix/gethostname.c: ... here.
45447         * sysdeps/unix/execve.S: Remove file.
45449         * sysdeps/unix/_exit.S: Remove file.
45451 2012-04-23  Andreas Jaeger  <aj@suse.de>
45453         [BZ #13739]
45454         * manual/Makefile: Remove make dist support, there's no
45455         need for a stand-alone documentation tar ball.
45456         (TEXI2DVI): Define always, it's not in Makeconfig.
45457         (dist): Removed.
45458         (tar-it): Removed.
45459         (edition): Removed.
45460         (glibc-doc-$(edition).tar): Removed
45461         (%.Z): Removed.
45462         (%.gz): Removed.
45463         (%.uu): Removed.
45464         (ETAGS): Remove, it's in Makeconfig.
45465         (move-if-change): Remove, it's in Makeconfig.
45467 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
45469         [BZ #13970]
45470         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45471         (strtod, strtof, strtold, strtol, strtoul, strtoq)
45472         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45473         (strtod_l, strtof_l, strtold_l): Remove __wur.
45474         It is not necessarily an error to ignore strtol's return value.
45475         One can reliably look at the stored endptr to decide whether
45476         the number had valid syntax.
45478 2012-04-21  Andreas Jaeger  <aj@suse.de>
45480         [BZ #13739]
45481         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45483 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
45485         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45486         * sysdeps/unix/sysv/Versions: Remove file.
45488 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
45490         [BZ #13927]
45491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45493 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
45495         [BZ #7064]
45496         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45497         version from __vm86.
45499 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
45501         * sysdeps/unix/common/lxstat.c: Remove file.
45502         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45504         * sysdeps/unix/sysv/Makefile: Remove file.
45506         * sysdeps/unix/sysv/direct.h: Remove file.
45508         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45509         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45510         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45511         * sysdeps/unix/sysv/bits/signum.h: Likewise.
45512         * sysdeps/unix/sysv/bits/stat.h: Likewise.
45513         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45514         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45516         * sysdeps/unix/sysv/setrlimit.c: Remove file.
45518         * sysdeps/unix/xmknod.c: Remove file.
45519         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45521         * sysdeps/unix/sysv/settimeofday.c: Remove file.
45523         * sysdeps/unix/sysv/i386/time.S: Remove file.
45525         * sysdeps/unix/fxstat.c: Remove file.
45526         * sysdeps/unix/xstat.c: Likewise.
45527         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45529         * sysdeps/unix/sysv/sigaction.c: Remove file.
45531         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45532         (sysdep_headers): Remove variable.
45533         [termio.h not in sysdep_headers] (generated): Likewise.
45534         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45535         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45536         * sysdeps/unix/sysv/tcdrain.c: Likewise.
45537         * sysdeps/unix/sysv/tcflow.c: Likewise.
45538         * sysdeps/unix/sysv/tcflush.c: Likewise.
45539         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45540         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45541         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45542         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45543         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45545         * sysdeps/unix/siglist.c: Remove file.
45547         * sysdeps/unix/getppid.S: Remove file.
45549         * sysdeps/unix/mkdir.c: Remove file.
45550         * sysdeps/unix/rmdir.c: Likewise.
45552 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
45554         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45555         ERR_MAX value.
45556         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45557         errlist-compat value.
45559 2012-04-18  David S. Miller  <davem@davemloft.net>
45561         * sysdeps/generic/memcopy.h (reg_char): Delete.
45562         * debug/strcat_chk.c: Use char, not reg_char.
45563         * debug/strcpy_chk.c: Likewise.
45564         * debug/strncat_chk.c: Likewise.
45565         * debug/strncpy_chk.c: Likewise.
45566         * string/memchr.c: Likewise.
45567         * string/memrchr.c: Likewise.
45568         * string/rawmemchr.c: Likewise.
45569         * string/strcat.c: Likewise.
45570         * string/strchr.c: Likewise.
45571         * string/strchrnul.c: Likewise.
45572         * string/strcmp.c: Likewise.
45573         * string/strcpy.c: Likewise.
45574         * string/strncat.c: Likewise.
45575         * string/strncmp.c: Likewise.
45576         * string/strncpy.c: Likewise.
45578 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45580         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45581         __builtin_memcopy is called when src and dest ranges are known to not
45582         overlap.
45584 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45586         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45587         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45588         fwd_align_merge macro call.
45589         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45590         bwd_align_merge macro call.
45591         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45593 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45595         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45596         bwd_align_merge macros.
45597         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45598         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45599         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45601 2012-04-18  David S. Miller  <davem@davemloft.net>
45603         * sysdeps/sparc/sparc64/memcopy.h: Delete.
45605 2012-04-18  Andreas Jaeger  <aj@suse.de>
45607         [BZ# 6794]
45608         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45609         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45610         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45612         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45613         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45614         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45616         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45617         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45618         Adjust for changed ldbl-128 files.
45620         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45621         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45622         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45624 2012-04-17  David S. Miller  <davem@davemloft.net>
45626         * sysdeps/sparc/sparc32/memcopy.h: Delete.
45628 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
45630         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45631         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45632         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45633         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45634         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45635         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45637 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45639         [BZ #6794]
45640         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45641         * math/libm-test.inc: Add ilogb errno and exception tests.
45642         * math/w_ilogb.c: New file: ilogb wrapper.
45643         * math/w_ilogbf.c: New file: ilogbf wrapper.
45644         * math/w_ilogbl.c: New file: ilogbl wrapper.
45645         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45646         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45647         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45648         exception being thrown with 0.0 as argument.
45649         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45650         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45651         exception being thrown with 0.0 as argument.
45652         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45653         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45654         exception being thrown with 0.0 as argument.
45655         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45656         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45657         exception being thrown with 0.0 as argument.
45658         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45659         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45660         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45661         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45662         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45663         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45664         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45665         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45666         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45668 2012-04-17  Petr Baudis  <pasky@ucw.cz>
45670         * include/sys/uio.h: Change __vector to __iovec to avoid clash
45671         with altivec.
45673 2012-04-16  Marek Polacek  <polacek@redhat.com>
45675         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45677 2012-04-16  Marek Polacek  <polacek@redhat.com>
45679         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45680         operands of fdivp instruction.
45682 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45684         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45685         * elf/tst-auditmod3b.c: Likewise.
45686         * elf/tst-auditmod4b.c: Likewise.
45687         * elf/tst-auditmod5b.c: Likewise.
45688         * elf/tst-auditmod6b.c: Likewise.
45689         * elf/tst-auditmod6c.c: Likewise.
45690         * elf/tst-auditmod7b.c: Likewise.
45691         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45692         * sysdeps/x86_64/preconfigure.in: Likewise.
45693         * sysdeps/x86_64/preconfigure: Regenerated.
45695 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45697         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45698         __ILP32__.
45700 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
45702         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45703         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45705 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
45707         [BZ #13973]
45708         * locale/iso-639.def: Fix gl language name. Spotted by
45709         Yaron Shahrabani.
45711 2012-04-12  Roland McGrath  <roland@hack.frob.com>
45713         [BZ #2074]
45714         * libio/libio.h (__io_write_fn): Update comment.
45716 2012-04-12  Petr Baudis  <pasky@ucw.cz>
45718         [BZ #2074]
45719         * stdio.texi (Hook Functions): The user provided writer function
45720         is not allowed to return -1.
45722 2012-04-11  David S. Miller  <davem@davemloft.net>
45724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45726 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
45728         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45729         Add a leading slash to rtkaio.
45731 2012-04-11  Jim Meyering  <meyering@redhat.com>
45733         [BZ #11959]
45734         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45735         It is not necessarily an error to ignore fwrite's return
45736         value.  One can reliably use ferror to test for errors after
45737         the fact.
45739 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45741         * bits/types.h (__snseconds_t): New type.
45742         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45744         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45745         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45746         (__SNSECONDS_T_TYPE): Likewise.
45747         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45748         (__SNSECONDS_T_TYPE): Likewise.
45749         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45750         (__SNSECONDS_T_TYPE): Likewise.
45752 2012-04-10  Andreas Jaeger  <aj@suse.de>
45754         [BZ #2636]
45755         * manual/time.texi (Processor Time): Return type of times is
45756         elapsed real time since an arbitrary point in the past.
45757         (CPU Time): Move CLK_TCK from here...
45758         (Processor Time): ...to here.  Correct description.
45759         * manual/conf.texi (Constants for Sysconf): Correct description of
45760         _SC_CLK_TCK.
45762 2012-04-10  David S. Miller  <davem@davemloft.net>
45764         [BZ #13967]
45765         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45766         where the is a gap between DT_REL(A) and DT_JMPREL.
45768 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45770         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45771         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45772         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45774 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45776         * elf/dl-support.c (_dl_inhibit_cache): New variable.
45777         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45778         (dl_main): Handle --inhibit-cache.
45779         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45780         _dl_inhibit_cache.
45781         * elf/dl-load.c (_dl_map_object): Use it.
45782         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45784 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45786         [BZ #13872]
45787         * sysdeps/i386/fpu/e_powl.S (p78): New object.
45788         (__ieee754_powl): Saturate large exponents rather than testing for
45789         overflow of y*log2(x).
45790         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45791         * math/libm-test.inc (pow_test): Do not permit spurious overflow
45792         exceptions.
45794         [BZ #11521]
45795         * math/s_ctan.c: Include <float.h>.
45796         (__ctan): Avoid internal overflow or cancellation in calculating
45797         denominator.
45798         * math/s_ctanf.c: Likewise.
45799         * math/s_ctanl.c: Likewise.
45800         * math/s_ctanh.c: Likewise.
45801         * math/s_ctanhf.c: Likewise.
45802         * math/s_ctanhl.c: Likewise.
45803         * math/libm-test.inc (ctan_test): Add more tests.
45804         (ctanh_test): Likewise.
45805         * sysdeps/i386/fpu/libm-test-ulps: Update.
45806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45808 2012-04-09  Andreas Jaeger  <aj@suse.de>
45810         [BZ #6894]
45811         * manual/filesys.texi (Directory Entries): Mention that d_namlen
45812         is an optional BSD extension.
45814         [BZ #10254]
45815         * manual/stdio.texi (Opening Streams): Document additional fopen
45816         parameters.
45818 2012-04-09  Roland McGrath  <roland@hack.frob.com>
45820         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45821         %eax without telling the compiler.
45823 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
45825         [BZ # 13963]
45826         * manual/install.texi: Use sourceware.org.
45828 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45830         [BZ #13873]
45831         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45832         (__ieee754_pow): Generate overflow and underflow using huge*huge
45833         and tiny*tiny rather than just returning constant infinity or zero
45834         for large exponents.
45835         * math/libm-test.inc (pow_test): Require overflow exceptions for
45836         applicable cases of large exponents.
45838         [BZ #706]
45839         * sysdeps/i386/fpu/e_pow.S (p10): New object.
45840         (__ieee754_pow): Use iterative multiplication algorithm only for
45841         integer exponents with absolute value below 1024.  Check for odd
45842         integer exponents when using algorithm for real exponents.
45843         * math/libm-test.inc (pow_test): Add more tests.
45844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45846 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
45848         [BZ #13705]
45849         * math/libm-test.inc (exp_test): Do not allow overflow exception
45850         on underflow test.
45852 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
45854         [BZ #13705]
45855         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45856         instead of __kernel_standard_f.
45858 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
45860         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45861         * sysdeps/x86_64/memset_chk.S: Likewise.
45863 2012-04-08  Andreas Jaeger  <aj@suse.de>
45865         [BZ #10153]
45866         * manual/startup.texi (Environment Access): Describe return value
45867         for putenv and setenv.
45869         [BZ #6895]
45870         * manual/filesys.texi (Directory Entries): Add description for
45871         DT_LNK.
45873         [BZ #6890]
45874         * manual/filesys.texi (Directory Entries): Clarify that it's file
45875         system not operating system in the description of DT_UNKNOWN.
45877         [BZ #6578]
45878         * manual/syslog.texi (closelog): Fix reference, it's openlog.
45880 2012-04-08  Stephen Compall  <s11@member.fsf.org>
45882         [BZ #6649]
45883         * manual/llio.texi (Opening and Closing Files): Add cross
45884         reference to explain mode argument.
45886 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
45888         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45889         * sysdeps/x86_64/memset_chk.S: Likewise.
45891 2012-04-07  David S. Miller  <davem@davemloft.net>
45893         * elf/elf.h (R_SPARC_WDISP10): Define.
45894         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45895         R_SPARC_SIZE32.
45896         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45897         R_SPARC_SIZE64 and R_SPARC_H34.
45899 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
45901         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45902         conditions and remove no longer applicable assertion.
45904 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45906         * bits/byteswap.h: Include <features.h>.
45907         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45908         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45910 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45912         * bits/byteswap.h (__bswap_16): Removed.
45913         Include <bits/byteswap-16.h> to get __bswap_16.
45914         * sysdeps/i386/bits/byteswap.h: Likewise.
45915         * sysdeps/s390/bits/byteswap.h: Likewise.
45916         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45917         * bits/byteswap-16.h: New file.
45918         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45919         * sysdeps/s390/bits/byteswap-16.h: Likewise.
45920         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45921         * string/Makefile (headers): Add bits/byteswap-16.h.
45923 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45925         [BZ #13895]
45926         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45927         extra indirection.
45928         * nss/Makefile (tests-static, tests): Add tst-nss-static.
45929         * nss/tst-nss-static.c: New.
45931 2012-04-06  Robert Millan  <rmh@gnu.org>
45933         [BZ #6486]
45934         * manual/llio.texi (File Position Primitive): lseek
45935         refers to WHENCE when it really means OFFSET.
45937 2012-04-06  Andreas Jaeger  <aj@suse.de>
45939         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45940         strncmp declarations.
45942         * abilist/libc.abilist: Add __poll and __ppoll.
45944 2012-04-05  David S. Miller  <davem@davemloft.net>
45946         * scripts/check-local-headers.sh: Accept a host triplet in the
45947         path matched by the exclude regexp.
45949         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45950         definition.
45951         * sysdeps/powerpc/powerpc32/dl-machine.h
45952         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45953         * sysdeps/s390/s390-32/dl-machine.h
45954         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45955         * sysdeps/sparc/sparc32/dl-machine.h
45956         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45957         * sysdeps/sparc/sparc64/dl-machine.h
45958         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45960         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45961         lazy binding.
45962         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45963         undefined symbol errors.
45965         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45966         DT_NEEDED entries.
45968 2012-04-05  Michael Matz  <matz@suse.de>
45970         [BZ #13592]
45971         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45973 2012-04-05  Andreas Jaeger  <aj@suse.de>
45975         [BZ #13908]
45976         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45977         comment.
45979 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45981         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45982         which ROUND is no valid rounding mode.
45984 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45986         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45987         read again.
45988         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45990 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45992         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45993         an exception using FPU order intentionally.
45995 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45997         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45998         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45999         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46000         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46002 2012-04-05  Simon Josefsson  <simon@josefsson.org>
46004         [BZ #12340]
46005         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46006         EINVAL when BUFLEN is too smal.
46008 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46010         [BZ #13553]
46011         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46012         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46014 2012-04-03  Andreas Jaeger  <aj@suse.de>
46016         [BZ #13938]
46017         * manual/setjmp.texi (System V contexts): Fix sentence.
46019         [BZ #13926]
46020         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46021         New macro for this case.
46022         [!__GNUC__] (__bswap_64): New inline function for this case.
46023         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46024         * bits/byteswap.h: Likewise.
46025         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46026         ull, guard with __GLIBC_HAVE_LONG_LONG.
46028         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46029         __GLIBC_HAVE_LONG_LONG.
46031         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46032         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46034 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46036         [BZ #13691]
46037         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46038         inptr and inend, rather than using last_ch.
46040 2012-04-02  David S. Miller  <davem@davemloft.net>
46042         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46043         * stdio-common/printf-parse.h (read_int): Change return type to
46044         'int', return -1 on INT_MAX overflow.
46045         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46046         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
46047         overflows INT_MAX.  Check for overflow of in-format-string precision
46048         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
46049         SIZE_MAX not INT_MAX for integer overflow test.
46050         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46051         skip the construct in the format string but do not record anything.
46052         * stdio-common/bug22.c: Adjust to test both width/prevision
46053         INT_MAX overflow as well as total length INT_MAX overflow.  Check
46054         explicitly for proper errno values.
46056 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46058         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46059         CHAR_MAX.
46060         * string/test-strcmp.c [! WIDE]: Likewise.
46061         * time/tst-mktime2.c: Likewise for INT_MAX.
46062         * string/test-string.h: #include <sys/param.h> for MIN.
46064         * csu/init-first.c (__libc_init_first): Call __ctype_init.
46065         * sysdeps/i386/init-first.c (init): Likewise.
46066         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46067         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46068         * sysdeps/sh/init-first.c (init): Likewise.
46070 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
46072         * po/ru.po: Update from translation team.
46073         * po/vi.po: Likewise.
46075 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46077         * resolv/nss_dns/dns-host.c: Merge copyright years.
46079 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46081         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46082         Optimize memcpy with prefetch if
46083         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
46084         src, dst pointers have unequal 16 byte alignments.
46086 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46088         [BZ #13928]
46089         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46090         from a CNAME entry and return the minimum ttl for the query.
46091         (gaih_getanswer_slice): Likewise.
46093 2012-03-30  Jeff Law  <law@redhat.com>
46095         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46096         due to long keys.
46097         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46098         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46100         * resolv/nss_dns/dns-host.c: Update copyright year.
46102 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
46104         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46105         requests to save a system call.  Fix check that all bytes are sent.
46107         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46108         comments for sendmmsg.
46110 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46112         [BZ #13691]
46113         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46114         with only 1 character between 0x0041 and 0x01b0.
46115         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46116         * wcsmbs/tst-mbsnrtowcs.c: New file.
46118 2012-03-29  David S. Miller  <davem@davemloft.net>
46120         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46121         small copies by hand.
46123 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46125         [BZ #13761]
46126         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46127         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46128         group memberships.
46130 2012-03-28  David S. Miller  <davem@davemloft.net>
46132         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46133         that branches into memcpy.
46134         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46135         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46136         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46137         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46138         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46139         bits.
46140         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46141         implementation too.
46142         * sysdeps/sparc/mempcpy.S: New file.
46144         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46145         the IFUNC routine in the libc case.
46146         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46148         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46149         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46150         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46151         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46152         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46153         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46154         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46155         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46157         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46158         loop to 256 bytes instead of 64 bytes and fix test signedness.
46160         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46161         * sysdeps/sparc/sparc32/Makefile: rather than here...
46162         * sysdeps/sparc/sparc64/Makefile: and here.
46164 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
46166         * malloc/mallocbug.c: Avoid warnings about unused variables.
46168 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46170         [BZ #13760]
46171         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46172         in the right place. Discard and retry query if response is
46173         larger than input buffer size.
46175 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
46177         [BZ #369]
46178         [BZ #2678]
46179         [BZ #3866]
46180         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46181         x for large integer exponent.
46182         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46183         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
46184         sign of result as needed afterwards.
46185         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46186         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46187         result for underflowing pow the same as for overflow.
46188         (__kernel_standard_l): Handle powl overflow and underflow here
46189         rather than calling __kernel_standard.
46190         * math/libm-test.inc (pow_test): Add more tests.
46192         [BZ #3868]
46193         [BZ #13879]
46194         [BZ #13910]
46195         [BZ #13911]
46196         [BZ #13912]
46197         [BZ #13913]
46198         [BZ #13915]
46199         [BZ #13916]
46200         [BZ #13917]
46201         [BZ #13918]
46202         [BZ #13919]
46203         [BZ #13920]
46204         [BZ #13921]
46205         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46206         * sysdeps/ieee754/k_standard.c: Include <float.h>.
46207         (__kernel_standard_l): New function.
46208         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46209         __kernel_standard.
46210         * math/w_acosl.c (__acosl): Likewise.
46211         * math/w_asinl.c (__asinl): Likewise.
46212         * math/w_atan2l.c (__atan2l): Likewise.
46213         * math/w_atanhl.c (__atanhl): Likewise.
46214         * math/w_coshl.c (__coshl): Likewise.
46215         * math/w_exp10l.c (__exp10l): Likewise.
46216         * math/w_exp2l.c (__exp2l): Likewise.
46217         * math/w_fmodl.c (__fmodl): Likewise.
46218         * math/w_hypotl.c (__hypotl): Likewise.
46219         * math/w_j0l.c (__j0l, __y0l): Likewise.
46220         * math/w_j1l.c (__j1l, __y1l): Likewise.
46221         * math/w_jnl.c (__jnl, __ynl): Likewise.
46222         * math/w_lgammal.c (__lgammal): Likewise.
46223         * math/w_log10l.c (__log10l): Likewise.
46224         * math/w_log2l.c (__log2l): Likewise.
46225         * math/w_logl.c (__logl): Likewise.
46226         * math/w_powl.c (__powl): Likewise.
46227         * math/w_remainderl.c (__remainderl): Likewise.
46228         * math/w_scalbl.c (sysv_scalbl): Likewise.
46229         * math/w_sinhl.c (__sinhl): Likewise.
46230         * math/w_sqrtl.c (__sqrtl): Likewise.
46231         * math/w_tgammal.c (__tgammal): Likewise.
46232         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46233         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46234         * math/libm-test.inc (acos_test): Add more tests.
46235         (acosh_test): Likewise.
46236         (asin_test): Likewise.
46237         (atanh_test): Likewise.
46238         (exp_test): Likewise.
46239         (exp10_test): Likewise.
46240         (exp2_test): Likewise.
46241         (expm1_test): Likewise.
46242         (lgamma_test): Likewise.
46243         (log_test): Likewise.
46244         (log10_test): Likewise.
46245         (log1p_test): Likewise.
46246         (log2_test): Likewise.
46247         (pow_test): Do not allow some spurious overflow exceptions.
46248         (sqrt_test): Add more tests.
46249         (tgamma_test): Likewise.
46250         (y0_test): Likewise.
46251         (y1_test): Likewise.
46252         (yn_test): Likewise.
46254 2012-03-27  Anton Blanchard  <anton@samba.org>
46256         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46257         MAP_HUGETLB.
46258         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46259         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46260         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46262 2012-03-27  David S. Miller  <davem@davemloft.net>
46264         * conform/Makefile: Run run-conformtest.sh using $(BASH).
46266         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46267         have-as-vis3 check.
46269 2012-03-27  Andreas Jaeger  <aj@suse.de>
46271         * sysdeps/x86_64/elf/configure.in: Moved to ...
46272         * sysdeps/x86_64/configure.in: ... here.
46273         * sysdeps/x86_64/elf/start.S: Moved to ...
46274         * sysdeps/x86_64/start.S: ... here.
46275         * sysdeps/x86_64/elf/configure: Delete.
46277         * sysdeps/x86_64/configure.in: Merge contents from
46278         sysdeps/i386/configure.in (without i686 check).
46280         * sysdeps/i386/elf/Versions: Merge into ...
46281         * sysdeps/i386/Versions: ... this.
46282         * sysdeps/i386/elf/Versions: Delete file.
46283         * sysdeps/i386/elf/start.S: Moved to ...
46284         * sysdeps/i386/start.S: ...here.
46285         * sysdeps/i386/elf/configure.in: Merge into...
46286         * sysdeps/i386/configure.in: ...here.
46287         * sysdeps/i386/elf/configure.in: Delete file.
46288         * sysdeps/i386/elf/configure: Delete file.
46290         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46291         * debug/backtracesyms.c: ... here.
46292         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46293         * debug/backtracesymsfd.c: ... here.
46294         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46295         * sysdeps/generic/ifunc-sel.h: ... here.
46297         * sysdeps/unix/i386/start.c: Delete file.
46298         * sysdeps/unix/sparc/start.c: Delete file.
46299         * sysdeps/unix/start.c: Delete file.
46301         * sysdeps/sh/elf/configure.in: Moved to ...
46302         * sysdeps/sh/configure.in: ... here.
46303         * sysdeps/sh/elf/start.S: Moved to ...
46304         * sysdeps/sh/start.S: ... here.
46305         * sysdeps/sh/elf/configure: Delete file.
46307         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46308         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46309         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46310         * sysdeps/powerpc/powerpc64/entry.h: ... here.
46311         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46312         * sysdeps/powerpc/powerpc64/start.S: here.
46313         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46314         * sysdeps/powerpc/powerpc64/Makefile: ... this.
46315         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46316         * sysdeps/powerpc/powerpc64/configure.in: ... this.
46317         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46319         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46320         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46321         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46322         * sysdeps/powerpc/powerpc32/start.S: ... here.
46323         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46324         * sysdeps/powerpc/powerpc32/configure.in: ... this.
46325         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46327         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46328         * sysdeps/powerpc/ifunc-sel.h: ... here.
46329         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46330         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46332         * sysdeps/sparc/elf/configure.in: Moved to ...
46333         * sysdeps/sparc/configure.in: ... here.
46334         * sysdeps/sparc/elf/configure: Delete file.
46335         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46336         * sysdeps/sparc/sparc32/start.S: ... here.
46337         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46338         * sysdeps/sparc/sparc64/start.S: ... here.
46339         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46340         * sysdeps/sparc/sparc32/Makefile: ... this.
46341         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46342         * sysdeps/sparc/sparc64/Makefile: ... this.
46344         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46345         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46346         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46347         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46348         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46349         * sysdeps/s390/s390-32/setjmp.S: ... here.
46350         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46351         * sysdeps/s390/s390-32/configure.in: ... here.
46352         * sysdeps/s390/s390-32/elf/configure: Delete file.
46353         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46354         * sysdeps/s390/s390-32/start.S: ... here.
46356         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46357         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46358         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46359         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46360         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46361         * sysdeps/s390/s390-64/setjmp.S: ... here.
46362         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46363         * sysdeps/s390/s390-64/configure.in: ... here
46364         * sysdeps/s390/s390-64/elf/configure: Delete file.
46365         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46366         * sysdeps/s390/s390-64/start.S: ... here.
46367         * sysdeps/s390/s390-64/elf/configure: Delete.
46369         * configure.in: Remove support for elf directories in sysdeps.
46371         * configure: Regenerated.
46372         * sysdeps/i386/configure: Regenerated.
46373         * sysdeps/powerpc/powerpc32/configure: Regenerated.
46374         * sysdeps/powerpc/powerpc64/configure: Regenerated.
46375         * sysdeps/s390/s390-32/configure: Regenerated.
46376         * sysdeps/s390/s390-64/configure: Regenerated.
46377         * sysdeps/sh/configure: Regenerated.
46378         * sysdeps/sparc/configure: Regenerated.
46379         * sysdeps/x86_64/configure: Regenerated.
46381 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
46383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46385         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46386         denormal result into account.
46388 2012-03-25  Roland McGrath  <roland@hack.frob.com>
46390         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46391         Reported by Allan McRae <allan@archlinux.org>.
46393 2012-03-23  Jeff Law  <law@redhat.com>
46395         * nss/getnssent.c (__nss_getent): Fix typo.
46397 2012-03-23  David S. Miller  <davem@davemloft.net>
46399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46401 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
46403         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46404         to pad to uint64_t for each field.
46405         (dl_tls_index): Replace unsigned long with uint64_t.
46407 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
46408         Paul Pluzhnikov  <ppluzhnikov@google.com>
46410         [BZ #6528]
46411         * grp/Makefile (otherlibs): Don't set it.
46412         * inet/Makefile (otherlibs): Likewise.
46413         * login/Makefile (otherlibs): Likewise.
46414         * nscd/Makefile (otherlibs): Likewise.
46415         * posix/Makefile (otherlibs): Likewise.
46416         * pwd/Makefile (otherlibs): Likewise.
46417         * rt/Makefile (otherlibs): Likewise.
46418         * sunrpc/Makefile (otherlibs): Likewise.
46419         * nss/Makefile (otherlibs): Likewise.
46420         Add libnss_files to routines and static-only-routines.
46421         ($(objpfx)getent): Remove rule.
46422         * resolv/Makefile: Add libnss_dns and libresolv to routines and
46423         static-only-routines.
46425 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
46427         [BZ #13892]
46428         * math/s_cexp.c: Include <float.h>.
46429         (__cexp): Handle exp result overflowing not necessarily
46430         overflowing both real and imaginary parts of result.
46431         * math/s_cexpf.c: Likewise.
46432         * math/s_cexpl.c: Likewise.
46433         * math/libm-test.inc (cexp_test): Add more tests.
46434         * sysdeps/i386/fpu/libm-test-ulps: Update.
46435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46437 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46439         * include/link.h (ELFW): New macro.
46440         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46441         Replace ELF64_R_TYPE with ELFW(R_TYPE).
46443 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46445         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46446         with uint64_t.
46448 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46450         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46451         declaration.
46452         (struct La_x32_retval): Likewise.
46454 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46456         * sysdeps/x86_64/preconfigure.in: New file.
46457         * sysdeps/x86_64/preconfigure: New generated file.
46459 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
46461         [BZ #13824]
46462         * math/e_exp2l.c: Include <float.h>.
46463         (__ieee754_exp2l): Handle overflow and underflow cases
46464         separately.  Only pass fractional part of argument to
46465         __ieee754_expl.
46466         * math/libm-test.inc (exp2_test): Add more tests.
46468         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46469         negating x to take absolute value.
46470         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46471         Likewise.
46472         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46473         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46474         Likewise.
46475         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46476         computing low part if x was negated.
46477         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46479 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46481         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46482         la_x32_gnu_pltexit.
46483         (pltexit): Cast int_retval to ptrdiff_t.
46484         * elf/tst-auditmod3b.c: Likewise.
46485         * elf/tst-auditmod4b.c: Likewise.
46486         * elf/tst-auditmod5b.c: Likewise.
46487         * elf/tst-auditmod6b.c: Likewise.
46488         * elf/tst-auditmod6c.c: Likewise.
46489         * elf/tst-auditmod7b.c: Likewise.
46491         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46492         and x32_gnu_pltexit.
46494         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46495         __ELF_NATIVE_CLASS.
46496         (La_x32_regs): New macro.
46497         (La_x32_retval): Likewise.
46498         (la_x32_gnu_pltenter): New function prototype.
46499         (la_x32_gnu_pltexit): Likewise.
46501 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
46503         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46504         exponent.
46506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46508         * configure.in (libc_cv_cc_nofma): Check for option to disable
46509         generation of FMA instructions.
46510         * configure: Regenerate.
46511         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46512         * sysdeps/ieee754/dbl-64/Makefile: New file.
46513         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46514         Remove brandred-fma4.
46515         (CFLAGS-brandred-fma4.c): Remove.
46516         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46517         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46518         define.
46519         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46520         define.
46522 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46524         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46525         LLONG_MAX != LONG_MAX.
46526         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46527         (_fitoa_word): Likewise.
46528         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46529         LLONG_MAX != LONG_MAX.
46530         * stdio-common/_itowa.h: Include <_itoa.h>.
46531         (_itowa_word): Use _ITOA_WORD_TYPE on value.
46532         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
46533         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
46534         only if not defined.
46535         (_ITOA_WORD_TYPE): Likewise.
46536         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46537         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46539 2012-03-21  David S. Miller  <davem@davemloft.net>
46541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46543 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46545         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46546         of x86_64 when setting libc_cv_slibdir, libdir and
46547         libc_cv_localedir.
46548         * sysdeps/unix/sysv/linux/configure: Regenerated.
46550 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46552         * manual/lang.texi (Old Varargs): Remove section.
46553         (How Variadic): Update menu.
46554         (va_start): Do not mention varargs.h.
46556 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46557             Joseph Myers  <joseph@codesourcery.com>
46559         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46560         link test.
46561         * configure: Regenerated.
46563 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46565         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46566         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46567         conformtest.pl
46569 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46571         * NOTES: Remove.
46572         * Makefile (files-for-dist): Remove NOTES.
46573         (NOTES): Remove rule.
46574         * README: Don't refer to NOTES.
46575         * manual/creature.texi: Don't include macros.texi.
46576         * manual/intro.texi (creature.texi): Remove comment referring to
46577         NOTES.
46579         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46580         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46581         * configure: Regenerated.
46582         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46583         LIBC_TRY_CC_OPTION.
46584         (libc_cv_as_i686): Likewise.
46585         (libc_cv_cc_avx): Likewise.
46586         (libc_cv_cc_sse2avx): Likewise.
46587         (libc_cv_cc_fma4): Likewise.
46588         (libc_cv_cc_novzeroupper): Likewise.
46589         * sysdeps/i386/configure: Regenerated.
46591         [BZ #13883]
46592         * sysdeps/i386/fpu/s_cexp.S: Remove.
46593         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46594         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46595         * math/libm-test.inc (cexp_test): Add more tests.
46596         * sysdeps/i386/fpu/libm-test-ulps: Update.
46597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46599 2012-03-21  Allan McRae  <allan@archlinux.org>
46601         * timezone/Makefile: Do not install iso3166.tab and zone.tab
46603 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46605         [BZ #13871]
46606         * math/w_exp2.c: Do not include <float.h>.
46607         (o_threshold, u_threshold): Remove.
46608         (__exp2): Calculate result before checking finiteness and calling
46609         __kernel_standard.
46610         * math/w_exp2f.c: Likewise.
46611         * math/w_exp2l.c: Likewise.
46612         * math/libm-test.inc (exp2_test): Require overflow exception for
46613         1e6 input.
46615         [BZ #3866]
46616         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46617         range of signed 64-bit integers before using fistpll.  Remove
46618         checks for whether integers fit in mantissa bits.
46619         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46620         the range of signed 32-bit integers before using fistpl.  Remove
46621         checks for whether integers fit in mantissa bits.
46622         * sysdeps/i386/fpu/e_powl.S (p64): New object.
46623         (__ieee754_powl): Test for y outside the range of signed 64-bit
46624         integers before using fistpll.  Reduce 64-bit values to 63-bit
46625         ones as needed.
46626         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46627         divide-by-zero is raised for zero to large negative powers.
46628         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46629         (__ieee754_powl): Test for y outside the range of signed 64-bit
46630         integers before using fistpll.  Reduce 64-bit values to 63-bit
46631         ones as needed.
46632         * math/libm-test.inc (pow_test): Add more tests.
46634 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46636         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46637         <stdio-common/_itoa.h>.
46638         * debug/segfault.c: Likewise.
46639         * elf/dl-cache.c: Likewise.
46640         * elf/dl-minimal.c: Likewise.
46641         * elf/dl-misc.c: Likewise.
46642         * elf/dl-sysdep.c: Likewise.
46643         * elf/dl-version.c: Likewise.
46644         * elf/rtld.c: Likewise.
46645         * hurd/hurdsock.c: Likewise.
46646         * hurd/lookup-retry.c: Likewise.
46647         * malloc/malloc.c: Likewise.
46648         * malloc/mtrace.c: Likewise.
46649         * nscd/nscd_getgr_r.c: Likewise.
46650         * nscd/nscd_getpw_r.c: Likewise.
46651         * nscd/nscd_getserv_r.c: Likewise.
46652         * posix/getopt_init.c: Likewise.
46653         * posix/wordexp.c: Likewise.
46654         * stdio-common/_itoa.c: Likewise.
46655         * stdio-common/printf_fphex.c: Likewise.
46656         * stdio-common/vfprintf.c: Likewise.
46657         * string/_strerror.c: Likewise.
46658         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46659         * sysdeps/i386/i686/hp-timing.h: Likewise.
46660         * sysdeps/mach/_strerror.c: Likewise.
46661         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46662         * sysdeps/mach/hurd/sethostid.c: Likewise.
46663         * sysdeps/mach/hurd/xmknodat.c: Likewise.
46664         * sysdeps/mach/xpg-strerror.c: Likewise.
46665         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46666         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46667         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46668         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46669         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46670         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46671         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46672         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46673         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46674         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46675         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46676         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46677         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46678         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46679         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46680         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46681         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46682         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46683         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46684         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46685         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46687         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46689         * stdio-common/_itoa.h: Moved to ...
46690         * sysdeps/generic/_itoa.h: Here.
46692         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46694         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46695         instead of "_itoa.h" and "_itowa.h".
46696         * stdio-common/vfprintf.: Likewise.
46698 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46700         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46701         <bits/wordsize.h>.
46702         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46703         (__signbit): Likwise.
46704         (llrintf): Likwise.
46705         (llrint): Likwise.
46707 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46709         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46710         __WORDSIZE != 64.
46712 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
46714         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46715         OVERFLOW_EXCEPTION_OK.
46716         * math/libm-test.inc ("Philosophy"): Update comment about
46717         exception testing.
46718         (OVERFLOW_EXCEPTION): Define.
46719         (OVERFLOW_EXCEPTION_OK): Likewise.
46720         (INVALID_EXCEPTION_OK): Renumber.
46721         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46722         (IGNORE_ZERO_INF_SIGN): Likewise.
46723         (test_exceptions): Handle FE_OVERFLOW.
46724         (exp10_test): Expect overflow exceptions.
46725         (exp2_test): Likewise.
46726         (expm1_test): Likewise.
46727         (nextafter_test): Likewise.
46728         (pow_test): Likewise.
46729         (scalbn_test): Likewise.
46730         (scalbln_test): Likewise.
46732 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46734         * sysdeps/x86_64/bits/atomic.h
46735         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46736         64bit integer.
46737         (atomic_exchange_acq): Likewise.
46738         (__arch_exchange_and_add_body): Likewise.
46739         (__arch_add_body): Likewise.
46740         (atomic_add_negative): Likewise.
46741         (atomic_add_zero): Likewise.
46743 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46745         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46746         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46748 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46750         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46751         Check __x86_64__ instead of __WORDSIZE.
46753 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46755         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46757 2012-03-19  David S. Miller  <davem@davemloft.net>
46759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46761         * sysdeps/sparc/fpu/fenv_private.h: New file.
46762         * sysdeps/sparc/fpu/math_private.h: Use it.
46763         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46764         Remove.
46765         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46766         (libc_feholdexcept_setroundl): Remove.
46767         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46768         Remove.
46769         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46770         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46772 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46774         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46775         int64_t instead of long int.
46776         (INSERT_WORDS64): Likwise.
46778 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46780         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46781         _Unwind_GetCFA return to _Unwind_Ptr first.
46783 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
46785         [BZ #13629]
46786         * math/s_clog.c: Include <float.h>.
46787         (__clog): Scale large or subnormal inputs.
46788         * math/s_clogf.c: Likewise.
46789         * math/s_clogl.c: Likewise.
46790         * math/s_clog10.c: Include <float.h>.
46791         (M_LOG10_2): Define.
46792         (__clog10): Scale large or subnormal inputs.
46793         * math/s_clog10f.c: Likewise.
46794         * math/s_clog10l.c: Likewise.
46795         * math/libm-test.inc (clog_test): Add more tests.
46796         (clog10_test): Likewise.
46797         * sysdeps/i386/fpu/libm-test-ulps: Update.
46798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46800         [BZ #11451]
46801         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46802         x and y.
46803         * math/libm-test.inc (atan2_test): Add another test.
46805         * Makerules (common-objdir-compile): Remove.
46806         * sysdeps/unix/Makefile (config-generated): Do not add
46807         $(unix-generated) to variable.
46808         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46809         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46810         Remove rule.
46811         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46812         Likewise.
46813         [generic bits/local_lim.h] (before-compile): Do not append to
46814         variable.
46815         [generic bits/local_lim.h] (common-generated): Likewise.
46816         [generic sys/param.h] (before-compile): Do not append to variable.
46817         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46818         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46819         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46820         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46821         include.
46822         [generic sys/param.h] (sys/param.h-includes): Remove variable.
46823         [generic sys/param.h] (sys/param.h-includes): Remove rule.
46824         [generic sys/param.h] ($(addprefix
46825         $(common-objpfx),$(sys/param.h-includes))): Likewise.
46826         [generic sys/param.h] (common-generated): Do not append to
46827         variable.
46828         [generic sys/param.h] (sysdep_headers): Likewise.
46829         [generic bits/errno.h] (before-compile): Do not append to
46830         variable.
46831         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46832         rule.
46833         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46834         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46835         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46836         [generic bits/errno.h] (common-generated): Do not append to
46837         variable.
46838         [generic bits/ioctls.h] (before-compile): Do not append to
46839         variable.
46840         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46841         rule.
46842         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46843         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46844         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46845         rule.
46846         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46847         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46848         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46849         [generic bits/ioctls.h] (common-generated): Do not append to
46850         variable.
46851         [generic sys/syscall.h] (syscall.h): Remove variable.
46852         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46853         rule.
46854         [generic sys/syscall.h] (before-compile): Do not append to
46855         variable.
46856         [generic sys/syscall.h] (common-generated): Likewise.
46857         * sysdeps/unix/errnos-tmpl.c: Remove file.
46858         * sysdeps/unix/errnos.awk: Likewise.
46859         * sysdeps/unix/ioctls-tmpl.c: Likewise.
46860         * sysdeps/unix/ioctls.awk: Likewise.
46861         * sysdeps/unix/mk-local_lim.c: Likewise.
46862         * sysdeps/unix/snarf-ioctls: Likewise.
46864 2012-03-19  Richard Henderson  <rth@twiddle.net>
46866         * sysdeps/i386/fpu/fenv_private.h: New file.
46867         * sysdeps/i386/fpu/math_private.h: Use it.
46868         (math_opt_barrier, math_force_eval): Remove.
46869         (libc_feholdexcept_setround_53bit): Remove.
46870         (libc_feupdateenv_53bit): Remove.
46871         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46872         (math_opt_barrier, math_force_eval): Remove.
46873         (libc_feholdexcept): Remove.
46874         (libc_feholdexcept_setround): Remove.
46875         (libc_fetestexcept, libc_fesetenv): Remove.
46876         (libc_feupdateenv_test): Remove.
46877         (libc_feupdateenv, libc_feholdsetround): Remove.
46878         (libc_feresetround): Remove.
46880         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46881         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46883         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46884         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46885         (libc_feupdateenv_testl): New.
46886         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46887         (libc_feupdateenv_testf): New.
46888         (libc_feupdateenv): Use libc_feupdateenv_test.
46889         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46890         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46892         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46893         (libc_feholdsetroundf, libc_feholdsetroundl): New.
46894         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46895         (libc_feresetround_noex): New.
46896         (libc_feresetround_noexf): New.
46897         (libc_feresetround_noexl): New.
46898         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46899         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46900         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46901         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46902         SET_RESTORE_ROUND.
46903         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46904         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46905         (__cos): Likewise.
46906         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46907         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46908         SET_RESTORE_ROUND_NOEX.
46909         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46910         SET_RESTORE_ROUND_NOEXF.
46911         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46912         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46913         (libc_feholdsetroundf): New.
46914         (libc_feresetround, libc_feresetroundf): New.
46916         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46917         (libc_feholdexcept_setround_53bit): Convert from macro to function.
46918         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
46920         * sysdeps/generic/math_private.h: Include <fenv.h>.
46921         (default_libc_feholdexcept): New.
46922         (default_libc_feholdexcept_setround): New.
46923         (default_libc_fesetenv, default_libc_feupdateenv): New.
46924         (libc_feholdexcept): Only define if undefined.
46925         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46926         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46927         (libc_feholdexcept_setroundl): Likewise.
46928         (libc_feholdexcept_setround_53bit): Likewise.
46929         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46930         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46931         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46932         (libc_feupdateenv_53bit): Likewise.
46933         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46934         (libc_feholdexcept): Convert from macro to inline function.
46935         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46936         (libc_fesetenv, libc_feupdateenv): Likewise.
46938         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46939         not previously defined.
46940         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46941         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46942         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46943         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46944         * sysdeps/ieee754/flt-32/math_private.h: New file.
46945         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46946         math_private.h below SET_FLOAT_WORD.
46947         (__isnan, __isinf_ns, __finite): Remove.
46948         (__isnanf, __isinf_nsf, __finitef): Remove.
46950 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
46952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46954 2012-03-17  David S. Miller  <davem@davemloft.net>
46956         [BZ #6471]
46957         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46958         for 2.16.
46960 2012-03-16  David S. Miller  <davem@davemloft.net>
46962         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46963         warnings.
46965         [BZ #6471]
46966         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46967         properly.
46968         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46969         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46970         sysdep_routines when subdir is sysvipc.
46971         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46972         __getshmlba helper.
46974         * sysdeps/sparc/fpu/libm-test/ulps: Update.
46976 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46978         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46979         [__LP64__].
46981 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46983         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46984         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46985         (__lround): Renamed to ...
46986         (__llround): This.  Replace long int with long long int.
46987         Define lround functions as aliases of llround functions.
46988         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46990 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46992         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46993         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
46994         adresses to uintptr_t.  Replace "long int" and "unsigned long
46995         int" with "greg_t" on va_arg.
46997 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46999         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47000         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47002         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47003         Move e_machine check before EI_CLASS check.  Handle x32
47004         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47005         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47006         SKIP_EM_IA_64 and include
47007         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47009         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47010         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47011         (add_system_dir): New macro.
47013         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47014         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47016 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47018         [BZ #2551]
47019         [BZ #2552]
47020         [BZ #2553]
47021         [BZ #2554]
47022         [BZ #2562]
47023         [BZ #2563]
47024         [BZ #2565]
47025         [BZ #2566]
47026         [BZ #2576]
47027         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47028         (y0): Likewise.
47029         * math/w_j0f.c (j0f): Likewise.
47030         (y0f): Likewise.
47031         * math/w_j0l.c (__j0l): Likewise.
47032         (__y0l): Likewise.
47033         * math/w_j1.c (j1): Likewise.
47034         (y1): Likewise.
47035         * math/w_j1f.c (j1f): Likewise.
47036         (y1f): Likewise.
47037         * math/w_j1l.c (__j1l): Likewise.
47038         (__y1l): Likewise.
47039         * math/w_jn.c (jn): Likewise.
47040         (yn): Likewise.
47041         * math/w_jnf.c (jnf): Likewise.
47042         (ynf): Likewise.
47043         * math/w_jnl.c (__jnl): Likewise.
47044         (__ynl): Likewise.
47045         * math/libm-test.inc (j0_test): Add more tests.
47046         (j1_test): Likewise.
47047         (jn_test): Likewise.  Add trailing semicolon to existing test.
47048         (y0_test): Likewise.
47049         (y1_test): Likewise.
47050         * sysdeps/i386/fpu/libm-test-ulps: Update.
47051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47053         [BZ #13851]
47054         [BZ #13854]
47055         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47056         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47057         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47058         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47059         (__tanl): Set errno for infinite argument.
47060         * sysdeps/i386/fpu/mptan.c: Remove.
47061         * sysdeps/i386/fpu/s_tan.S: Likewise.
47062         * sysdeps/i386/fpu/s_tanl.S: Likewise.
47063         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47064         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47065         * math/libm-test.inc (tan_test): Add more tests and enable more
47066         tests for double and long double.
47067         * sysdeps/i386/fpu/libm-test-ulps: Update.
47068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47070 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
47072         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47073         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47075 2012-03-16  Roland McGrath  <roland@hack.frob.com>
47077         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47078         * configure.in: Use it for both main tree and add-ons.
47079         * configure: Regenerated.
47081 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47083         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47085 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47087         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47088         in comment.
47090         [BZ #13851]
47091         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47092         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47093         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47094         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47095         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47096         infinite argument.
47097         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47098         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47099         != 0 for prec == 2.
47100         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47101         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47102         * sysdeps/i386/fpu/s_cosl.S: Likewise.
47103         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47104         * sysdeps/i386/fpu/s_sinl.S: Likewise.
47105         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47106         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47107         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47108         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47109         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47110         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47111         * math/libm-test.inc (cos_test): Add more tests and enable more
47112         tests for long double.
47113         (sin_test): Likewise.
47114         (sincos_test): Likewise.
47115         * sysdeps/i386/fpu/libm-test-ulps: Update.
47116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47118 2012-03-16  David S. Miller  <davem@davemloft.net>
47120         * sysdeps/sparc/fpu/math_private.h: New file.
47122 2012-03-15  David S. Miller  <davem@davemloft.net>
47124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47125         file.
47126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47128         file.
47129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47132         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47134         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47135         sysdep routines.
47136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47138         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47139         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47141         * sysdeps/sparc/sparc-ifunc.h: New file.
47142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47143         sparc-ifunc.h
47144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47146         Likewise.
47147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47148         Likewise.
47149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47153         Likewise.
47154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47159         Likewise.
47160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47161         Likewise.
47162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47166         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47167         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47168         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47169         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47170         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47173         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47175         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47176         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47177         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47178         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47179         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47180         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47181         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47182         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47183         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47184         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47185         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47187 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47189         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47190         scaling.
47191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47193 2012-03-15  Andreas Jaeger  <aj@suse.de>
47195         [BZ #13852]
47196         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47197         ieee754/flt-32 implementation for sin, cos and sincos.
47198         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47199         * sysdeps/i386/fpu/s_cosf.S: Likewise.
47200         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47201         * sysdeps/i386/fpu/s_sinf.S: Likewise.
47202         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47203         ieee754/flt-32 implementation for tan.
47205         * math/libm-test.inc (cos_test): Enable some large input tests for
47206         float as well
47207         (sin_test): Likewise.
47208         (sincos_test): Likewise.
47209         (tan_test): Add tests for large input.
47211         * sysdeps/i386/fpu/libm-test-ulps: Update.
47213 2012-03-15  Andreas Jaeger  <aj@suse.de>
47215         [BZ #13658]
47216         * math/libm-test.inc (cos_test): Add more test cases.
47217         (sin_test): Likewise.
47218         (sincos_test): Likewise.
47220 2012-03-15  Andreas Jaeger  <aj@suse.de>
47222         [BZ #13837]
47223         * math/libm-test.inc (cos_test): Add a test case for large input
47224         value.
47225         (sin_test): Likewise.
47226         (sincos_test): Likewise.
47228 2012-03-15  Andreas Jaeger  <aj@suse.de>
47229             Joseph Myers  <joseph@codesourcery.com>
47231         [BZ #13658]
47232         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47233         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47234         * sysdeps/i386/fpu/branred.c: Likewise.
47235         * sysdeps/i386/fpu/dosincos.c: Likewise.
47236         * sysdeps/i386/fpu/mpa.c: Likewise.
47237         * sysdeps/i386/fpu/s_cos.S: Likewise.
47238         * sysdeps/i386/fpu/s_sin.S: Likewise.
47239         * sysdeps/i386/fpu/s_sincos.S: Likewise.
47240         * sysdeps/i386/fpu/sincos32.c: Likewise.
47242         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47243         Define.
47244         (libc_feupdateenv_53bit): Define.
47245         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47246         Define.
47247         (libc_feupdateenv_53bit): Define.
47249         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47250         53 bit (without extend i386 double precision).
47252         * math/libm-test.inc (sincos_test): Add tests for large input.
47253         (sin): Likewise.
47254         (cos): Likewise.
47256         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47258 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47262 2012-03-15  David S. Miller  <davem@davemloft.net>
47264         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47265         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47266         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47267         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47278         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47280         file.
47281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47283         file.
47284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47286         file.
47287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47289         file.
47290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47291         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47292         fmin/fmax sysdep routines.
47293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47295 2012-03-14  David S. Miller  <davem@davemloft.net>
47297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47299         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47300         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47301         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47302         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47303         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47304         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47306         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47307         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47312         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47313         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47314         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47315         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47316         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47317         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47318         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47319         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47320         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47321         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47322         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47323         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47324         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47325         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47326         routines.
47327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47328         file.
47329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47331         file.
47332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47334         file.
47335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47337         file.
47338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47340         file.
47341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47343         file.
47344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47345         file.
47346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47347         file.
47348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47349         file.
47350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47351         New file.
47352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47353         file.
47354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47355         file.
47356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47358         file.
47359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47361         file.
47362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47364         file.
47365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47367         VIS3 routines.
47369         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47370         New file.
47372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47374         * sysdeps/sparc/configure.in: New file.
47375         * sysdeps/sparc/configure: Generate.
47376         * configure.in (libc_cv_sparc_as_vis3): Substitute.
47377         * configure: Regenerate.
47378         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47379         * config.make.in (have-as-vis3): New.
47380         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47381         available use -Av9d instead of -Av9a.
47382         * sysdeps/sparc/sparc64/Makefile: Likewise.
47383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47385         New file.
47386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47387         file.
47388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47389         New file.
47390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47391         file.
47392         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47393         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47394         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47395         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47396         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47398         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47399         fzeros/fnegs to load 0x80000000 into a float register instead of
47400         using the stack.
47401         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47403 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
47405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47406         bits/syscall.h.
47407         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47408         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47409         ($(inst_includedir)/bits/syscall.h): Remove rule.
47410         ($(objpfx)bits/syscall.d): Include instead of
47411         $(objpfx)syscall-list.d.
47412         (generated): Change syscall-list.h and syscall-list.d to
47413         bits/syscall.h and bits/syscall.d.
47415 2012-03-14  Roland McGrath  <roland@hack.frob.com>
47417         [BZ #13846]
47418         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47420 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
47422         [BZ #13841]
47423         * math/s_csqrt.c: Include <float.h>.
47424         (__csqrt): Scale large or subnormal inputs.
47425         * math/s_csqrtf.c: Likewise.
47426         * math/s_csqrtl.c: Likewise.
47427         * math/libm-test.inc (csqrt_test): Add more tests.
47428         * sysdeps/i386/fpu/libm-test-ulps: Update.
47429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47431         [BZ #13840]
47432         * math/libm-test.inc (hypot_test): Add more tests.
47434 2012-03-13  David S. Miller  <davem@davemloft.net>
47436         [BZ #13840]
47437         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47438         double-precision for the calculation instead of scaling.
47440 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
47442         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47443         manipulate bits before adding and subtracting TWO52[sx].
47444         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47445         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47446         Likewise.
47447         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47449 2012-03-13  David S. Miller  <davem@davemloft.net>
47451         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47452         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47453         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47454         rtld-global-offsets.h
47455         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47457         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47458         large parameters.
47460         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47462         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47463         'err' in the ifdef scope in which it is actually used.
47465         * nss/nss_db/db-init.c: Include string.h
47467 2012-03-12  David S. Miller  <davem@davemloft.net>
47469         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47470         masking out of the most significant byte of random value used.
47471         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47472         Fix coding style in previous change.
47474         * sysdeps/unix/sysv/linux/kernel-features.h
47475         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47476         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47477         expression.
47478         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47479         later.
47481 2012-03-11  David S. Miller  <davem@davemloft.net>
47483         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47484         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47485         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47486         for 'resultvar' otherwise things get truncated on 64-bit.
47488         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47489         Fix masking out of the most significant byte of random value used.
47491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47493 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
47495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47497 2012-03-09  David S. Miller  <davem@davemloft.net>
47499         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47500         variables with appropriate CPP guards.
47501         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47502         from the frame pointer, not the stack pointer.  Correct layout
47503         comments.  Fix test on resulting framesize and the management of
47504         the outregs buffer for pltexit.  Preserve floating point return
47505         values across _dl_call_pltexit call.
47506         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47507         framesize and the management of the outregs buffer for pltexit.
47508         Preserve floating point return values across _dl_call_pltexit
47509         call.
47510         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47511         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47512         (la_sparc64_gnu_pltexit): New functions.
47513         (print_exit): Fix format string for return register value.
47515 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
47517         * sunrpc/Makefile (others): Add rpcgen.
47518         ($(objpfx)rpcgen): Remove special build rule and dependency on
47519         libc.
47520         * sunrpc/rpcgen.c: New file.
47522 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
47524         [BZ #13673]
47525         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47526         * stdio-common/bug-vfprintf-nargs.c: Likewise.
47527         * sysdeps/i386/crti.S: Likewise.
47528         * sysdeps/i386/crtn.S: Likewise.
47529         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47530         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47531         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47532         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47533         * sysdeps/sh/crti.S: Likewise.
47534         * sysdeps/sh/crtn.S: Likewise.
47535         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47537         [BZ #13673]
47538         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47539         with URL.
47540         * locale/programs/locfile-kw.gperf: Likewise.
47541         * locale/programs/charmap-kw.h: Regenerated.
47542         * locale/programs/locfile-kw.h: Likewise.
47544         [BZ #13673]
47545         * intl/plural.y: Replace FSF snail mail address with URL.
47546         * intl/plural.c: Regenerated.
47548 2012-03-09  Richard Henderson  <rth@twiddle.net>
47550         * include/math_private.h: Remove file.
47551         * math/math_private.h: Move file ...
47552         * sysdeps/generic/math_private.h: ... here.
47554         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47555         * sysdeps/powerpc/fpu/math_private.h: Likewise.
47556         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47558         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47559         and <math_private.h>.
47560         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47561         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47562         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47563         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47564         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47565         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47566         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47567         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47568         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47569         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47570         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47571         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47572         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47573         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47574         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47575         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47576         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47577         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47578         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47579         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47580         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47581         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47582         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47583         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47584         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47585         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47586         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47587         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47588         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47589         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47590         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47591         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47592         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47593         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47594         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47595         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47596         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47597         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47598         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47599         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47600         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47601         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47602         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47603         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47604         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47605         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47606         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47607         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47608         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47609         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47610         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47611         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47612         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47613         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47614         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47615         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47616         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47617         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47618         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47619         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47620         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47621         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47622         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47623         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47624         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47625         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47626         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47627         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47628         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47629         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47630         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47631         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47632         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47633         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47634         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47635         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47636         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47637         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47638         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47639         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47640         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47641         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47642         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47643         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47644         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47645         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47646         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47647         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47648         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47649         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47650         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47651         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47652         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47653         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47654         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47655         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47656         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47657         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47658         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47659         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47660         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47661         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47662         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47663         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47664         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47665         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47666         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47667         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47668         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47669         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47670         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47671         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47672         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47673         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47674         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47675         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47676         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47677         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47678         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47679         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47680         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47681         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47682         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47683         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47684         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47685         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47686         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47687         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47688         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47689         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47690         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47691         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47692         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47693         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47694         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47695         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47696         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47697         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47698         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47699         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47700         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47701         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47702         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47703         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47704         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47705         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47706         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47707         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47708         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47709         * sysdeps/ieee754/k_standard.c: Likewise.
47710         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47711         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47712         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47713         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47714         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47715         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47716         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47717         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47718         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47719         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47720         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47721         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47722         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47723         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47724         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47725         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47726         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47727         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47728         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47729         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47730         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47731         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47732         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47733         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47734         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47735         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47736         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47737         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47738         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47739         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47740         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47741         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47742         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47743         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47744         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47745         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47746         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47747         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47748         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47749         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47750         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47751         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47752         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47753         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47754         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47755         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47756         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47757         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47758         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47759         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47760         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47761         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47762         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47763         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47764         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47765         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47766         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47767         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47768         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47769         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47770         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47771         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47772         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47773         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47774         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47775         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47776         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47777         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47778         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47779         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47780         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47781         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47782         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47783         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47784         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47785         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47786         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47787         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47788         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47789         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47790         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47791         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47792         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47793         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47794         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47795         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47796         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47797         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47798         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47799         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47800         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47801         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47802         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47803         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47804         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47805         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47806         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47807         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47808         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47809         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47810         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47811         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47812         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47813         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47814         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47815         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47816         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47817         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47818         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47819         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47820         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47821         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47822         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47823         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47824         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47825         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47826         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47827         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47828         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47829         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47830         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47831         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47832         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47833         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47834         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47835         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47836         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47837         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47838         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47839         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47840         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47841         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47842         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47843         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47844         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47845         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47846         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47847         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47848         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47849         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47850         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47851         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47852         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47853         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47854         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47855         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47856         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47857         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47858         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47859         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47860         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47861         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47862         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47863         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47864         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47865         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47866         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47867         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47868         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47869         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47870         * sysdeps/ieee754/s_lib_version.c: Likewise.
47871         * sysdeps/ieee754/s_matherr.c: Likewise.
47872         * sysdeps/ieee754/s_signgam.c: Likewise.
47873         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47874         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47875         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47876         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47877         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47878         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47879         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47880         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47881         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47882         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47883         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47884         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47885         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47886         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47887         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47888         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47889         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47890         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47891         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47892         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47893         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47895 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47897         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47898         * sunrpc/rpc_main.c: Likewise.
47899         * sunrpc/rpc_svcout.c: Likewise.
47901 2012-03-09  David S. Miller  <davem@davemloft.net>
47903         * include/math_private.h: New file.
47905 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47907         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47908         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47909         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47910         from <bits/socket_type.h>.
47911         (enum __socket_type): Don't define here.
47912         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47913         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47914         bits/socket_type.h.
47916         [BZ #13566]
47917         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47918         checking __USE_GNU.
47920         * Makerules ($(inst_includedir)/%.h): New rule.
47921         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47922         (install-others): Remove variable setting.
47923         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47925 2012-03-08  Richard Henderson  <rth@twiddle.net>
47927         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47928         from macro to inline function; merge with the
47929         !__LIBC_INTERNAL_MATH_INLINES version.
47930         (__ieee754_sqrtf): Likewise.
47932         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47933         to inline function.
47934         (__rintf, __floor, __floorf): Likewise.
47936         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47937         macro to inline function.
47938         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47940         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47941         not <math/math_private.h>.
47943 2012-03-08  David S. Miller  <davem@davemloft.net>
47945         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47946         copyright year.
47947         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47949 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
47951         * resolv/gai_misc.c (handle_requests): Fix struct timespec
47952         normalization.
47953         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47954         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47956 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
47958         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
47959         be defined individually, they must be defined as a block.  Define
47960         S for printing a string instead of hidint the different by using a
47961         macro for adding the 'l'.
47962         * stdio-common/tst-fphex-wide.c: Adjust.
47964 2012-03-07  Marek Polacek  <polacek@redhat.com>
47966         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47968 2012-03-08  Marek Polacek  <polacek@redhat.com>
47970         [BZ #13806]
47971         * stdio-common/Makefile (tests): Add tst-fphex-wide.
47972         * stdio-common/tst-fphex.c: Define a few macros to make the
47973         test reusable.  Use them.
47974         * stdio-common/tst-fphex-wide.c: New file.
47976 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
47978         [BZ #6911]
47979         * manual/macros.texi (gnusystems): New macro.
47980         (nongnusystems): Likewise.
47981         (gnulinuxhurdsystems): Likewise.
47982         (gnuhurdsystems): Likewise..
47983         (gnulinuxsystems): Likewise.
47984         * manual/charset.texi: Use new macros or @theglibc{} to refer to
47985         variants of the GNU system, not "GNU system".
47986         * manual/conf.texi: Likewise.
47987         * manual/errno.texi: Likewise.  Update example of errno macro
47988         expansion.
47989         * manual/filesys.texi: Likewise.
47990         (getumask): Document as specific to GNU/Hurd.
47991         * manual/install.texi: Likewise.  Reword some references to
47992         GNU/Linux.
47993         * manual/intro.texi: Likewise.
47994         * manual/io.texi: Likewise.
47995         (File Name Portability): Detail which constraints are inapplicable
47996         to all GNU systems and which are only inapplicable to GNU/Hurd.
47997         * manual/job.texi: Likewise.
47998         * manual/llio.texi: Likewise.
47999         (O_NOCTTY): Document as present on GNU/Linux.
48000         * manual/maint.texi: Likewise.
48001         * manual/memory.texi: Likewise.
48002         * manual/pattern.texi: Likewise.
48003         * manual/pipe.texi: Likewise.
48004         * manual/process.texi: Likewise.
48005         * manual/resource.texi: Likewise.
48006         (RUSAGE_CHILDREN): Remove statement about specifying a particular
48007         child on GNU/Hurd.
48008         * manual/setjmp.texi: Likewise.
48009         * manual/signal.texi: Likewise.
48010         * manual/startup.texi: Likewise.
48011         * manual/stdio.texi: Likewise.
48012         * manual/terminal.texi: Likewise.
48013         (ONLCR): Document as POSIX.
48014         (OXTABS): Document availability on GNU/Linux as XTABS.
48015         (ONOEOT): Document availability separately from other bits.
48016         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48017         * manual/time.texi: Likewise.
48018         * manual/users.texi: Likewise.
48019         * INSTALL: Regenerated.
48020         * sysdeps/gnu/errlist.c: Regenerated.
48022         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48023         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48024         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
48025         puts.
48026         * configure: Regenerated.
48028 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
48030         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48031         default includes instead of AC_HEADER_CHECK.
48032         * sysdeps/i386/configure: Regenerated.
48034         [BZ #10716]
48035         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48036         * math/s_cacoshf.c (__cacoshf): Likewise.
48037         * math/s_cacoshl.c (__cacoshl): Likewise.
48038         * math/s_casinh.c (__casinh): Set signs of result from argument.
48039         * math/s_casinhf.c (__casinhf): Likewise.
48040         * math/s_casinhl.c (__casinhl): Likewise.
48041         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48042         (casinh_test): Add more tests.
48043         * sysdeps/i386/fpu/libm-test-ulps: Update.
48044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48046 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
48048         * po/zh_TW.po: Update from translation team.
48050         * login/Makefile (distribute): Remove variable.
48051         * catgets/Makefile: Likewise.
48052         * mach/Makefile: Likewise.
48053         * malloc/Makefile: Likewise.
48054         * misc/Makefile: Likewise.
48055         * iconv/Makefile: Likewise.
48056         * nscd/Makefile: Likewise.
48057         * hurd/Makefile: Likewise.
48058         * manual/Makefile: Likewise.
48059         * locale/Makefile: Likewise.
48060         * intl/Makefile: Likewise.
48061         * conform/Makefile: Likewise.
48062         * nss/Makefile: Likewise.
48063         * time/Makefile: Likewise.
48064         * soft-fp/Makefile: Likewise.
48065         * dirent/Makefile: Likewise.
48066         * gmon/Makefile: Likewise.
48067         * po/Makefile: Likewise.
48068         * rt/Makefile: Likewise.
48069         * socket/Makefile: Likewise.
48070         * math/Makefile: Likewise.
48071         * signal/Makefile: Likewise.
48072         * debug/Makefile: Likewise.
48073         * elf/Makefile: Likewise.
48074         * timezone/Makefile: Likewise.
48075         * stdlib/Makefile: Likewise.
48076         * iconvdata/Makefile: Likewise.
48077         * sunrpc/Makefile: Likewise.
48078         * io/Makefile: Likewise.
48079         * argp/Makefile: Likewise.
48080         * inet/Makefile: Likewise.
48081         * hesiod/Makefile: Likewise.
48082         * grp/Makefile: Likewise.
48083         * csu/Makefile: Likewise.
48084         * wctype/Makefile: Likewise.
48085         * crypt/Makefile: Likewise.
48086         * libio/Makefile: Likewise.
48087         * string/Makefile: Likewise.
48088         * nis/Makefile: Likewise.
48089         * resolv/Makefile: Likewise.
48090         * stdio-common/Makefile: Likewise.
48091         * wcsmbs/Makefile: Likewise.
48092         * dlfcn/Makefile: Likewise.
48093         * posix/Makefile: Likewise.
48095         [BZ #6959]
48096         * timezone/Makefile: Don't install timezone files, just the programs
48097         and scripts.
48099 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
48101         * nss/databases.def: Add missing gshadow entry.
48103         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
48105 2012-03-06  Marek Polacek  <polacek@redhat.com>
48107         [BZ #13726]
48108         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48109         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48110         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48111         * stdio-common/tst-long-dbl-fphex.c: New file.
48113 2012-03-06  David S. Miller  <davem@davemloft.net>
48115         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48116         (set_obp_int): New function.
48117         (get_obp_int): New function.
48118         (__get_clockfreq_via_dev_openprom): Likewise.
48119         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48120         Avoid unused variable warnings on 'val' and use builtin_expect.
48121         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48122         __builtin_expect.
48123         (INLINE_CLONE_SYSCALL): Likewise.
48125 2012-03-05  David S. Miller  <davem@davemloft.net>
48127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48129 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
48131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48133         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48134         only for |x| >= 40.
48135         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48137 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
48139         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48140         Replace gettimeofday with __vdso_gettimeofday.
48142         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48143         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48144         __vdso_clock_gettime and __vdso_getcpu.
48146         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48147         time with __vdso_time.
48149 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48151         * manual/lang.texi (size_t): Note types to which size_t may be
48152         equivalent with the GNU C Library, but do not describe when
48153         differences between them are significant.
48155 2012-03-05  Andreas Jaeger  <aj@suse.de>
48157         * sysdeps/i386/fpu/libm-test-ulps: Update.
48159 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48161         [BZ #3976]
48162         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48163         (__ieee754_pow): Save and restore rounding mode and use
48164         round-to-nearest for main computations.
48165         * math/libm-test.inc (pow_test_tonearest): New function.
48166         (pow_test_towardzero): Likewise.
48167         (pow_test_downward): Likewise.
48168         (pow_test_upward): Likewise.
48169         (main): Call the new functions.
48170         * sysdeps/i386/fpu/libm-test-ulps: Update.
48171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48173         [BZ #3976]
48174         * math/libm-test.inc (cosh_test_tonearest): New function.
48175         (cosh_test_towardzero): Likewise.
48176         (cosh_test_downward): Likewise.
48177         (cosh_test_upward): Likewise.
48178         (sinh_test_tonearest): Likewise.
48179         (sinh_test_towardzero): Likewise.
48180         (sinh_test_downward): Likewise.
48181         (sinh_test_upward): Likewise.
48182         (main): Call the new functions.
48183         * sysdeps/i386/fpu/libm-test-ulps: Update.
48184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48186 2012-03-05  Tom de Vries  <tom@codesourcery.com>
48188         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48189         default stack guard is set in last bytes.
48190         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48192 2012-03-05  Kees Cook  <keescook@chromium.org>
48194         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48196         [BZ #13656]
48197         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48198         possibly allocate from heap instead of stack.
48199         * stdio-common/bug-vfprintf-nargs.c: New file.
48200         * stdio-common/Makefile (tests): Add nargs overflow test.
48202 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
48204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48206 2012-03-03  Marek Polacek  <polacek@redhat.com>
48208         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48209         * math/math_private.h: Likewise.
48210         * stdlib/tst-strtod.c: Likewise.
48211         * sysdeps/i386/i486/bits/atomic.h: Likewise.
48212         * sysdeps/x86_64/bits/atomic.h: Likewise.
48214 2012-03-02  David S. Miller  <davem@davemloft.net>
48216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48220         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48221         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48222         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48223         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48225 2012-03-02  Roland McGrath  <roland@hack.frob.com>
48227         [BZ #13792]
48228         * manual/examples/README: New file, says the example source files
48229         can be used under GPL>=2.
48230         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48231         line containing just "*/".
48232         * manual/examples/add.c: Add copyright header (GPL>=2).
48233         * manual/examples/argp-ex1.c: Likewise.
48234         * manual/examples/argp-ex2.c: Likewise.
48235         * manual/examples/argp-ex3.c: Likewise.
48236         * manual/examples/argp-ex4.c: Likewise.
48237         * manual/examples/atexit.c: Likewise.
48238         * manual/examples/db.c: Likewise.
48239         * manual/examples/dir.c: Likewise.
48240         * manual/examples/dir2.c: Likewise.
48241         * manual/examples/execinfo.c: Likewise.
48242         * manual/examples/filecli.c: Likewise.
48243         * manual/examples/filesrv.c: Likewise.
48244         * manual/examples/fmtmsgexpl.c: Likewise.
48245         * manual/examples/genpass.c: Likewise.
48246         * manual/examples/inetcli.c: Likewise.
48247         * manual/examples/inetsrv.c: Likewise.
48248         * manual/examples/isockad.c: Likewise.
48249         * manual/examples/longopt.c: Likewise.
48250         * manual/examples/memopen.c: Likewise.
48251         * manual/examples/memstrm.c: Likewise.
48252         * manual/examples/mkfsock.c: Likewise.
48253         * manual/examples/mkisock.c: Likewise.
48254         * manual/examples/mygetpass.c: Likewise.
48255         * manual/examples/pipe.c: Likewise.
48256         * manual/examples/popen.c: Likewise.
48257         * manual/examples/rprintf.c: Likewise.
48258         * manual/examples/search.c: Likewise.
48259         * manual/examples/select.c: Likewise.
48260         * manual/examples/setjmp.c: Likewise.
48261         * manual/examples/sigh1.c: Likewise.
48262         * manual/examples/sigusr.c: Likewise.
48263         * manual/examples/stpcpy.c: Likewise.
48264         * manual/examples/strdupa.c: Likewise.
48265         * manual/examples/strftim.c: Likewise.
48266         * manual/examples/strncat.c: Likewise.
48267         * manual/examples/subopt.c: Likewise.
48268         * manual/examples/swapcontext.c: Likewise.
48269         * manual/examples/termios.c: Likewise.
48270         * manual/examples/testopt.c: Likewise.
48271         * manual/examples/testpass.c: Likewise.
48272         * manual/examples/timeval_subtract.c: Likewise.
48274         [BZ #13792]
48275         * manual/time.texi (Elapsed Time): Move timeval_subtract example
48276         function to ...
48277         * manual/timeval_subtract.c.texi: ... here, new file.
48279 2012-03-02  David S. Miller  <davem@davemloft.net>
48281         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48283 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
48285         [BZ #3976]
48286         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48287         (__sin): Save and restore rounding mode and use round-to-nearest
48288         for all computations.
48289         (__cos): Save and restore rounding mode and use round-to-nearest
48290         for all computations.
48291         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48292         <fenv.h>.
48293         (tan): Save and restore rounding mode and use round-to-nearest for
48294         all computations.
48295         * math/libm-test.inc (cos_test_tonearest): New function.
48296         (cos_test_towardzero): Likewise.
48297         (cos_test_downward): Likewise.
48298         (cos_test_upward): Likewise.
48299         (sin_test_tonearest): Likewise.
48300         (sin_test_towardzero): Likewise.
48301         (sin_test_downward): Likewise.
48302         (sin_test_upward): Likewise.
48303         (tan_test_tonearest): Likewise.
48304         (tan_test_towardzero): Likewise.
48305         (tan_test_downward): Likewise.
48306         (tan_test_upward): Likewise.
48307         (main): Call the new functions.
48308         * sysdeps/i386/fpu/libm-test-ulps: Update.
48309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48311         [BZ #10135]
48312         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48313         small n, then large n, before computing and testing k+n.
48314         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48315         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48316         Likewise.
48317         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48318         Likewise.
48319         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48320         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48321         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48322         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48323         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48324         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48325         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48326         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48327         * math/libm-test.inc (scalbn_test): Add more tests.
48328         (scalbln_test): Likewise.
48330         * manual/filesys.texi (mode_t): Describe constraints on size and
48331         signedness, not exact equivalence to a particular type.
48332         (ino_t): Likewise.
48333         (ino64_t): Likewise.
48334         (dev_t): Likewise.
48335         (nlink_t): Likewise.
48336         (blkcnt_t): Likewise.
48337         (blkcnt64_t): Likewise.
48338         * manual/llio.texi (off_t): Likewise.
48340         [BZ #3976]
48341         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48342         (__ieee754_exp): Save and restore rounding mode and use
48343         round-to-nearest for all computations.
48344         * math/libm-test.inc (exp_test_tonearest): New function.
48345         (exp_test_towardzero): Likewise.
48346         (exp_test_downward): Likewise.
48347         (exp_test_upward): Likewise.
48348         (main): Call the new functions.
48349         * sysdeps/i386/fpu/libm-test-ulps: Update.
48350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48352 2012-03-01  Chris Demetriou  <cgd@google.com>
48354         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48355         have predictable order.
48357 2012-03-01  David S. Miller  <davem@davemloft.net>
48359         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48361         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48362         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48363         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48364         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48366         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48367         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48368         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48370         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48371         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48372         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48373         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48374         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48378         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48379         * sysdeps/sparc/fpu/libm-test-ulps: to here.
48380         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48382         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48383         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48384         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48385         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48386         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48387         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48388         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48389         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48390         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48391         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48392         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48393         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48394         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48395         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48396         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48397         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48398         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48399         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48400         * sysdeps/sparc/elf/configure: Regenerated.
48402 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
48404         * configure.in (AS, LD): Require binutils 2.20 or later.
48405         * configure: Regenerated.
48406         * manual/install.texi (Tools for Compilation): Give binutils 2.20
48407         as required minimum version.
48408         * INSTALL: Regenerated.
48410         [BZ #2541]
48411         [BZ #4108]
48412         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48413         before squaring exponent.
48414         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48415         bottom long double and 27 bits of top long double before squaring
48416         exponent.
48417         * math/libm-test.inc (erfc_test): Add more tests.
48418         * sysdeps/i386/fpu/libm-test-ulps: Update.
48419         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48422 2012-03-01  Kai Tietz  <ktietz@redhat.com>
48424         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48425         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48426         containing bit-fields.
48427         * soft-fp/extended.h (_FP_UNION_E): Likewise.
48428         * soft-fp/single.h (_FP_UNION_S): Likewise.
48429         * soft-fp/double.h (_FP_UNION_D): Likewise.
48431 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
48433         [BZ #13786]
48434         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48435         not include ../strcmp.S.
48436         [USE_AS_STRNCASECMP_L]: Likewise.
48437         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48438         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48439         * sysdeps/i386/i686/multiarch/strncase_l-c.c
48440         (__strncasecmp_l_ia32): Define as alias to
48441         __strncasecmp_l_nonascii.
48443         [BZ #5794]
48444         * math/libm-test.inc (expm1_test): Add test for bug 5794.
48445         * sysdeps/i386/fpu/libm-test-ulps: Update.
48446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48448         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48451 2012-02-29  Jeff Law  <law@redhat.com>
48453         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48454         out of bounds read.
48456 2012-02-29  Marek Polacek  <polacek@redhat.com>
48458         [BZ #13706]
48459         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48460         * elf/Makefile: Add rules to run tst-unused-dep.out.
48462 2012-02-28  David S. Miller  <davem@davemloft.net>
48464         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48465         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48466         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48467         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48468         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48469         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48471 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
48473         * math/libm-test.inc (llround_test): Move one test from
48474         lround_test.  Use TEST_f_L in moved test.
48475         (lround_test): Move misplaced test to llround_test.  Add testcase
48476         from bug 2561.
48478 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
48480         * sysdeps/x86_64/fpu/e_expf.S: New file.
48481         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48483 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
48485         [BZ #13637]
48486         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48487         of remain_len that may cause incomplete multi-byte character and
48488         false match.
48489         * posix/bug-regex33.c: New file.
48490         * posix/Makefile (tests): Add bug-regex33.
48492 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
48494         * manual/macros.texi: New file.
48495         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48496         * manual/libc.texinfo: Include macros.texi.
48497         * manual/creatute.texi: Likewise.
48498         * manual/install.texi: Likewise.
48499         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48500         @glibcadj{} in references to the GNU C Library.
48501         * manual/charset.texi: Likewise.
48502         * manual/conf.texi: Likewise.
48503         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
48504         when not using those macros.
48505         * manual/creature.texi: Likewise.
48506         * manual/crypt.texi: Likewise.
48507         * manual/errno.texi: Likewise.
48508         * manual/filesys.texi: Likewise.
48509         * manual/header.texi: Likewise.
48510         * manual/install.texi: Likewise.
48511         * manual/intro.texi: Likewise.
48512         * manual/io.texi: Likewise.
48513         * manual/job.texi: Likewise.
48514         * manual/lang.texi: Likewise.
48515         * manual/libc.texiinfo: Likewise.
48516         * manual/llio.texi: Likewise.
48517         * manual/locale.texi: Likewise.
48518         * manual/maint.texi: Likewise.
48519         * manual/math.texi: Likewise.
48520         * manual/memory.texi: Likewise.
48521         * manual/message.texi: Likewise.
48522         * manual/nss.texi: Likewise.
48523         * manual/pattern.texi: Likewise.
48524         * manual/process.texi: Likewise.
48525         * manual/resource.texi: Likewise.
48526         * manual/search.texi: Likewise.
48527         * manual/setjmp.texi: Likewise.
48528         * manual/signal.texi: Likewise.
48529         * manual/socket.texi: Likewise.
48530         * manual/startup.texi: Likewise.
48531         * manual/stdio.texi: Likewise.
48532         * manual/string.texi: Likewise.
48533         * manual/sysinfo.texi: Likewise.
48534         * manual/syslog.texi: Likewise.
48535         * manual/terminal.texi: Likewise.
48536         * manual/time.texi: Likewise.
48537         * manual/users.texi: Likewise.
48538         * INSTALL: Regenerated.
48539         * NOTES: Regenerated.
48540         * sysdeps/gnu/errlist.c: Regenerated.
48542 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
48544         * include/dirent.h: Include <dirstream.h> before
48545         <dirent/dirent.h>.
48547 2012-02-28  David S. Miller  <davem@davemloft.net>
48549         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48550         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48551         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48552         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48554 2012-02-27  David S. Miller  <davem@davemloft.net>
48556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48558         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48559         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48562         frame pointer instead of stack pointer relative arg slot.
48563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48564         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48565         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48567 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
48569         [BZ #3992]
48570         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48572 2012-02-27  David S. Miller  <davem@davemloft.net>
48574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48578         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48579         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48580         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48581         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48583 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48585         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48586         later.  Allow versions 5-9.
48587         * configure: Regenerated.
48588         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48589         required minimum version and 4.6 as recommended version.  Do not
48590         mention bugs in GCC 2.7 and 2.8.
48591         * INSTALL: Regenerated.
48593 2012-02-27  David S. Miller  <davem@davemloft.net>
48595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48599         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48600         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48601         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48602         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48604         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48605         manipulate bits before adding and subtracting TWO112[sx].
48606         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48608 2012-02-27  Roland McGrath  <roland@hack.frob.com>
48610         [BZ #13775]
48611         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48612         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48613         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48614         being in POSIX, because they are in 1003.1-2008.
48616         * rt/tst-aio.c: Include <fcntl.h>.
48617         * rt/tst-aio7.c: Likewise.
48618         * rt/tst-aio64.c: Likewise.
48620         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48622 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48624         * manual/install.texi (--with-headers): Describe headers as
48625         interface headers, not private headers.
48626         (Specific advice for GNU/Linux systems): Describe use of headers
48627         from "make headers_install", not private headers from older
48628         kernels.
48629         * INSTALL: Regenerated.
48630         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48631         Change to 2.6.19.
48632         * sysdeps/unix/sysv/linux/configure: Regenerated.
48634         * manual/llio.texi (fclean): Remove documentation.
48636         * manual/Makefile (libc-texi-generated): New variable.  Include
48637         version.texi.
48638         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48639         $(libc-texi-generated), not duplicated list of files.
48640         (version.texi, stamp-version): New rules.
48641         (realclean): Remove $(libc-texi-generated), not individual files
48642         from that list.  Do not remove dir-add.texinfo.
48643         * manual/libc.texinfo: Comment out uses of edition numbers and
48644         references to printed manual.  Remove last-updated dates.
48645         (EDITION): Comment out.
48646         (ISBN): Likewise.
48647         (VERSION, UPDATED): Remove.
48648         (version.texi): Include.
48650 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
48652         * sysdeps/posix/spawni.c: Include <signal.h>.
48653         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48654         * sysdeps/pthread/aio_fsync.c: Likewise.
48656 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
48658         * conform/Makefile (tests): Run only when not cross-compiling and
48659         when fast-check is not defined.
48661         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48662         * conform/data/limits.h-data: Fixes for POSIX2008.
48663         * conform/run-conformtest.sh: Run all tests.
48664         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48665         headers.
48666         * include/bits/dlfcn.h: Likewise.
48667         * include/langinfo.h: Likewise.
48668         * include/monetary.h: Likewise.
48669         * include/sys/poll.h: Likewise.
48671         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48672         for __USE_GNU.
48673         * posix/spawn.h: Define __need_sigset_t.
48674         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48675         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48676         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
48677         to get sigevent_t only.
48678         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48679         only for __USE_GNU.
48680         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48681         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48682         process_vm_writev only for __USE_GNU.
48683         * termios/termios.h: Declare tcgetsid also for POSIX2008.
48685         * conform/Makefile: For now ignore errors from run-conformtest.
48686         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
48687         POSIX to avoid namespace pollution.  Don't prepend headers.
48688         * conform/data/aio.h-data: Fixes for POSIX testing.
48689         * conform/data/fcntl.h-data: Likewise.
48690         * conform/data/glob.h-data: Likewise.
48691         * conform/data/grp.h-data: Likewise.
48692         * conform/data/pthread.h-data: Likewise.
48693         * conform/data/pwd.h-data: Likewise.
48694         * conform/data/signal.h-data: Likewise.
48695         * conform/data/spawn.h-data: Likewise.
48696         * conform/data/stdio.h-data: Likewise.
48697         * conform/data/stdlib.h-data: Likewise.
48698         * conform/data/stropts.h-data: Likewise.
48699         * conform/data/sys/mman.h-data: Likewise.
48700         * conform/data/sys/stat.h-data: Likewise.
48701         * conform/data/sys/types.h-data: Likewise.
48702         * conform/data/sys/wait.h-data: Likewise.
48703         * conform/data/time.h-data: Likewise.
48704         * conform/data/unistd.h-data: Likewise.
48705         * conform/data/utime.h-data: Likewise.
48707         * io/sys/stat.h: fchmod was always in POSIX.
48708         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48709         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48710         * rt/aio.h: Define __need_timespec before including <time.h>.
48711         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48712         struct.  Add forward declaration of pthread_attr_t and use it in
48713         sigevent.
48714         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48715         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48716         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48717         always remove CLK_TCK definition.
48719 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
48721         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48723 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
48725         * conform/run-conformtest.sh: New file.
48726         * conform/Makefile: Run run-conformtest for tests.
48727         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
48728         support.
48730         * conform/data/uchar.h-data: New file.
48731         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48732         * conform/data/arpa/inet.h-data: Likewise.
48733         * conform/data/assert.h-data: Likewise.
48734         * conform/data/complex.h-data: Likewise.
48735         * conform/data/cpio.h-data: Likewise.
48736         * conform/data/ctype.h-data: Likewise.
48737         * conform/data/dirent.h-data: Likewise.
48738         * conform/data/dlfcn.h-data: Likewise.
48739         * conform/data/errno.h-data: Likewise.
48740         * conform/data/fcntl.h-data: Likewise.
48741         * conform/data/float.h-data: Likewise.
48742         * conform/data/fmtmsg.h-data: Likewise.
48743         * conform/data/fnmatch.h-data: Likewise.
48744         * conform/data/ftw.h-data: Likewise.
48745         * conform/data/glob.h-data: Likewise.
48746         * conform/data/grp.h-data: Likewise.
48747         * conform/data/iconv.h-data: Likewise.
48748         * conform/data/inttypes.h-data: Likewise.
48749         * conform/data/langinfo.h-data: Likewise.
48750         * conform/data/libgen.h-data: Likewise.
48751         * conform/data/limits.h-data: Likewise.
48752         * conform/data/locale.h-data: Likewise.
48753         * conform/data/math.h-data: Likewise.
48754         * conform/data/monetary.h-data: Likewise.
48755         * conform/data/mqueue.h-data: Likewise.
48756         * conform/data/ndbm.h-data: Likewise.
48757         * conform/data/net/if.h-data: Likewise.
48758         * conform/data/netdb.h-data: Likewise.
48759         * conform/data/netinet/in.h-data: Likewise.
48760         * conform/data/nl_types.h-data: Likewise.
48761         * conform/data/poll.h-data: Likewise.
48762         * conform/data/pthread.h-data: Likewise.
48763         * conform/data/pwd.h-data: Likewise.
48764         * conform/data/regex.h-data: Likewise.
48765         * conform/data/sched.h-data: Likewise.
48766         * conform/data/search.h-data: Likewise.
48767         * conform/data/semaphore.h-data: Likewise.
48768         * conform/data/setjmp.h-data: Likewise.
48769         * conform/data/signal.h-data: Likewise.
48770         * conform/data/spawn.h-data: Likewise.
48771         * conform/data/stdarg.h-data: Likewise.
48772         * conform/data/stdio.h-data: Likewise.
48773         * conform/data/stdlib.h-data: Likewise.
48774         * conform/data/string.h-data: Likewise.
48775         * conform/data/strings.h-data: Likewise.
48776         * conform/data/stropts.h-data: Likewise.
48777         * conform/data/sys/ipc.h-data: Likewise.
48778         * conform/data/sys/mman.h-data: Likewise.
48779         * conform/data/sys/msg.h-data: Likewise.
48780         * conform/data/sys/resource.h-data: Likewise.
48781         * conform/data/sys/select.h-data: Likewise.
48782         * conform/data/sys/sem.h-data: Likewise.
48783         * conform/data/sys/shm.h-data: Likewise.
48784         * conform/data/sys/socket.h-data: Likewise.
48785         * conform/data/sys/stat.h-data: Likewise.
48786         * conform/data/sys/statvfs.h-data: Likewise.
48787         * conform/data/sys/time.h-data: Likewise.
48788         * conform/data/sys/timeb.h-data: Likewise.
48789         * conform/data/sys/times.h-data: Likewise.
48790         * conform/data/sys/types.h-data: Likewise.
48791         * conform/data/sys/uio.h-data: Likewise.
48792         * conform/data/sys/un.h-data: Likewise.
48793         * conform/data/sys/utsname.h-data: Likewise.
48794         * conform/data/sys/wait.h-data: Likewise.
48795         * conform/data/syslog.h-data: Likewise.
48796         * conform/data/tar.h-data: Likewise.
48797         * conform/data/termios.h-data: Likewise.
48798         * conform/data/utime.h-data: Likewise.
48799         * conform/data/utmpx.h-data: Likewise.
48800         * conform/data/varargs.h-data: Likewise.
48801         * conform/data/wchar.h-data: Likewise.
48802         * conform/data/wctype.h-data: Likewise.
48803         * conform/data/wordexp.h-data: Likewise.
48805         * include/stropts.h: New file.
48806         * include/uchar.h: New file.
48807         * include/aio.h: Changes to allow conformtest.pl to use the headers.
48808         * include/assert.h: Likewise.
48809         * include/ctype.h: Likewise.
48810         * include/dirent.h: Likewise.
48811         * include/dlfcn.h: Likewise.
48812         * include/fcntl.h: Likewise.
48813         * include/fnmatch.h: Likewise.
48814         * include/glob.h: Likewise.
48815         * include/grp.h: Likewise.
48816         * include/libio.h: Likewise.
48817         * include/locale.h: Likewise.
48818         * include/math.h: Likewise.
48819         * include/net/if.h: Likewise.
48820         * include/netdb.h: Likewise.
48821         * include/netinet/in.h: Likewise.
48822         * include/pthread.h: Likewise.
48823         * include/pwd.h: Likewise.
48824         * include/regex.h: Likewise.
48825         * include/sched.h: Likewise.
48826         * include/search.h: Likewise.
48827         * include/setjmp.h: Likewise.
48828         * include/signal.h: Likewise.
48829         * include/stdio.h: Likewise.
48830         * include/stdlib.h: Likewise.
48831         * include/string.h: Likewise.
48832         * include/sys/cdefs.h: Likewise.
48833         * include/sys/mman.h: Likewise.
48834         * include/sys/msg.h: Likewise.
48835         * include/sys/resource.h: Likewise.
48836         * include/sys/select.h: Likewise.
48837         * include/sys/socket.h: Likewise.
48838         * include/sys/stat.h: Likewise.
48839         * include/sys/statvfs.h: Likewise.
48840         * include/sys/time.h: Likewise.
48841         * include/sys/times.h: Likewise.
48842         * include/sys/uio.h: Likewise.
48843         * include/sys/utsname.h: Likewise.
48844         * include/sys/wait.h: Likewise.
48845         * include/termios.h: Likewise.
48846         * include/time.h: Likewise.
48847         * include/ulimit.h: Likewise.
48848         * include/unistd.h: Likewise.
48849         * include/utime.h: Likewise.
48850         * include/wchar.h: Likewise.
48851         * include/wctype.h: Likewise.
48852         * include/wordexp.h: Likewise.
48854         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48856         * time/time.h: TIME_UTC must be a macro.
48857         Make timespec_get available for ISO C11 only as well.
48859 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
48861         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48862         Reported by Peng Haitao <penght@cn.fujitsu.com>.
48864 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48866         * configure.in: Use -o not -a in test for unsupported multi-arch.
48868 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48870         * manual/texinfo.tex: Update to version 2012-01-19.16.
48872 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48874         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48876 2012-02-24  Roland McGrath  <roland@hack.frob.com>
48878         [BZ #13738]
48879         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48880         * manual/fdl-1.3.texi: New file.
48881         * manual/fdl-1.1.texi: File removed.
48883         [BZ #13738]
48884         * manual/libc.texinfo (FDL_VERSION): New @set.
48885         Use it for mention of FDL in cover text.
48886         (Documentation License): Use it in @include file name.
48888 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48889             Roland McGrath  <roland@hack.frob.com>
48891         [BZ #5461]
48892         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48893         (not LONG_LONG_MAX and LONG_LONG_MIN.
48894         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48895         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
48896         name.
48897         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48899 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48901         [BZ #2547]
48902         [BZ #11365]
48903         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48904         manipulate bits before adding and subtracting TWO23[sx].
48905         * math/libm-test.inc (nearbyint_test): Add more tests.
48907 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48909         [BZ #2548]
48910         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48911         bits before adding and subtracting TWO23[sx].
48912         * math/libm-test.inc (rint_test): Add more tests.
48913         (rint_test_tonearest): Likewise.
48914         (rint_test_towardzero): Likewise.
48915         (rint_test_downward): Likewise.
48916         (rint_test_upward: Likewise.
48918 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48920         [BZ #10110]
48921         * include/stdc-predef.h: New file.  Extracted from features.h.
48922         * include/features.h: Include stdc-predef.h.
48923         * Makefile (headers): Add stdc-predef.h.
48924         * CONFORMANCE (Compiler limitations): Update.
48926 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48928         * manual/libc.texinfo (VERSION, UPDATED): Revert.
48930 2012-02-21  David S. Miller  <davem@davemloft.net>
48932         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48933         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48935 2012-02-20  David S. Miller  <davem@davemloft.net>
48937         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48938         using a normal save/restore sequence, rather than allocating a
48939         dummy stack frame just to store a frame pointer and restore.
48940         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48942 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48944         * manual/install.texi: Fix stray word in line-wrapped comment.
48946 2012-02-20  David S. Miller  <davem@davemloft.net>
48948         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48949         both binutils and gcc support GOTDATA.
48951         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48952         "rd %pc" in the PIC register setup sequences.
48954         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48955         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48956         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48957         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48958         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48959         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48960         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48961         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48962         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48963         (SYSCALL_ERROR_HANDLER): Likewise.
48964         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48965         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48966         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48967         (SYSCALL_ERROR_HANDLER): Likewise.
48969         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48970         (HAVE_GCC_GOTDATA): New.
48971         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48972         relocation support in both binutils and gcc.
48973         * sysdeps/sparc/elf/configure: Regenerate.
48975         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48976         * sysdeps/sparc/sparc32/elf/configure: Delete.
48977         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48978         * sysdeps/sparc/sparc64/elf/configure: Delete.
48979         * sysdeps/sparc/elf/configure.in: New file.
48980         * sysdeps/sparc/elf/configure: Generate.
48982         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48983         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48984         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48985         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48986         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48988 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48990         * manual/install.texi: Do not mention specific glibc version
48991         numbers.
48992         * manual/libc.texinfo (VERSION, UPDATED): Update.
48993         (@copying): Use @copyright{} and range of years.
48995 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48997         [BZ #13695]
48998         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48999         [crti.S not in sysdirs] (generated): Do not append.
49000         [crti.S not in sysdirs] (omit-deps): Likewise.
49001         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49002         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49003         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49004         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49005         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49006         Likewise.
49007         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49008         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49009         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49010         * csu/defs.awk: Remove file.
49011         * sysdeps/generic/initfini.c: Likewise.
49012         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49013         variable.
49014         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49015         Likewise.
49017 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49019         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49020         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49021         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49022         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49023         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49024         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49025         <bits/epoll.h>.
49026         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49027         (__EPOLL_PACKED): Define to empty if not defined by
49028         <bits/epoll.h>.
49029         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49030         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49031         bits/epoll.h.
49033 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49035         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49036         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49037         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49038         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49039         <bits/timerfd.h>.
49040         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49042         bits/timerfd.h.
49044 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49046         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49047         in C locale.
49048         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49049         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49050         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49053 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
49055         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49056         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49058 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
49060         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49061         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49062         defined.
49063         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49064         Likewise.
49065         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49066         entry for 2.16.
49068 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
49070         * math/w_acos.c: Use non-signaling floating-point comparisons.
49071         * math/w_acosf.c: Likewise.
49072         * math/w_acosh.c: Likewise.
49073         * math/w_acoshf.c: Likewise.
49074         * math/w_acoshl.c: Likewise.
49075         * math/w_acosl.c: Likewise.
49076         * math/w_asin.c: Likewise.
49077         * math/w_asinf.c: Likewise.
49078         * math/w_asinl.c: Likewise.
49079         * math/w_atanh.c: Likewise.
49080         * math/w_atanhf.c: Likewise.
49081         * math/w_atanhl.c: Likewise.
49082         * math/w_exp2.c: Likewise.
49083         * math/w_exp2f.c: Likewise.
49084         * math/w_exp2l.c: Likewise.
49085         * math/w_j0.c: Likewise.
49086         * math/w_j0f.c: Likewise.
49087         * math/w_j0l.c: Likewise.
49088         * math/w_j1.c: Likewise.
49089         * math/w_j1f.c: Likewise.
49090         * math/w_j1l.c: Likewise.
49091         * math/w_jn.c: Likewise.
49092         * math/w_jnf.c: Likewise.
49093         * math/w_log.c: Likewise.
49094         * math/w_log10.c: Likewise.
49095         * math/w_log10f.c: Likewise.
49096         * math/w_log10l.c: Likewise.
49097         * math/w_log2.c: Likewise.
49098         * math/w_log2f.c: Likewise.
49099         * math/w_log2l.c: Likewise.
49100         * math/w_logf.c: Likewise.
49101         * math/w_logl.c: Likewise.
49102         * math/w_sqrt.c: Likewise.
49103         * math/w_sqrtf.c: Likewise.
49104         * math/w_sqrtl.c: Likewise.
49105         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49106         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49107         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49108         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49109         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49111 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49113         [BZ #9739]
49114         * manual/string.texi (strnlen): Use correct parameter name in
49115         equivalent expression.
49117 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49119         [BZ #11174]
49120         * manual/users.texi (seteuid): Consistently use neweuid for
49121         argument name.
49123 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49125         [BZ #13704]
49126         * manual/nss.texi (Services in the NSS configuration): Correct
49127         list of services in example configuration file.
49129 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
49131         [BZ #11322]
49132         * manual/arith.texi: Remove statements about negative zero
49133         behaving identically to zero.
49135 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49137         [BZ #5993]
49138         * manual/install.texi: Do not document upgrading from libc5.
49140 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49142         [BZ #4596]
49143         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49145 2012-02-18  David S. Miller  <davem@davemloft.net>
49147         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49148         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49149         %o7 across the call.
49150         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49151         instead.
49152         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49153         SETUP_PIC_REG_LEAF.
49154         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49155         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49156         * sysdeps/sparc/crtn.S: Likewise.
49158 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
49160         * aout/Makefile: Remove.
49162 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
49164         [BZ #13058]
49165         * manual/examples/argp-ex1.c (main): Format definition in GNU
49166         style.
49167         * manual/examples/argp-ex2.c (main): Likewise.
49168         * manual/examples/argp-ex3.c (main): Likewise.
49169         * manual/examples/argp-ex4.c (main): Likewise.
49170         * manual/examples/longopt.c (main): Use new-style prototype
49171         definition.
49172         * manual/examples/strncat.c (main): Specify return type and use
49173         (void) for arguments.
49174         * manual/examples/subopt.c (main): Use char **argv argument.
49176 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49178         [BZ #5077]
49179         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49180         rounding modes.
49182 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
49184         [BZ #6907]
49185         * manual/string.texi (strchr): Change when strchrnul is
49186         recommended.
49188 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
49190         [BZ #174]
49191         * manual/locale.texi (setlocale): Document LOCPATH.
49193 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49195         [BZ #10210]
49196         * manual/process.texi (execle): Move @dots{} before last argument.
49198 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
49200         [BZ #12047]
49201         * manual/charset.texi (Generic Charset Conversion): Fix typo
49202         (LC_TYPE -> LC_CTYPE).
49204 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
49206         [BZ #5805]
49207         * manual/arith.texi (scalbn): Use @var{} on parameter names.
49208         (scalbnf): Likewise.
49209         (scalbnl): Likewise.
49210         (scalbln): Likewise.
49211         (scalblnf): Likewise.
49212         (scalblnl): Likewise.
49213         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49214         (vwarnx): Likewise.
49215         (verr): Likewise.
49216         (verrx): Likewise.
49217         * manual/filesys.texi (telldir): Use braces around return type.
49218         * manual/llio.texi (mmap): Add space after comma.
49219         (mmap64): Likewise.
49220         * manual/math.texi (jn): Use @var{} on parameter names.
49221         (jnf): Likewise.
49222         (jnl): Likewise.
49223         (yn): Likewise.
49224         (ynf): Likewise.
49225         (ynl): Likewise.
49226         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49227         line.
49228         * manual/resource.texi (ulimit): Use @dots{} instead of literal
49229         "...".
49230         (sched_get_priority_min): Remove semicolon on @deftypefun line.
49231         (sched_get_priority_max): Likewise.
49232         * manual/signal.texi (sigvec): Add space after comma.
49233         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49234         names.
49235         (if_indextoname): Likewise.
49236         (if_freenameindex): Likewise.
49237         (sendto): Use ',' instead of '.' in prototype.
49238         * manual/startup.texi (syscall): Use @dots{} instead of literal
49239         "...".
49240         * manual/stdio.texi (__fpending): Separate initial words of
49241         paragraph from @deftypefun line.
49242         * manual/syslog.texi (syslog): Use @dots{} instead of literal
49243         "...".
49244         (vsyslog): Use @var{} on parameter names.
49245         * manual/terminal.texi (stty): Use @var{} on parameter names.
49246         * manual/users.texi (getutmp): Use @var{} on parameter names.
49247         (getutmpx): Likewise.
49249 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49251         [BZ #6884]
49252         * manual/stdio.texi (fopen): Fix typos in description of
49253         ",ccs=STRING".
49255 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
49257         [BZ #4026]
49258         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49259         get clock_id definition.
49261 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
49263         [BZ #4822]
49264         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49265         (madvise): Cast every argument to void on its own.
49267 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49269         [BZ #9902]
49270         * manual/startup.texi (Exit Status): Fix typo.
49272 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49274         [BZ #10140]
49275         * manual/examples/argp-ex1.c: Include <stdlib.h>.
49276         * manual/examples/argp-ex2.c: Likewise.
49277         * manual/examples/argp-ex3.c: Likewise.
49279 2012-02-16  Richard Henderson  <rth@redhat.com>
49281         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49282         * sysdeps/s390/s390-32/initfini.c: Remove.
49283         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49284         * sysdeps/s390/s390-64/initfini.c: Remove.
49286 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49288         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49289         compiler output for sysdeps/generic/initfini.c.
49290         * sysdeps/sh/elf/initfini.c: Remove file.
49292 2012-02-16  David S. Miller  <davem@davemloft.net>
49294         [BZ #11494]
49295         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49297         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49298         * sysdeps/sparc/crti.S: New file.
49299         * sysdeps/sparc/crtn.S: New file.
49300         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49301         * sysdeps/sparc/sparc64/Makefile: Likewise.
49303 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
49305         [BZ #3335]
49306         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49308 2012-02-15  Roland McGrath  <roland@hack.frob.com>
49310         [BZ #4822]
49311         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49313         * mach/devstream.c (cookie_io_functions_t): Macro removed.
49314         (write, read, close): Likewise.
49315         Patch by Aurelien Jarno <aurelien@aurel32.net>.
49317 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
49319         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49320         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49321         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49322         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49323         <bits/signalfd.h>.
49324         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49326         bits/signalfd.h.
49328 2012-02-14  Marek Polacek  <polacek@redhat.com>
49330         * sysdeps/x86_64/crti.S: New file.
49331         * sysdeps/x86_64/crtn.S: New file.
49332         * sysdeps/x86_64/elf/initfini.c: Remove file.
49334 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
49336         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49337         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49338         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49339         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49340         <bits/inotify.h>.
49341         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49343         bits/inotify.h.
49345 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
49347         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49348         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49349         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49350         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49351         <bits/eventfd.h>.
49352         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49353         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49354         bits/eventfd.h.
49356 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
49358         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49359         __feraiseexcept instead of feraiseexcept.
49361         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49362         nanosleep invocations.
49363         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49364         strings, and add error checking for a nanosleep invocations.
49366 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
49368         Replace FSF snail mail address with URLs, as per GNU coding standards.
49369         Most of the snail mail addresses were wrong anyway, and omitting
49370         them makes the source code easier to maintain.  Almost all of the
49371         changes are to license notices and to locale LC_IDENTIFICATION
49372         addresses, except for this one:
49373         * manual/libc.texinfo: In "Published by", give the FSF's URL,
49374         not its snail mail address.
49376 2012-02-09  Richard Henderson  <rth@twiddle.net>
49378         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49379         of kernel-features.h.
49381         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49383 2012-02-08  Marek Polacek  <polacek@redhat.com>
49385         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49386         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49387         * sysdeps/gnu/_G_config.h: Likewise.
49388         * sysdeps/generic/_G_config.h: Likewise.
49390 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
49392         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49393         tests.
49394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49396         * sysdeps/powerpc/powerpc32/crti.S: New file.
49397         * sysdeps/powerpc/powerpc32/crtn.S: New file.
49398         * sysdeps/powerpc/powerpc64/crti.S: New file.
49399         * sysdeps/powerpc/powerpc64/crtn.S: New file.
49401         * Makeconfig (have-initfini): Don't set.
49402         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49403         * configure.in (nopic_initfini): Don't substitute.
49404         * config.h.in (HAVE_INITFINI): Don't #undef.
49405         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49406         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49408 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
49410         Support crti.S and crtn.S provided directly by architectures.
49411         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49412         [crti.S in sysdirs] (omit-deps): Likewise.
49413         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49414         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49415         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49416         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49417         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49418         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49419         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49420         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49421         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49422         compiler output for sysdeps/generic/initfini.c.
49423         * sysdeps/i386/elf/Makefile: Remove file.
49424         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49426 2012-02-07  Marek Polacek  <polacek@redhat.com>
49428         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49429         * sysdeps/gnu/_G_config.h: Likewise.
49430         * sysdeps/mach/hurd/_G_config.h: Likewise.
49432 2012-02-07  Marek Polacek  <polacek@redhat.com>
49434         * math/Makefile (tests): Add tst-CMPLX2.
49435         * math/tst-CMPLX2.c: New file.
49437 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
49439         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49441         * math/libm-test.inc (jn_test): Add missing L suffix.
49443 2012-02-06  Marek Polacek  <polacek@redhat.com>
49445         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49446         * sysdeps/i386/fpu/e_powf.S: Likewise.
49447         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49448         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49449         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49450         * sysdeps/i386/fpu/e_pow.S: Likewise.
49451         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49452         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49453         * sysdeps/i386/fpu/s_expm1.S: Likewise.
49454         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49455         * sysdeps/i386/fpu/e_log2.S: Likewise.
49456         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49457         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49458         * sysdeps/i386/fpu/e_powl.S: Likewise.
49459         * sysdeps/i386/fpu/s_log1p.S: Likewise.
49460         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49461         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49462         * sysdeps/i386/fpu/e_logl.S: Likewise.
49463         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49464         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49465         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49466         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49467         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49468         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49469         * sysdeps/i386/fpu/e_log.S: Likewise.
49470         * sysdeps/i386/fpu/s_cexp.S: Likewise.
49471         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49472         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49473         * sysdeps/i386/fpu/e_logf.S: Likewise.
49474         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49475         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49476         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49477         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49478         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49479         * sysdeps/i386/fpu/e_log10.S: Likewise.
49480         * sysdeps/i386/fpu/s_frexp.S: Likewise.
49481         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49482         * sysdeps/i386/fpu/s_asinh.S: Likewise.
49483         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49484         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49485         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49486         * sysdeps/i386/asm-syntax.h: Likewise.
49487         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49488         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49489         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49490         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49491         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49492         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49493         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49494         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49495         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49496         * sysdeps/powerpc/sysdep.h: Likewise.
49497         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49498         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49500 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49502         [BZ #411]
49503         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49505 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49507         * sysdeps/i386/sysdep.h: Include <features.h>.
49508         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49509         version.
49511 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
49513         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49514         Define.
49515         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49516         LOAD_PIC_REG_STR.
49518 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49520         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49521         (SETUP_PIC_REG): Use GET_PC_THUNK.
49522         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49523         macro.
49525 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49527         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49528         for non-PIC compilation.
49529         (SETUP_PIC_REG): Add .p2align directive.
49530         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49531         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49532         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49533         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49534         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49535         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49536         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49537         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49538         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49539         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49540         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49541         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49542         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49543         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49544         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49545         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49546         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49547         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49548         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49549         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49550         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49551         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49552         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49553         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49554         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49555         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49556         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49557         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49558         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49559         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49560         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49561         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49562         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49563         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49564         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49565         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49566         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49567         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49568         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49569         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49570         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49572 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49574         * math/tst-CMPLX.c: Include <stdio.h>.
49576 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
49578         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49579         float.
49580         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49581         * sysdeps/sparc/bits/mathdef.h: Likewise.
49583 2012-01-31  Marek Polacek  <polacek@redhat.com>
49585         * libio/libio.h: Don't define _PARAMS.
49586         * locale/programs/config.h: Don't define PARAMS.
49587         * stdlib/strtol_l.c: Likewise.
49588         (__strtol_l): Remove PARAMS from the prototype.
49590 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
49592         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
49593         names.  Just use the correct names.  Remove unnecessary wrapper
49594         functions.
49595         * malloc/arena.c: Likewise.
49596         * malloc/hooks.c: Likewise.
49598         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49599         ARENA_TEST says not to.  Simplify test for creation of a new arena.
49600         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49602 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
49604         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49605         into tail calls.
49606         (update_get_addr): New function.
49607         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49608         GET_ADDR_MODULE parameter.
49610 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49612         * crypt/cert.c: Remove __STDC__ conditionals.
49613         * crypt/crypt-entry.c: Likewise.
49614         * crypt/crypt_util.c: Likewise.
49615         * libio/filedoalloc.c: Likewise.
49616         * libio/fileops.c: Likewise.
49617         * libio/genops.c: Likewise.
49618         * libio/iofclose.c: Likewise.
49619         * libio/iofdopen.c: Likewise.
49620         * libio/iofopen.c: Likewise.
49621         * libio/iofopen64.c: Likewise.
49622         * libio/iogetdelim.c: Likewise.
49623         * libio/iopopen.c: Likewise.
49624         * libio/obprintf.c: Likewise.
49625         * libio/oldfileops.c: Likewise.
49626         * libio/oldiofclose.c: Likewise.
49627         * libio/oldiofdopen.c: Likewise.
49628         * libio/oldiofopen.c: Likewise.
49629         * libio/oldiopopen.c: Likewise.
49630         * libio/wfiledoalloc.c: Likewise.
49631         * libio/wgenops.c: Likewise.
49632         * locale/programs/xmalloc.c: Likewise.
49633         * misc/syslog.c: Likewise.
49634         * stdio-common/xbug.c: Likewise.
49635         * string/memchr.c: Likewise.
49636         * string/memcmp.c: Likewise.
49637         * string/memrchr.c: Likewise.
49638         * string/rawmemchr.c: Likewise.
49639         * sysdeps/posix/getcwd.c: Likewise.
49640         * time/strftime_l.c: Likewise.
49642 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49644         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49645         * config.make.in (config-cflags-sse2avx): Define.
49646         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49647         Fix typo.
49649 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
49651         * scripts/config.guess: Update from upstream config git repository.
49652         * scripts/config.sub: Likewise.
49654 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
49656         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49657         (EM_NUM): Update.
49658         (R_TILEPRO_*, R_TILEGX_*): New macros.
49660         * scripts/firstversions.awk: Fix bug in version range handling.
49662         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49664         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49666         * include/sys/epoll.h: New file.
49667         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49668         libc_hidden_def.
49670 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
49672         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49673         Avoid unnecessary __WORDSIZE == 64 test.
49674         (fmaxf): Use VEX format if possible.
49675         (fmax): Likewise.
49676         (fminf): Likewise.
49677         (fmin): Likewise.
49679         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49680         * math/math_private.h: Remove libc_fegetround* and
49681         libc_fesetround*.
49682         * sysdeps/i386/configure.in: Check for -msse2avx.
49683         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49684         also if SSE2AVX is defined.
49685         Remove libc_fegetround* and libc_fesetround*.
49686         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49687         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
49688         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49689         of HAS_YMM_USABLE.
49690         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49691         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49692         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49693         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49694         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49696         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49698 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49700         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49701         size is not set.
49702         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49704 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
49706         [BZ #13618]
49707         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49708         relocation.
49709         * Makeconfig (libm): Define.
49710         * elf/Makefile: Add rules to build and run tst-relsort1.
49711         * elf/tst-relsort1.c: New file.
49712         * elf/tst-relsort1mod1.c: New file.
49713         * elf/tst-relsort1mod2.c: New file.
49715 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
49717         * math/s_ldexp.c: Remove __STDC__ conditionals.
49718         * math/s_ldexpf.c: Likewise.
49719         * math/s_ldexpl.c: Likewise.
49720         * math/s_nextafter.c: Likewise.
49721         * math/s_nexttowardf.c: Likewise.
49722         * math/s_significand.c: Likewise.
49723         * math/s_significandf.c: Likewise.
49724         * math/s_significandl.c: Likewise.
49725         * math/w_jnl.c: Likewise.
49726         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49727         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49728         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49729         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49730         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49731         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49732         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49733         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49734         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49735         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49736         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49737         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49738         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49739         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49740         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49741         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49742         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49743         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49744         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49745         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49746         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49747         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49748         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49749         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49750         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49751         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49752         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49753         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49754         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49755         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49756         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49757         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49758         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49759         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49760         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49761         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49762         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49763         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49764         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49765         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49766         * sysdeps/ieee754/k_standard.c: Likewise.
49767         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49768         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49769         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49770         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49771         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49772         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49773         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49774         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49775         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49776         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49777         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49778         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49779         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49780         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49781         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49782         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49783         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49784         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49785         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49786         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49787         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49788         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49789         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49790         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49791         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49792         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49793         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49794         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49795         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49796         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49797         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49798         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49799         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49800         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49801         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49802         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49803         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49804         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49805         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49806         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49807         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49808         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49809         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49810         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49811         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49812         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49813         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49814         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49815         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49816         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49817         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49818         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49819         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49820         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49821         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49822         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49823         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49824         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49825         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49826         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49827         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49828         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49829         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49830         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49831         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49832         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49833         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49834         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49835         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49836         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49837         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49838         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49839         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49840         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49841         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49842         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49843         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49844         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49845         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49846         * sysdeps/ieee754/s_matherr.c: Likewise.
49847         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49848         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49849         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49850         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49852 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49854         * crypt/md5.h: Remove __STDC__ conditionals.
49855         * libio/libioP.h: Likewise.
49856         * locale/programs/config.h: Likewise.
49857         * sysdeps/generic/sysdep.h: Likewise.
49858         * sysdeps/i386/asm-syntax.h: Likewise.
49859         * sysdeps/s390/asm-syntax.h: Likewise.
49860         * sysdeps/unix/sysdep.h: Likewise.
49861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49864 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49866         * libio/libio.h: Remove __STDC__ conditionals.
49867         * malloc/obstack.h: Likewise.
49868         * math/complex.h: Likewise.
49869         * math/math.h: Likewise.
49870         * sysdeps/generic/_G_config.h: Likewise.
49871         * sysdeps/gnu/_G_config.h: Likewise.
49872         * sysdeps/mach/hurd/_G_config.h: Likewise.
49873         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49874         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49875         * sysdeps/sparc/bits/mathdef.h: Likewise.
49877 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
49879         [BZ #13583]
49880         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49881         Clean up HAS_* macros.
49882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49883         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49884         possible.
49885         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49886         HAS_AVX.
49887         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49888         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49889         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49890         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49891         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49893 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
49895         * elf/tst-unique3.cc (gets): Remove declaration.
49896         * elf/tst-unique3lib.cc (gets): Likewise.
49897         * elf/tst-unique3lib2.cc (gets): Likewise.
49898         * elf/tst-unique4.cc (gets): Likewise.
49900 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
49902         * include/stdio.h: Add C++ protection.  Add gets declarations and
49903         definitions.
49904         * debug/tst-chk1.c: Don't declare gets here.
49905         * stdio-common/tst-gets.c: Likewise.
49907 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49909         * posix/glob: Remove directory.
49911 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49913         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49915 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
49917         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49918         of the non-standard EPFNOSUPPORT.
49920 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49922         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49923         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49924         ANYWHERE set to 1 only on KERN_NO_SPACE error.
49926 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
49928         * wcsmbs/uchar.h: Test __STDC_VERSION__.
49930 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
49932         * nscd/aicache.c (addhstaiX): Do not cache negative results of
49933         transient errors.
49934         * nscd/grpcache.c (cache_addgr): Likewise.
49935         * nscd/hstcache.c (cache_addhst): Likewise.
49936         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49937         * nscd/pwdcache.c (cache_addpw): Likewise.
49938         * nscd/servicescache.c (cache_addserv): Likewise.
49940 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
49942         * malloc/malloc.c: Various cleanups.
49943         * malloc/hooks.c: Likewise.
49945         * stdlib/Makefile (tests): Add bug-fmtmsg1.
49946         * stdlib/bug-fmtmsg1.c: New file.
49948         * stdlib/fmtmsg.c (init): Add missing unlock.
49949         Patch by Peng Haitao <penght@cn.fujitsu.com>.
49951 2012-01-12  Marek Polacek  <polacek@redhat.com>
49953         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49954         and _GNU_SOURCE.
49956 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49958         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49959         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49960         macro to ensure uniqueness of label name.
49961         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49962         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49964 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
49966         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49968         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49969         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49970         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49971         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49973 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
49975         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49977         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49978         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49979         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49981         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49983         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49984         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49985         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49986         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49988         * math/bits/math-finite.h: Add ldexp support.
49990 2012-01-10  Marek Polacek  <polacek@redhat.com>
49992         * locale/programs/localedef.h (show_archive_content): Add noreturn
49993         attribute.
49995 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
49997         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49999 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50001         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50003         * io/Makefile (headers): Add bits/poll2.h.
50005 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
50007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50008         typo #include statement.
50010 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50012         * include/sys/cdefs.h: Define __attribute_alloc_size.
50013         * catgets/gencat.c: Add alloc_size attribute and apply consistently
50014         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50015         * elf/pldd.c: Likewise.
50016         * iconv/iconv_charmap.c: Likewise.
50017         * iconv/iconvconfig.c: Likewise.
50018         * iconv/strtab.c: Likewise.
50019         * locale/programs/locale.c: Likewise.
50020         * locale/programs/localedef.h: Likewise.
50021         * locale/programs/simple-hash.c: Likewise.
50022         * nscd/nscd.h: Likewise.
50023         * nss/makedb.c: Likewise.
50024         * sysdeps/generic/ldconfig.h: Likewise.
50025         * locale/programs/localedef.c: Remove xmalloc prototype.
50026         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50028 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50030         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50031         appropriate.
50033 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50035         * math/Makefile (tests): Add tst-CMPLX.
50036         * math/tst-CMPLX.c: New file.
50038         * math/complex.h (CMPLXL): Fix typo.
50040         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50041         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50042         GLIBC_2.16.
50043         * debug/tst-chk1.c: Add poll and ppoll tests.
50044         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50045         * include/sys/poll.h: Add hidden proto for ppoll.
50046         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50047         * sysdeps/mach/hurd/ppoll.c: Likewise.
50048         * io/ppoll.c: Likewise.
50049         * debug/poll_chk.c: New file.
50050         * debug/ppoll_chk.c: New file.
50051         * include/bits/poll2.h: New file.
50052         * io/bits/poll2.h: New file.
50054         [BZ #1350]
50055         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50057         * configure.in: static is always set to yes.  Remove.
50058         * config.make.in: Don't set build-static.
50059         * Makeconfig: Remove use of build-static.
50060         * dlfcn/Makefile: Likewise.
50061         * elf/Makefile: Likewise.
50062         * math/Makefile: Likewise.
50063         * misc/Makefile: Likewise.
50064         * nptl/Makefile: Likewise.
50065         * sysdeps/mach/hurd/Makefile: Likewise.
50067         * configure.in: PWD_P is not used anymore.
50068         * config.make.in: Remove PWD_P entry.
50070         * configure.in: Remove last remnants of RANLIB.
50071         No need to check for signed size_t anymore.
50072         Don't set libc_commonpagesize and libc_relro_required here for Alpha
50073         and IA-64.
50074         Remove __builtin_expect test because we require at least gcc 3.4.
50075         * aclocal.m4: Likewise.
50077         * wcsmbs/mbrtoc16.c: Implement using towc function.
50078         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50079         * wcsmbs/wcsmbsload.c: Likewise.
50080         * iconv/gconv_simple.c: Likewise.
50081         * iconv/gconv_int.h: Likewise.
50082         * iconv/gconv_builtin.h: Likewise.
50083         * iconv/iconv_prog.c: Remove CHAR16 handling.
50085         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50087         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50089         * configure.in: Remove --with-elf and --enable-bounded options.
50090         Dont set base_machine for ia64.  More non-ELF conditions removed.
50091         Remove testing and setting of leading underscore information.
50092         * config.make.in (build-bounded): Set to no.
50093         * config.h.in: Remove NO_UNDERSCORES entry.
50094         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
50095         them.
50096         * csu/start.c: Remove !NO_UNDERSCORE code.
50097         * locale/localeinfo.h: Likewise.
50098         * sysdeps/generic/machine-gmon.h: Likewise.
50099         * sysdeps/generic/sysdep.h: Likewise.
50100         * sysdeps/i386/sysdep.h: Likewise.
50101         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50102         * sysdeps/mach/sysdep.h: Likewise.
50103         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50104         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50105         * sysdeps/sh/sysdep.h: Likewise.
50106         * sysdeps/sparc/sparc32/alloca.S: Likewise.
50107         * sysdeps/unix/i386/sysdep.S: Likewise.
50108         * sysdeps/unix/sparc/start.c: Likewise.
50109         * sysdeps/unix/sparc/sysdep.S: Likewise.
50110         * sysdeps/unix/sparc/sysdep.h: Likewise.
50111         * sysdeps/unix/start.c: Likewise.
50112         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50113         * sysdeps/x86_64/sysdep.h: Likewise.
50115 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
50117         [BZ #13553]
50118         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50119         for non-gcc.
50120         * argp/argp-fmtstream.h: Use const instead __const.
50121         * argp/argp.h: Likewise.
50122         * assert/assert.h: Likewise.
50123         * bits/fenv.h: Likewise.
50124         * bits/sched.h: Likewise.
50125         * bits/sigset.h: Likewise.
50126         * bits/sigthread.h: Likewise.
50127         * catgets/nl_types.h: Likewise.
50128         * conform/data/pthread.h-data: Likewise.
50129         * crypt/crypt-private.h: Likewise.
50130         * crypt/crypt.h: Likewise.
50131         * crypt/crypt_util.c: Likewise.
50132         * ctype/ctype.h: Likewise.
50133         * debug/execinfo.h: Likewise.
50134         * debug/mbsnrtowcs_chk.c: Likewise.
50135         * debug/mbsrtowcs_chk.c: Likewise.
50136         * debug/wcsnrtombs_chk.c: Likewise.
50137         * debug/wcsrtombs_chk.c: Likewise.
50138         * debug/wcstombs_chk.c: Likewise.
50139         * dirent/dirent.h: Likewise.
50140         * dlfcn/dlfcn.h: Likewise.
50141         * elf/neededtest4.c: Likewise.
50142         * grp/grp.h: Likewise.
50143         * gshadow/gshadow.h: Likewise.
50144         * iconv/gconv.h: Likewise.
50145         * iconv/gconv_int.h: Likewise.
50146         * iconv/gconv_simple.c: Likewise.
50147         * iconv/iconv.h: Likewise.
50148         * iconv/loop.c: Likewise.
50149         * iconv/skeleton.c: Likewise.
50150         * include/aio.h: Likewise.
50151         * include/aliases.h: Likewise.
50152         * include/argz.h: Likewise.
50153         * include/arpa/inet.h: Likewise.
50154         * include/assert.h: Likewise.
50155         * include/dirent.h: Likewise.
50156         * include/dlfcn.h: Likewise.
50157         * include/execinfo.h: Likewise.
50158         * include/fcntl.h: Likewise.
50159         * include/fenv.h: Likewise.
50160         * include/glob.h: Likewise.
50161         * include/grp.h: Likewise.
50162         * include/libintl.h: Likewise.
50163         * include/mntent.h: Likewise.
50164         * include/netdb.h: Likewise.
50165         * include/pwd.h: Likewise.
50166         * include/rpc/netdb.h: Likewise.
50167         * include/sched.h: Likewise.
50168         * include/search.h: Likewise.
50169         * include/shadow.h: Likewise.
50170         * include/signal.h: Likewise.
50171         * include/stdio.h: Likewise.
50172         * include/stdlib.h: Likewise.
50173         * include/string.h: Likewise.
50174         * include/sys/socket.h: Likewise.
50175         * include/sys/stat.h: Likewise.
50176         * include/sys/statfs.h: Likewise.
50177         * include/sys/statvfs.h: Likewise.
50178         * include/sys/syslog.h: Likewise.
50179         * include/sys/time.h: Likewise.
50180         * include/sys/uio.h: Likewise.
50181         * include/time.h: Likewise.
50182         * include/unistd.h: Likewise.
50183         * include/utmp.h: Likewise.
50184         * include/wchar.h: Likewise.
50185         * include/wctype.h: Likewise.
50186         * inet/aliases.h: Likewise.
50187         * inet/arpa/inet.h: Likewise.
50188         * inet/netinet/ether.h: Likewise.
50189         * inet/netinet/in.h: Likewise.
50190         * intl/libintl.h: Likewise.
50191         * io/bits/fcntl2.h: Likewise.
50192         * io/fcntl.h: Likewise.
50193         * io/ftw.h: Likewise.
50194         * io/sys/poll.h: Likewise.
50195         * io/sys/stat.h: Likewise.
50196         * io/sys/statfs.h: Likewise.
50197         * io/sys/statvfs.h: Likewise.
50198         * io/utime.h: Likewise.
50199         * libio/bits/stdio.h: Likewise.
50200         * libio/bits/stdio2.h: Likewise.
50201         * libio/libio.h: Likewise.
50202         * libio/libioP.h: Likewise.
50203         * libio/stdio.h: Likewise.
50204         * locale/lc-ctype.c: Likewise.
50205         * locale/locale.h: Likewise.
50206         * login/utmp.h: Likewise.
50207         * malloc/arena.c: Likewise.
50208         * malloc/malloc.c: Likewise.
50209         * malloc/malloc.h: Likewise.
50210         * malloc/mcheck.c: Likewise.
50211         * malloc/mtrace.c: Likewise.
50212         * math/bits/mathcalls.h: Likewise.
50213         * math/fenv.h: Likewise.
50214         * math/math_private.h: Likewise.
50215         * misc/bits/error.h: Likewise.
50216         * misc/bits/syslog.h: Likewise.
50217         * misc/err.h: Likewise.
50218         * misc/error.h: Likewise.
50219         * misc/fstab.h: Likewise.
50220         * misc/mntent.h: Likewise.
50221         * misc/regexp.h: Likewise.
50222         * misc/search.h: Likewise.
50223         * misc/sgtty.h: Likewise.
50224         * misc/sys/mman.h: Likewise.
50225         * misc/sys/syslog.h: Likewise.
50226         * misc/sys/uio.h: Likewise.
50227         * misc/sys/xattr.h: Likewise.
50228         * misc/ttyent.h: Likewise.
50229         * nis/rpcsvc/ypclnt.h: Likewise.
50230         * nss/nss.h: Likewise.
50231         * posix/bits/unistd.h: Likewise.
50232         * posix/fnmatch.h: Likewise.
50233         * posix/glob.h: Likewise.
50234         * posix/sched.h: Likewise.
50235         * posix/spawn.h: Likewise.
50236         * posix/sys/wait.h: Likewise.
50237         * posix/unistd.h: Likewise.
50238         * posix/wordexp.h: Likewise.
50239         * pwd/pwd.h: Likewise.
50240         * resolv/netdb.h: Likewise.
50241         * resource/sys/resource.h: Likewise.
50242         * rt/aio.h: Likewise.
50243         * rt/bits/mqueue2.h: Likewise.
50244         * rt/mqueue.h: Likewise.
50245         * shadow/shadow.h: Likewise.
50246         * signal/signal.h: Likewise.
50247         * socket/send.c: Likewise.
50248         * socket/sendto.c: Likewise.
50249         * socket/sys/socket.h: Likewise.
50250         * stdio-common/printf.h: Likewise.
50251         * stdlib/bits/stdlib.h: Likewise.
50252         * stdlib/fmtmsg.h: Likewise.
50253         * stdlib/monetary.h: Likewise.
50254         * stdlib/stdlib.h: Likewise.
50255         * stdlib/ucontext.h: Likewise.
50256         * streams/stropts.h: Likewise.
50257         * string/argz.h: Likewise.
50258         * string/bits/string2.h: Likewise.
50259         * string/string.h: Likewise.
50260         * string/strings.h: Likewise.
50261         * sunrpc/rpc/auth.h: Likewise.
50262         * sunrpc/rpc/auth_des.h: Likewise.
50263         * sunrpc/rpc/clnt.h: Likewise.
50264         * sunrpc/rpc/netdb.h: Likewise.
50265         * sunrpc/rpc/pmap_clnt.h: Likewise.
50266         * sunrpc/rpc/xdr.h: Likewise.
50267         * sysdeps/generic/inttypes.h: Likewise.
50268         * sysdeps/generic/net/if.h: Likewise.
50269         * sysdeps/generic/sys/swap.h: Likewise.
50270         * sysdeps/gnu/net/if.h: Likewise.
50271         * sysdeps/gnu/utmpx.h: Likewise.
50272         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50273         * sysdeps/i386/i486/bits/string.h: Likewise.
50274         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50275         * sysdeps/s390/bits/string.h: Likewise.
50276         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50277         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50278         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50279         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50280         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50281         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50282         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50283         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50284         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50285         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50286         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50287         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50288         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50289         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50290         * sysdeps/unix/sysv/linux/readv.c: Likewise.
50291         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50292         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50293         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50294         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50295         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50296         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50297         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50298         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50299         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50300         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50301         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50302         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50303         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50304         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50305         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50306         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50307         * sysvipc/sys/ipc.h: Likewise.
50308         * sysvipc/sys/msg.h: Likewise.
50309         * sysvipc/sys/sem.h: Likewise.
50310         * sysvipc/sys/shm.h: Likewise.
50311         * termios/termios.h: Likewise.
50312         * time/sys/time.h: Likewise.
50313         * time/time.h: Likewise.
50314         * wcsmbs/bits/wchar2.h: Likewise.
50315         * wcsmbs/uchar.h: Likewise.
50316         * wcsmbs/wchar.h: Likewise.
50317         * wctype/wctype.h: Likewise.
50319         [BZ #13551]
50320         * Makeconfig: Remove all but ELF support including AIX support.
50321         * Makerules: Likewise.
50322         * config.h.in: Likewise.
50323         * config.make.in: Likewise.
50324         * configure: Likewise.
50325         * configure.in: Likewise.
50326         * csu/Makefile: Likewise.
50327         * csu/version.c: Likewise.
50328         * debug/Makefile: Likewise.
50329         * dlfcn/Makefile: Likewise.
50330         * elf/Makefile: Likewise.
50331         * extra-lib.mk: Likewise.
50332         * iconv/Makefile: Likewise.
50333         * include/libc-symbols.h: Likewise.
50334         * include/shlib-compat.h: Likewise.
50335         * resolv/Makefile: Likewise.
50336         * resolv/res_libc.c: Likewise.
50337         * rt/Makefile: Likewise.
50338         * sysdeps/i386/asm-syntax.h: Likewise.
50339         * sysdeps/i386/sysdep.h: Likewise.
50340         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50341         * sysdeps/mach/sysdep.h: Likewise.
50342         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50343         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50344         * sysdeps/s390/asm-syntax.h: Likewise.
50345         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50346         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50347         * sysdeps/sh/sysdep.h: Likewise.
50348         * sysdeps/unix/sparc/sysdep.h: Likewise.
50349         * sysdeps/wordsize-32/divdi3.c: Likewise.
50350         * sysdeps/x86_64/sysdep.h: Likewise.
50352         * argp/Versions: Remove _argp_unlock_xxx.
50354         [BZ #13559]
50355         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
50356         * abilist/libBrokenLocale.abilist: Likewise.
50357         * abilist/libanl.abilist: Likewise.
50358         * abilist/libc.abilist: Likewise.
50359         * abilist/libcrypt.abilist: Likewise.
50360         * abilist/libdl.abilist: Likewise.
50361         * abilist/libm.abilist: Likewise.
50362         * abilist/libnsl.abilist: Likewise.
50363         * abilist/libpthread.abilist: Likewise.
50364         * abilist/libresolv.abilist: Likewise.
50365         * abilist/librt.abilist: Likewise.
50366         * abilist/libthread_db.abilist: Likewise.
50367         * abilist/libutil.abilist: Likewise.
50368         * abilist/libnss_db.abilist: New file.
50370         * scripts/abilist.awk: Add support for indirect functions.
50372         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50374         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50376         * shlib-versions: Remove entries for ports architectures.
50378         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
50379         files in ports.
50380         * elf/stackguard-macros.h: Remove support for IA-64.
50381         * elf/tst-auditmod1.c: Likewise.
50382         * sysdeps/generic/ldsodefs.h: Likewise.
50384         * sysdeps/unix/sysv/linux/configure.in: Ports should define
50385         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50386         configure files.
50388         [BZ #13552]
50389         * configure.in: Remove --enable-omitfp support.
50390         * FAQ.in: Adjust.
50391         * config.make.in: Likewise.
50392         * Makeconfig: Likewise.
50393         * manual/install.texi: Likewise.
50395         In case anyone cares, the IA-64 architecture could move to ports.
50396         * sysdeps/ia64/*: Removed.
50397         * sysdeps/unix/sysv/linux/ia64/*: Removed.
50398         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50400         [BZ #13555]
50401         * configure.in: Remove entries for unsupported architectures.
50403         [BZ #13533]
50404         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50405         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
50406         routines.
50407         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50408         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50409         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
50410         fall back to using wcrtomb.
50411         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50412         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
50413         renaming.
50414         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50415         * wcsmbs/tst-c16c32-1.c: New file.
50417         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50418         local variable.
50420         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50422         * elf/tst-unique3.cc: Add explicit declaration of gets.
50423         * elf/tst-unique3lib.cc: Likewise.
50424         * elf/tst-unique3lib2.cc: Likewise.
50425         * elf/tst-unique4.cc: Likewise.
50427         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50429 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
50431         [BZ #13566]
50432         * assert/assert.h (static_assert): Don't define for C++.
50433         * libio/stdio.h (gets): Do declare for C++ <= C++11.
50434         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50436 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
50438         * iconv/loop.c (single loop): Fix assertion in storing of
50439         remaining bytes.
50441         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50443 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
50445         * posix/getconf.c: Update copyright year.
50446         * nss/getent.c: Likewise.
50447         * nss/makedb.c: Likewise.
50448         * iconv/iconvconfig.c: Likewise.
50449         * iconv/iconv_prog.c: Likewise.
50450         * elf/ldconfig.c: Likewise.
50451         * elf/pldd.c: Likewise.
50452         * elf/sotruss.ksh: Likewise.
50453         * catgets/gencat.c: Likewise.
50454         * csu/version.c: Likewise.
50455         * elf/ldd.bash.in: Likewise.
50456         * elf/sprof.c (print_version): Likewise.
50457         * locale/programs/locale.c: Likewise.
50458         * locale/programs/localedef.c: Likewise.
50459         * login/programs/pt_chown.c: Likewise.
50460         * nscd/nscd.c (print_version): Likewise.
50461         * debug/xtrace.sh: Likewise.
50462         * malloc/memusage.sh: Likewise.
50463         * malloc/mtrace.pl: Likewise.
50464         * debug/catchsegv.sh: Likewise.
50466 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
50468         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50469         pure attribute.
50471 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
50473         [BZ #13533]
50474         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50475         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50476         transformations.
50477         * iconv/gconv_int.h: Likewise.
50478         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50479         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50480         from libc for GLIBC_2.16.
50481         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50482         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50483         * wcsmbs/uchar.h: Really define mbstate_t.
50484         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50485         * wcsmbs/c16rtomb.c: New file.
50486         * wcsmbs/mbrtoc16.c: New file.
50487         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50488         for C/POSIX locale.
50489         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50490         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50492         * wcsmbs/wchar.h: Add missing __restrict.
50494 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50496         [BZ #13532]
50497         * time/Makefile (routines): Add timespec_get.
50498         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50499         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
50500         timespec for ISO C11.
50501         * time/timespec_get.c: New file.
50502         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50503         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50505         [BZ #13531]
50506         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50507         * stdlib/stdlib.h: Declare aligned_alloc.
50508         * Versions.def: Add GLIBC_2.16 for libc.
50509         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50511         [BZ 13527]
50512         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50513         ISO C11.
50515         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50516         code.
50518         [BZ #13528]
50519         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50521         [BZ #13529]
50522         * assert/assert.h (static_assert): Define.
50524         * version.h: Update for 2.16 development version.
50526         [BZ #13526]
50527         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50528         _ISOC11_SOURCE.
50530         * version.h (RELEASE): Bump for 2.15 release.
50531         * include/features.h (__GLIBC_MINOR__): Bump to 15.
50533         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50534         Patch by Marek Polacek <mpolacek@redhat.com>.
50536         * bits/byteswap.h: Protect long long constants with __extension__.
50537         * sysdeps/i386/bits/byteswap.h: Likewise.
50538         * sysdeps/ia64/bits/byteswap.h: Likewise.
50539         * sysdeps/s390/bits/byteswap.h: Likewise.
50540         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50542 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50544         [BZ #13540]
50545         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50546         destination buffer.
50547         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50549 2011-12-23  Marek Polacek  <polacek@redhat.com>
50551         * elf/dl-addr.c (determine_info): Add inline keyword.
50552         * elf/tst-auditmod4b.c (check_avx): Likewise.
50553         * elf/tst-auditmod6b.c (check_avx): Likewise.
50554         * elf/tst-auditmod6c.c (check_avx): Likewise.
50555         * elf/tst-auditmod7b.c (check_avx): Likewise.
50557 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50559         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50560         !__SSE_MATH__.
50562 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50564         [BZ #13540]
50565         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50566         processing for last bytes.
50568 2011-08-06  Bruno Haible  <bruno@clisp.org>
50570         [BZ #13061]
50571         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50572         U+0385, not to U+1FEE.
50574         [BZ #13062]
50575         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50576         entry for U+00A5 U+0301.
50578 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50580         [BZ #13166]
50581         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50582         buffer for the output is too small.
50584         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50585         optimization.
50587         [BZ #13185]
50588         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50589         SSE flags if possible.
50591 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50593         [BZ #13540]
50594         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50595         processing for last bytes.
50597 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
50599         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50600         (syscall-list-default-options, syscall-list-default-condition)
50601         (syscall-list-includes): Define.
50602         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50603         list of ABIs and options and #if conditions for each ABI.  Do not
50604         handle common syscalls between ABIs specially.
50605         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50606         Remove.
50607         (syscall-list-variants, syscall-list-32bit-options)
50608         (syscall-list-32bit-condition, syscall-list-64bit-options)
50609         (syscall-list-64bit-condition): Define.
50610         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50611         (syscall-list-variants, syscall-list-32bit-options)
50612         (syscall-list-32bit-condition, syscall-list-64bit-options)
50613         (syscall-list-64bit-condition): Define.
50614         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50615         Remove.
50616         (syscall-list-variants, syscall-list-32bit-options)
50617         (syscall-list-32bit-condition, syscall-list-64bit-options)
50618         (syscall-list-64bit-condition): Define.
50619         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50620         Remove.
50621         (syscall-list-variants, syscall-list-32bit-options)
50622         (syscall-list-32bit-condition, syscall-list-64bit-options)
50623         (syscall-list-64bit-condition): Define.
50625 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50627         * locale/iso-639.def: Add brx entry.
50629         [BZ #13328]
50630         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50631         Proposed by Mariusz_Cukr <marcukr@op.pl>.
50633         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50634         __feraiseexcept_renamed.
50636 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50638         [BZ #13538]
50639         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50640         EPOLLET with unsigned values.
50641         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50642         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50644         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50645         to large cancellation.
50646         * math/s_cacoshf.c: Likewise.
50647         * math/s_cacoshl.c: Likewise.
50649 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
50651         [BZ #13305]
50652         [BZ #12786]
50653         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50654         * math/s_cacoshf.c: Likewise.
50655         * math/s_cacoshl.c: Likewise.
50657 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50659         [BZ #13439]
50660         * iconv/gconv.h: Define __GCONV_SWAP.
50661         * iconvdata/unicode.c: The swap bit must be stored in __flags.
50662         * iconvdata/utf-16.c: Likewise.
50663         * iconvdata/utf-32.c: Likewise.
50665 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
50667         [BZ #13524]
50668         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50669         numerator after shifting it by one limb.
50671 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
50673         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50674         under [__USE_EXTERN_INLINES].
50676 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50678         [BZ #13446]
50679         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50681 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50683         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50684         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50685         optimized code.
50686         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50687         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50688         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50689         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50690         for strncasecmp/strncasecmp_l compilation.
50691         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50692         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50694 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
50696         [BZ #13484]
50697         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50698         of __asm__.
50700 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50702         [BZ #13506]
50703         * time/tzfile.c (__tzfile_read): Check values from file header.
50705 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50707         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50708         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50709         * powerpc/powerpc32/dl-start.S: Likewise.
50710         * powerpc/powerpc32/elf/start.S: Likewise.
50711         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50712         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50713         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50714         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50715         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50716         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50717         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50718         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50719         * powerpc/powerpc32/fpu/s_round.S: Likewise.
50720         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50721         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50722         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50723         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50724         * powerpc/powerpc32/memset.S: Likewise.
50725         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50726         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50727         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50728         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50729         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50730         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50731         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50732         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50733         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50734         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50735         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50736         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50737         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50739 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50741         * math/libm-test.inc: Added more nearbyint tests.
50742         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50743         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50744         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50745         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50747 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
50749         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50750         FD_CLOEXEC.
50752 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50754         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50755         Add wcscpy-ssse3 wcscpy-c.
50756         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50757         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50758         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50759         * sysdeps/x86_64/wcschr.S: New file.
50760         * sysdeps/x86_64/wcsrchr.S: New file.
50761         * string/test-strcmp.c: Remove checking of wcscmp function for
50762         wrong alignments.
50763         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50764         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50765         wcsrchr-sse2 wcsrchr-c.
50766         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50767         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50768         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50769         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50770         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50771         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50772         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50773         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50774         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50775         * wcsmbc/wcschr.c (WCSCHR): New macro.
50777 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50779         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50780         * wcsmbs/test-wcsrchr.c: New file.
50781         * string/test-strrchr.c: Add wcsrchr support.
50782         (WIDE): New macro.
50783         * wcsmbs/test-wcscpy.c: New file.
50784         * string/test-strcpy.c: Add wcscpy support.
50785         (WIDE): New macro.
50787 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
50789         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50790         the inner loop.
50792 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
50794         [BZ #13472]
50795         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50797 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
50799         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50800         Minor optimizations.
50802         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50803         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50804         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50806 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
50808         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50809         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50810         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50811         for gcc to avoid warnings.
50812         * inet/Makefile (tests): Add tst-checks.
50813         * inet/tst-checks.c: New file.
50815         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50816         warning.
50818         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50819         __wmemcmp_sse2.
50821         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50822         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50824         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50826 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
50828         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50829         problem.
50831         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50833 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
50835         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50836         conditional on GCC version.
50837         (__arch_compare_and_exchange_val_8_acq)
50838         (__arch_compare_and_exchange_val_16_acq)
50839         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50840         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50841         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50843 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
50845         * sysdeps/sh/backtrace.c: New file.
50847 2011-12-02  Andreas Schwab  <schwab@redhat.com>
50849         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
50850         parenthesis.
50852 2011-12-01  Andreas Schwab  <schwab@redhat.com>
50854         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50855         falling back to utime.
50857 2011-11-30  Andreas Schwab  <schwab@redhat.com>
50859         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50860         expectations for float.
50862 2011-11-29  Andreas Schwab  <schwab@redhat.com>
50864         * locale/weight.h (findidx): Add parameter len.
50865         * locale/weightwc.h (findidx): Likewise.
50866         * posix/fnmatch_loop.c (FCT): Adjust caller.
50867         * posix/regcomp.c (build_equiv_class): Likewise.
50868         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50869         * posix/regexec.c (check_node_accept_bytes): Likewise.
50870         * string/strcoll_l.c (STRCOLL): Likewise.
50871         * string/strxfrm_l.c (STRXFRM): Likewise.
50873 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
50875         * Makefile.in: Remove CVSOPT handling.
50876         * configure.in: Remove use of AC_REVISION.
50877         * iconvdata/Makefile (distribute): No need to filter out CVS.
50878         * scripts/list-sources.sh: Remove CVS, subversion and monotone
50879         handling.
50881 2011-11-16  Andreas Schwab  <schwab@redhat.com>
50883         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50884         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50885         [USE_AS_STRNCASECMP_L]: Likewise.
50886         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50887         NO_TLS_DIRECT_SEG_REFS.
50888         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50889         Fix argument offsets for non-PIC.
50890         [USE_AS_STRNCASECMP_L]: Likewise.
50891         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50892         NO_TLS_DIRECT_SEG_REFS.
50894 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50896         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50897         O_CLOEXEC.
50898         * locale/loadlocale.c (_nl_load_locale): Likewise.
50900 2011-11-15  Andreas Schwab  <schwab@redhat.com>
50902         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50903         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50904         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50905         (SYSCALL_GETTIME): Set errno on error.
50907         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50908         count references to noai6ai_cached.
50910 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50912         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50914         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50915         FD_CLOEXEC for /proc/self/maps.
50917         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50918         FD_CLOEXEC for /proc/meminfo.
50920         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50921         gai.conf.
50923         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
50924         FD_CLOEXEC for given file.
50926         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50928         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50929         FD_CLOEXEC for /etc/hosts.
50930         (_gethtent): Likewise.
50932         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50934         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50935         cancellation and set FD_CLOEXEC for /etc/netgroup.
50937         * nss/nss_files/files-key.c (search): Don't allow cancellation when
50938         reading /etc/publickey.
50940         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50941         allow cancellation when reading /etc/group.
50943         * nss/nss_files/files-alias.c (internal_setent): Don't allow
50944         cancellation.
50945         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
50947         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50948         when using data file.
50950         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50952         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50953         (write_nis_obj): Use "c" and "e" in fopen.
50955         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50957         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50959         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50961         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50963         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50964         locale.alias.
50966         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50968         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50970         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50972         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50973         file parsing and set FD_CLOEXEC.
50975 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50977         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50979 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50981         * malloc/arena.c (arena_get2): Don't call reused_arena when
50982         _int_new_arena failed.
50984 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50986         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50987         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50988         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50989         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50990         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50991         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50992         to compile strcasecmp and strncasecmp.
50993         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50994         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50996         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50998 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
51000         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51001         locale-defines.sym to gen-as-const-headers.
51002         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51003         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51004         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51005         to compile strcasecmp and strncasecmp.
51006         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51007         strcasecmp_l and strncasecmp_l.
51008         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51009         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51010         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51011         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51012         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51013         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51014         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51015         * sysdeps/i386/i686/multiarch/strncase.S: New file.
51016         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51017         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51018         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51020 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
51022         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51023         result of SYSDEP_GETTIME_CPU to retval.
51024         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51025         parameter list to macro.  Remove trailing semicolon.  Adjust users.
51027         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51028         variable.
51030         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51031         mantissa words.
51032         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51034         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51035         from unused variable.
51037         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51038         DWARF definitions.
51039         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51040         for assembling.
51042         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51043         over namespaces.
51045         * sunrpc/rpc_prot.c (rejected): Fix case value.
51047         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51048         unsigned long long int to avoid warnings in shift.
51050         * posix/regex_internal.c (re_string_reconstruct): Actually use result
51051         of use of trans.
51052         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51053         variable tmp.
51055         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51056         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51057         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51059         * nis/nis_table.c (nis_list): Use variable of correct type for
51060         result of __follow_path call.
51062 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51064         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51065         of math functions ceil, trunc, floor, round, and sqrt, when
51066         avaliable on the platform.
51067         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51068         name clash.
51069         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51070         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51071         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51073 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
51075         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51076         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51078 2011-11-11  Roland McGrath  <roland@hack.frob.com>
51080         * include/unistd.h: Fix __readlink return type.
51081         Reported by Chris Metcalf <cmetcalf@tilera.com>.
51083 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
51085         * stdlib/ucontext.h: Undo last change for makecontext.
51087 2011-11-11  Andreas Schwab  <schwab@redhat.com>
51089         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51091         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51092         * setjmp/setjmp.h: Mark functions as non-leaf.
51093         * setjmp/bits/setjmp2.h: Likewise.
51094         * stdlib/ucontext.h: Likewise.
51096 2011-11-10  Andreas Schwab  <schwab@redhat.com>
51098         * malloc/arena.c (_int_new_arena): Don't increment narenas.
51099         (reused_arena): Don't check arena limit.
51100         (arena_get2): Atomically check arena limit.
51102 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
51104         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51105         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51107         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51108         instructions.
51110 2011-11-07  Andreas Schwab  <schwab@redhat.com>
51112         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51113         handler when locking.
51115         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51116         Fix size of allocated buffer.
51118 2011-11-04  Andreas Schwab  <schwab@redhat.com>
51120         [BZ #10103]
51121         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51122         declarations for long double functions.
51123         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51125         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51127 2011-11-03  Andreas Schwab  <schwab@redhat.com>
51129         * nscd/nscd.c (main): Don't start AVC thread until credentials are
51130         installed.
51132         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51133         is disabled.
51135 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51137         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51139 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51141         * include/alloca.h (stackinfo_alloca_round): Define.
51142         (extend_alloca): Use it.
51143         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51144         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51145         here.
51147         * scripts/check-local-headers.sh: Ignore libaudit.h.
51149         * nscd/Makefile (extra-objs): Make recursively expanded.
51151 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
51153         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51154         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51156         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51157         * posix/tst-rfc3484-2.c: Likewise.
51158         * posix/tst-rfc3484-3.c: Likewise.
51160         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51161         process_vm_writev.
51162         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51163         process_vm_writev.
51164         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51165         process_vm_writev from libc using GLIBC_2.15 version.
51167         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51169 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
51171         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51172         stack usage.
51174 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
51176         [BZ #13367]
51177         * nss/getent.c (initgroups_keys): Show error message in case no group
51178         names are given.
51180         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51181         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51182         __bump_nl_timestamp.
51183         * nscd/connections (nscd_init): When host database is served open
51184         netlink socket and request notification about configuration changes.
51185         (main_loop_poll): Track netlink file descriptor and bump timestamp
51186         in case data becomes available.
51187         (main_loop_epoll): Likewise.
51188         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51189         (database_pers_head): Add extra_data fileds.
51190         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51191         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51192         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51193         Adjust caller.
51194         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51195         in6ai data, call __free_in6ai.
51196         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51197         Add -DHAVE_NETLINK.
51198         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
51199         interface information.  Reuse previous data if netlink timestamp
51200         is not changed.
51201         (__bump_nl_timestamp): New function.
51202         (__free_in6ai): New function.
51204 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
51206         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51207         close_not_cancel_no_status here.
51208         (__check_pf): Reorganize code a bit to not call close twice if OOM.
51210 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51212         [BZ #13276]
51213         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51214         return value.
51216         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51217         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51218         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51220 2011-07-03  Andreas Jaeger  <aj@suse.de>
51222         [BZ #10709]
51223         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51224         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51225         * math/libm-test.inc (sin_test): Add test case.
51227 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51229         [BZ #13337]
51230         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51231         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51233         * elf/chroot_canon.c (chroot_canon): Cleanups.
51235         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51237         [BZ #13335]
51238         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51239         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51241         * string/test-strchr.c: Make usable for strchrnul testing.
51242         * string/test-strchrnul.c: New file.
51243         * string/Makefile (strop-tests): Add strchrnul.
51245         * po/it.po: Update from translation team.
51246         * po/es.po: Likewise.
51248 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
51250         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51251         the three constants needed as parameters.  Drop the others.
51252         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51253         __m128i_strloadu_tolower.
51254         Create and initialize variable zero and use it in all the places
51255         where _mm_setzero_si128 was used.
51257         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51258         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51259         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51260         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51261         anymore.
51262         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51263         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51264         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51265         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51266         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51267         __mpranred, __mptan.
51268         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51269         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51270         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51271         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51272         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51273         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51274         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51275         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51276         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51278 2011-10-28  Andreas Schwab  <schwab@redhat.com>
51280         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51281         redefine if SHARED.
51282         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51284         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51285         wide char related routines to wcsmbs subdir.
51287 2011-10-27  Andreas Schwab  <schwab@redhat.com>
51289         [BZ #13344]
51290         * misc/sys/cdefs.h (__THROWNL): Define.
51291         * posix/unistd.h: Use __THREADNL instead of __THREAD
51292         for memory synchronization functions.
51294 2011-10-26  Roland McGrath  <roland@hack.frob.com>
51296         [BZ #13349]
51297         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51298         doesn't exist.
51299         * manual/stdio.texi (Obstack Streams): Node removed.
51301 2011-10-26  Andreas Schwab  <schwab@redhat.com>
51303         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51304         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51305         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51307         * math/math_private.h (math_force_eval): Allow non-addressable
51308         arguments.
51309         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51311 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51313         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51314         file is not needed.
51316         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51317         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51318         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51319         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51320         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51321         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51322         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51323         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51324         Add AVX variants.
51325         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51326         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51327         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51328         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51329         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51330         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51331         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51332         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51333         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51334         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51335         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51336         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51337         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51338         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51339         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51340         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51341         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51342         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51343         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51345         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51346         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
51348         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51349         place.  Use VEX encoding when compiling for AVX.
51351 2011-10-25  Andreas Schwab  <schwab@redhat.com>
51353         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51354         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51356         * string/test-strchr.c (do_test): Don't generate NUL bytes.
51358 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51360         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51361         useless if() expression.
51362         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51363         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51364         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51365         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51366         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51367         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51368         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51369         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51370         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51371         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51372         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51373         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51374         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51375         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51376         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51377         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51378         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51379         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51380         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51382         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51384 2011-10-25  Andreas Schwab  <schwab@redhat.com>
51386         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51387         condition.
51388         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51390 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51392         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51393         .text section.  Avoid duplicate constants.
51394         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51395         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51396         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51397         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51398         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51399         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51400         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51401         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51402         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51403         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51404         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51405         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51406         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51407         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51408         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51409         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51410         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51411         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51412         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51413         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51414         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51415         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51416         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51417         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51418         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51419         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51420         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51421         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51422         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51423         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51424         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51425         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51426         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51427         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51428         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51429         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51430         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51431         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51432         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51433         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51434         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51435         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51436         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51437         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51438         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51440 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
51442         * sysdeps/x86_64/dla.h: Move to ...
51443         * sysdeps/x86_64/fpu/dla.h: ...here.
51444         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51445         situations.  Use __builtin_fma only for gcc 4.6 and up.
51447         * config.make.in: Add have-mfma4 entry.
51448         * configure.in: Substitute libc_cv_cc_fma4.
51449         * math/Makefile (dbl-only-routines): Add sincostab.
51450         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51451         Use __sincostab not sincos.
51452         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51453         name is a macro.
51454         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51455         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51456         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51457         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
51458         using __copysign.
51459         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
51460         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
51461         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51462         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51463         and __inv.
51464         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51465         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51466         __copysign.
51467         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
51468         define aliases when function name is a macro.
51469         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51470         sysdeps/ieee754/dbl-64/sincos.tbl.
51471         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51472         fma4-enabled routines.
51473         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51474         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51475         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51476         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51477         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51478         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51479         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51480         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51481         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51482         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51483         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51484         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51485         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51486         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51487         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51488         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51489         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51490         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51491         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51492         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51493         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51494         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51495         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51496         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51497         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51498         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51499         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51500         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51501         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51502         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51504         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51505         rename.
51506         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51507         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51508         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51509         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51510         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51511         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51512         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51513         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51515 2011-10-24  Andreas Schwab  <schwab@redhat.com>
51517         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51519 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51521         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51523         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51524         prediction.
51525         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51527         * string/strnlen.c: Don't define STRNLEN, reverse logic.
51528         Remove unused variable magic_bits.
51529         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51531         * string/strnlen.c: Define and use STRNLEN macro.
51532         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51533         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51534         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51535         * wcsmbs/wcslen.c: Define and use WCSLEN.
51536         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51537         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51538         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51539         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51540         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51541         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51542         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51544 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51547         strnlen-sse2-no-bsf.
51548         Rename strlen-no-bsf to strlen-sse2-no-bsf.
51549         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51550         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51551         Add strnlen support.
51552         (USE_AS_STRNLEN): New macro.
51553         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51554         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51555         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51556         * sysdeps/x86_64/wcslen.S: New file.
51558 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
51560         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51561         XMM-moves are used for copying on small sizes.
51563 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51565         * wcsmbs/Makefile (strop-tests): Add wcschr.
51566         * wcsmbs/test-wcschr.c: New file.
51567         * string/test-strchr.c: Update.
51568         Add wcschr support.
51569         (WIDE): New macro.
51571 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51573         * wcsmbs/Makefile (strop-tests): Add wcslen.
51574         * wcsmbs/test-wcslen.c: New file.
51575         * string/test-strlen.c: Update.
51576         Add wcslen support.
51577         (WIDE): New macro.
51579 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51581         * po/it.po: Update from translation team.
51583 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51585         * sysdeps/x86_64/wcscmp.S: Update.
51586         Fix wrong comparison semantics.
51587         wcscmp shall use signed comparison not unsigned.
51588         Don't use substraction to avoid overflow bug.
51589         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51590         * wcsmbc/wcscmp.c: Likewise.
51591         * string/test-strcmp.c: Likewise.
51592         Add new tests to check cases with negative values.
51594 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51596         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51597         * sysdeps/x86_64/dla.h: ...here.  New file.
51598         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51599         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51601         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51602         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51603         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51604         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51605         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51606         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51608 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
51610         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51611         __ynl_finite aliases.
51613 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51615         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51617         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51618         define DLA_FMA.
51619         [DLA_FMA] (EMULV): Use DLA_FMA.
51620         [DLA_FMA] (MUL12): Use EMULV.
51621         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51622         that are not needed.
51623         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51624         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51625         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51626         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51627         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51628         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51629         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51631 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
51633         * math/s_nan.c: Undef __nan.
51634         * math/s_nanf.c: Undef __nanf.
51635         * math/s_nanl.c: Undef __nanl.
51636         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51637         "math_private.h".
51639 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51641         * math/s_catan.c: Add branch predictions.
51642         * math/s_catanf.c: Likewise.
51643         * math/s_catanh.c: Likewise.
51644         * math/s_catanhf.c: Likewise.
51645         * math/s_catanhl.c: Likewise.
51646         * math/s_catanl.c: Likewise.
51647         * math/s_cexp.c: Likewise.
51648         * math/s_cexpf.c: Likewise.
51649         * math/s_cexpl.c: Likewise.
51650         * math/s_clog.c: Likewise.
51651         * math/s_clog10.c: Likewise.
51652         * math/s_clog10f.c: Likewise.
51653         * math/s_clog10l.c: Likewise.
51654         * math/s_clogf.c: Likewise.
51655         * math/s_clogl.c: Likewise.
51656         * math/s_csqrt.c: Likewise.
51657         * math/s_csqrtf.c: Likewise.
51658         * math/s_csqrtl.c: Likewise.
51659         * math/s_ctanf.c: Likewise.
51660         * math/s_ctanh.c: Likewise.
51661         * math/s_ctanhf.c: Likewise.
51662         * math/s_ctanhl.c: Likewise.
51663         * math/s_ctanl.c: Likewise.
51665         * math/math_private.h: Define __nan, __nanf, __nanl.
51666         * math/s_cacosh.c: Include <math_private.h>.
51667         * math/s_cacoshl.c: Likewise.
51668         * math/s_casinh.c: Likewise.
51669         * math/s_casinhf.c: Likewise.
51670         * math/s_casinhl.c: Likewise.
51671         * math/s_ccos.c: Rely entire on ccosh.
51672         * math/s_ccosf.c: Rely entire on ccoshf.
51673         * math/s_ccosl.c: Rely entirely on ccoshl.
51674         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
51675         Remove tests for FE_INVALID.
51676         * math/s_ccoshf.c: Likewise.
51677         * math/s_ccoshl.c: Likewise.
51678         * math/s_csin.c: Likewise.
51679         * math/s_csinf.c: Likewise.
51680         * math/s_csinh.c Likewise.
51681         * math/s_csinhf.c: Likewise.
51682         * math/s_csinhl.c: Likewise.
51683         * math/s_csinl.c: Likewise.
51684         * math/s_ctan.c: Likewise.
51685         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51686         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51687         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51689 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
51691         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51692         compilation problems.
51694         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51695         __builtin_expect.
51697 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
51699         * sysdeps/i386/configure.in: Test for -mfma4 option.
51700         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51701         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51702         COMMON_CPUID_INDEX_80000001.
51703         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51704         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51705         use it if FMA3 is not supported.
51706         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51708         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51709         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51711 2011-10-20  Andreas Schwab  <schwab@redhat.com>
51713         [BZ #12892]
51714         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51715         it would create a cycle with a link time dependency.
51717 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
51719         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51720         instruction.
51721         * string/Makefile (strop-tests): Add rawmemchr.
51722         * string/test-rawmemchr.c: New file.
51724         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51725         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
51726         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
51727         when compiling str{,n}casecmp and when AVX is available.  Hook up
51728         new optimized code in initializers.
51730 2011-10-19  Andreas Schwab  <schwab@redhat.com>
51732         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51733         __feraiseexcept instead of feraiseexcept.
51735 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
51737         * math/math_private.h: Define defaults for libc_fetestexcept and
51738         libc_feupdateenv.
51739         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51740         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51741         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51742         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51743         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51744         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51745         libc_fetestexcept and libc_feupdateenv.
51747         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51748         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51749         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51750         * sysdeps/x86_64/fpu/math_private.h: Define special version of
51751         libc_feholdexcept_setround.
51753         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51754         Add s_nearbyint-c and s_nearbyintf-c.
51755         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51756         nearbyintf inlines.
51757         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51758         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51759         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51760         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51762         * math/math_private.h: Define defaults for libc_fegetround,
51763         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51764         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51765         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51766         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51767         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51768         standard functions.
51769         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51770         Remove comments and hacks for old compiler versions.
51771         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51772         libc_fegetround, libc_fesetround, libc_feholdexcept, and
51773         libc_feholdexceptl.
51775 2011-10-18  Andreas Schwab  <schwab@redhat.com>
51777         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51778         (__feraiseexcept_renamed): Add __NTH.
51779         (feraiseexcept): Add __NTH.  Rename local variables to fix
51780         namespace violations.
51782 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
51784         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51786         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51788         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51789         recently added interfaces.
51790         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51792         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51793         about macro parameter expansion.
51795         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51796         __NO_MATH_INLINES is defined.  Cleanups.
51798         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51799         and __floorf is target has SSE4.1.
51800         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51801         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51802         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51803         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51805         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51806         name.
51807         (floorf): Likewise.
51809         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51811 2011-10-17  Andreas Schwab  <schwab@redhat.com>
51813         * misc/sys/cdefs.h: Fix last change.
51815         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51816         database lookup.
51818 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
51820         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51822         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51823         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51824         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51825         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51826         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51827         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51828         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51829         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51830         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51831         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51832         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51833         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51834         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51835         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51836         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51837         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51838         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51839         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51840         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51841         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51842         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51843         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51845         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51846         ceil, ceilf, floor, floorf.
51848         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51849         Perform IRELATIVE relocations last.
51851         * elf/do-rel.h: Add another parameter nrelative, replacing the
51852         local variable with the same name.  Change name of the function
51853         to end in Rel or Rela (uppercase).
51854         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51855         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
51856         elf_dynamic_do_##reloc function.
51858 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51860         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51861         is sufficient, at least on modern CPUs.
51863         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51865         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51866         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51868         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51869         __expl_finite.
51870         * math/bits/math-finite.h: Add entries for exp.
51871         * math/e_expl.c: Add __*_finite alias.
51872         * sysdeps/i386/fpu/e_exp.S: Likewise.
51873         * sysdeps/i386/fpu/e_expf.S: Likewise.
51874         * sysdeps/i386/fpu/e_expl.c: Likewise.
51875         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51876         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51877         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51878         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51879         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51880         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51881         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51883         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51884         is sufficient, at least on modern CPUs.
51886         * ctype/ctype-info.c (__ctype_init): Define.
51887         * include/ctype.h (__ctype_init): Declare.
51888         (__ctype_b_loc): The variable is always initialized.
51889         (__ctype_toupper_loc): Likewise.
51890         (__ctype_tolower_loc): Likewise.
51891         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51892         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51894 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
51896         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51898         * configure.in: Also look in $cxxmachine/include for C++ system
51899         headers.
51901 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51903         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51904         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51905         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51906         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
51907         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51908         (USE_AS_WMEMCMP): New macro.
51909         Fixing indents.
51910         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51911         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51912         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51913         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51914         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51915         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51916         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51917         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51918         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51919         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51920         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51921         (USE_AS_WMEMCMP): New macro.
51922         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51923         * sysdeps/string/test-memcmp.c: Update.
51924         Fix simple_wmemcmp.
51925         Add new tests.
51926         * wcsmbs/wmemcmp.c: Update.
51927         (WMEMCMP): New macro.
51928         Fix overflow bug.
51930 2011-10-12  Andreas Jaeger  <aj@suse.de>
51932         [BZ #13268]
51933         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51935 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51937         * libio/iofwide.c (do_length): Avoid warning.
51939         * ctype/ctype.h (__isctype_f): Add missing __THROW.
51941 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
51943         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51945         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51946         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51947         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51948         * sysdeps/i386/i686/fpu/e_log.S: New file.
51949         * sysdeps/i386/i686/fpu/e_logf.S: New file.
51950         * sysdeps/i386/i686/fpu/e_logl.S: New file.
51952         * ctype/ctype.h: Add support for inlined isXXX functions when
51953         compiling C++ code.
51955 2011-10-14  Andreas Schwab  <schwab@redhat.com>
51957         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51959         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51961 2011-10-13  Roland McGrath  <roland@hack.frob.com>
51963         [BZ #13291]
51964         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51966 2011-10-13  Andreas Schwab  <schwab@redhat.com>
51968         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51969         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51970         feraiseexcept.
51972         * sysdeps/x86_64/memrchr.S: Check for zero size.
51974         * string/stratcliff.c: Add memrchr tests.
51976 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51978         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51979         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51980         rawmemchr-sse2 rawmemchr-sse2-bsf.
51981         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51982         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51983         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51984         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51985         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51986         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51987         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51988         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51989         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51990         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51991         * string/memrchr.c (MEMRCHR): New macro.
51993 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
51995         Add integration with gcc's -ffinite-math-only and optimize wrapper
51996         functions in libm.
51997         * Versions.def: Define GLIBC_2.15 version for libm.
51998         * math/Makefile (headers): Add bits/math-finite.h.
51999         * math/bits/math-finite.h: New file.
52000         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52001         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52002         * math/e_acoshl.c: Add __*_finite alias.
52003         * math/e_acosl.c: Likewise.
52004         * math/e_asinl.c: Likewise.
52005         * math/e_atan2l.c: Likewise.
52006         * math/e_atanhl.c: Likewise.
52007         * math/e_coshl.c: Likewise.
52008         * math/e_exp10.c: Likewise.
52009         * math/e_exp10f.c: Likewise.
52010         * math/e_exp10l.c: Likewise.
52011         * math/e_exp2l.c: Likewise.
52012         * math/e_fmodl.c: Likewise.
52013         * math/e_gammal_r.c: Likewise.
52014         * math/e_hypotl.c: Likewise.
52015         * math/e_j0l.c: Likewise.
52016         * math/e_j1l.c: Likewise.
52017         * math/e_jnl.c: Likewise.
52018         * math/e_lgammal_r.c: Likewise.
52019         * math/e_log10l.c: Likewise.
52020         * math/e_log2l.c: Likewise.
52021         * math/e_logl.c: Likewise.
52022         * math/e_powl.c: Likewise.
52023         * math/e_sinhl.c: Likewise.
52024         * math/e_sqrtl.c: Likewise.
52025         * math/e_scalb.c: Completely rewritten and optimized.
52026         * math/e_scalbf.c: Likewise.
52027         * math/e_scalbl.c: Likewise.
52028         * math/w_acos.c: Likewise.
52029         * math/w_acosf.c: Likewise.
52030         * math/w_acosl.c: Likewise.
52031         * math/w_acosh.c: Likewise.
52032         * math/w_acoshf.c: Likewise.
52033         * math/w_acoshl.c: Likewise.
52034         * math/w_asin.c: Likewise.
52035         * math/w_asinf.c: Likewise.
52036         * math/w_asinl.c: Likewise.
52037         * math/w_atan2.c: Likewise.
52038         * math/w_atan2f.c: Likewise.
52039         * math/w_atan2l.c: Likewise.
52040         * math/w_atanh.c: Likewise.
52041         * math/w_atanhf.c: Likewise.
52042         * math/w_atanhl.c: Likewise.
52043         * math/w_exp10.c: Likewise.
52044         * math/w_exp10f.c: Likewise.
52045         * math/w_exp10l.c: Likewise.
52046         * math/w_fmod.c: Likewise.
52047         * math/w_fmodf.c: Likewise.
52048         * math/w_fmodl.c: Likewise.
52049         * math/w_j0.c: Likewise.
52050         * math/w_j0f.c: Likewise.
52051         * math/w_j0l.c: Likewise.
52052         * math/w_j1.c: Likewise.
52053         * math/w_j1f.c: Likewise.
52054         * math/w_j1l.c: Likewise.
52055         * math/w_jn.c: Likewise.
52056         * math/w_jnf.c: Likewise.
52057         * math/w_log.c: Likewise.
52058         * math/w_logf.c: Likewise.
52059         * math/w_logl.c: Likewise.
52060         * math/w_log10.c: Likewise.
52061         * math/w_log10f.c: Likewise.
52062         * math/w_log10l.c: Likewise.
52063         * math/w_log2.c: Likewise.
52064         * math/w_log2f.c: Likewise.
52065         * math/w_log2l.c: Likewise.
52066         * math/w_pow.c: Likewise.
52067         * math/w_powf.c: Likewise.
52068         * math/w_powl.c: Likewise.
52069         * math/w_remainder.c: Likewise.
52070         * math/w_remainderf.c: Likewise.
52071         * math/w_remainderl.c: Likewise.
52072         * math/w_scalb.c: Likewise.
52073         * math/w_scalbf.c: Likewise.
52074         * math/w_scalbl.c: Likewise.
52075         * math/w_sqrt.c: Likewise.
52076         * math/w_sqrtf.c: Likewise.
52077         * math/w_sqrtl.c: Likewise.
52078         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52079         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
52080         used.
52081         * math/math_private.h: Declare __kernel_standard_f.
52082         * math/w_cosh.c: Remove cruft and optimize a bit.
52083         * math/w_coshf.c: Likewise.
52084         * math/w_coshl.c: Likewise.
52085         * math/w_exp2.c: Likewise.
52086         * math/w_exp2f.c: Likewise.
52087         * math/w_exp2l.c: Likewise.
52088         * math/w_hypot.c: Likewise.
52089         * math/w_hypotf.c: Likewise.
52090         * math/w_hypotl.c: Likewise.
52091         * math/w_lgamma.c: Likewise.
52092         * math/w_lgamma_r.c: Likewise.
52093         * math/w_lgammaf.c: Likewise.
52094         * math/w_lgammaf_r.c: Likewise.
52095         * math/w_lgammal.c: Likewise.
52096         * math/w_lgammal_r.c: Likewise.
52097         * math/w_sinh.c: Likewise.
52098         * math/w_sinhf.c: Likewise.
52099         * math/w_sinhl.c: Likewise.
52100         * math/w_tgamma.c: Likewise.
52101         * math/w_tgammaf.c: Likewise.
52102         * math/w_tgammal.c: Likewise.
52103         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52104         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52105         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52106         Minor optimizations.  Pretty printing.  Remove cruft.
52107         * sysdeps/i386/fpu/e_acosf.S: Likewise.
52108         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52109         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52110         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52111         * sysdeps/i386/fpu/e_acosl.c: Likewise.
52112         * sysdeps/i386/fpu/e_asin.S: Likewise.
52113         * sysdeps/i386/fpu/e_asinf.S: Likewise.
52114         * sysdeps/i386/fpu/e_atan2.S: Likewise.
52115         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52116         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52117         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52118         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52119         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52120         * sysdeps/i386/fpu/e_exp10.S: Likewise.
52121         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52122         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52123         * sysdeps/i386/fpu/e_exp2.S: Likewise.
52124         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52125         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52126         * sysdeps/i386/fpu/e_fmod.S: Likewise.
52127         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52128         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52129         * sysdeps/i386/fpu/e_hypot.S: Likewise.
52130         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52131         * sysdeps/i386/fpu/e_log.S: Likewise.
52132         * sysdeps/i386/fpu/e_log10.S: Likewise.
52133         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52134         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52135         * sysdeps/i386/fpu/e_log2.S: Likewise.
52136         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52137         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52138         * sysdeps/i386/fpu/e_logf.S: Likewise.
52139         * sysdeps/i386/fpu/e_logl.S: Likewise.
52140         * sysdeps/i386/fpu/e_pow.S: Likewise.
52141         * sysdeps/i386/fpu/e_powf.S: Likewise.
52142         * sysdeps/i386/fpu/e_powl.S: Likewise.
52143         * sysdeps/i386/fpu/e_remainder.S: Likewise.
52144         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52145         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52146         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52147         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52148         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52149         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52150         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52151         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52152         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52153         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52154         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52155         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52156         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52157         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52158         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52159         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52160         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52161         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52162         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52163         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52164         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52165         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52166         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52167         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52168         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52169         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52170         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52171         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52172         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52173         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52174         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52175         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52176         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52177         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52178         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52179         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52180         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52181         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52182         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52183         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52184         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52185         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52186         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52187         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52188         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52189         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52190         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52191         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52192         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52193         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52194         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52195         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52196         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52197         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52198         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52199         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52200         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52201         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52202         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52203         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52204         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52205         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52206         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52207         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52208         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52209         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52210         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52211         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52212         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52213         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52214         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52215         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52216         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52217         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52218         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52219         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52220         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52221         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52222         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52223         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52224         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52225         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52226         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52227         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52228         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52229         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52230         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52231         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52232         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52233         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52234         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52235         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52236         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52237         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52238         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52239         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52240         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52241         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52242         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52243         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52244         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52245         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52246         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52247         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52248         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52249         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52250         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52251         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52252         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52253         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52254         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52255         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52256         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52257         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52258         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52259         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52260         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52261         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52262         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
52263         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52264         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52265         (__isnanf): Likewise.
52266         (__isinf_ns): Likewise.
52267         (__isinf_nsf): Likewise.
52268         (__finite): Likewise.
52269         (__finitef): Likewise.
52270         (__ieee754_sqrt): Define as macro.
52271         (__ieee754_sqrtf): Define as macro.
52272         (__ieee754_sqrtl): Define as macro.
52273         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52274         inlined copy.
52275         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52276         __FINITE_MATH_ONLY__ consistent.
52277         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52279 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
52281         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52282         of rawmemchr.
52284         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52286 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
52288         * po/ja.po: Update from translation team.
52290 2011-10-08  Roland McGrath  <roland@hack.frob.com>
52292         * locale/programs/locarchive.c (prepare_address_space): New function.
52293         (create_archive, enlarge_archive, open_archive): Use it.
52295         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52296         inside [SHARED], where it is used.
52298         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52300         * nss/getent.c (netgroup_keys): Remove unused variable.
52301         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52303 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
52305         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52306         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52307         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52308         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52309         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52310         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52311         * math/Makefile (libm-calls): Add s_isinf_ns.
52312         * math/divtc3.c: Use __isinf_nsl instead of isinf.
52313         * math/multc3.c: Likewise.
52314         * math/s_casin.c: Likewise.
52315         * math/s_casinf.c: Likewise.
52316         * math/s_casinl.c: Likewise.
52317         * math/s_ccos.c: Likewise.
52318         * math/s_ccosf.c: Likewise.
52319         * math/s_ccosl.c: Likewise.
52320         * math/s_ctan.c: Likewise.
52321         * math/s_ctanf.c: Likewise.
52322         * math/s_ctanh.c: Likewise.
52323         * math/s_ctanhf.c: Likewise.
52324         * math/s_ctanhl.c: Likewise.
52325         * math/s_ctanl.c: Likewise.
52326         * math/w_fmod.c: Likewise.
52327         * math/w_fmodf.c: Likewise.
52328         * math/w_fmodl.c: Likewise.
52329         * math/w_remainder.c: Likewise.
52330         * math/w_remainderf.c: Likewise.
52331         * math/w_remainderl.c: Likewise.
52332         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52333         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52334         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52335         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52336         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52337         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52338         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52339         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52341         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52342         of the number.
52343         * stdio-common/printf_fphex.c: Likewise.
52344         * stdio-common/printf_size.c: Likewise.
52346         * math/e_exp10.c: Include math_private.h using <...> not "...".
52347         * math/e_exp10f.c: Likewise.
52348         * math/e_exp10l.c: Likewise.
52349         * math/e_exp2l.c: Likewise.
52350         * math/e_j0l.c: Likewise.
52351         * math/e_j1l.c: Likewise.
52352         * math/e_jnl.c: Likewise.
52353         * math/e_lgammal_r.c: Likewise.
52354         * math/e_rem_pio2l.c: Likewise.
52355         * math/e_scalb.c: Likewise.
52356         * math/e_scalbf.c: Likewise.
52357         * math/e_scalbl.c: Likewise.
52358         * math/k_cosl.c: Likewise.
52359         * math/k_sinl.c: Likewise.
52360         * math/k_tanl.c: Likewise.
52361         * math/s_cacoshf.c: Likewise.
52362         * math/s_catan.c: Likewise.
52363         * math/s_catanf.c: Likewise.
52364         * math/s_catanh.c: Likewise.
52365         * math/s_catanhf.c: Likewise.
52366         * math/s_catanhl.c: Likewise.
52367         * math/s_catanl.c: Likewise.
52368         * math/s_ccosh.c: Likewise.
52369         * math/s_ccoshf.c: Likewise.
52370         * math/s_ccoshl.c: Likewise.
52371         * math/s_cexp.c: Likewise.
52372         * math/s_cexpf.c: Likewise.
52373         * math/s_cexpl.c: Likewise.
52374         * math/s_clog.c: Likewise.
52375         * math/s_clog10.c: Likewise.
52376         * math/s_clog10f.c: Likewise.
52377         * math/s_clog10l.c: Likewise.
52378         * math/s_clogf.c: Likewise.
52379         * math/s_clogl.c: Likewise.
52380         * math/s_csin.c: Likewise.
52381         * math/s_csinf.c: Likewise.
52382         * math/s_csinh.c: Likewise.
52383         * math/s_csinhf.c: Likewise.
52384         * math/s_csinhl.c: Likewise.
52385         * math/s_csinl.c: Likewise.
52386         * math/s_csqrt.c: Likewise.
52387         * math/s_csqrtf.c: Likewise.
52388         * math/s_csqrtl.c: Likewise.
52389         * math/s_ctan.c: Likewise.
52390         * math/s_ctanf.c: Likewise.
52391         * math/s_ctanh.c: Likewise.
52392         * math/s_ctanhf.c: Likewise.
52393         * math/s_ctanhl.c: Likewise.
52394         * math/s_ctanl.c: Likewise.
52395         * math/s_ldexp.c: Likewise.
52396         * math/s_ldexpf.c: Likewise.
52397         * math/s_ldexpl.c: Likewise.
52398         * math/s_significand.c: Likewise.
52399         * math/s_significandf.c: Likewise.
52400         * math/s_significandl.c: Likewise.
52401         * math/w_acos.c: Likewise.
52402         * math/w_acosf.c: Likewise.
52403         * math/w_acosh.c: Likewise.
52404         * math/w_acoshf.c: Likewise.
52405         * math/w_acoshl.c: Likewise.
52406         * math/w_acosl.c: Likewise.
52407         * math/w_asin.c: Likewise.
52408         * math/w_asinf.c: Likewise.
52409         * math/w_asinl.c: Likewise.
52410         * math/w_atan2.c: Likewise.
52411         * math/w_atan2f.c: Likewise.
52412         * math/w_atan2l.c: Likewise.
52413         * math/w_atanh.c: Likewise.
52414         * math/w_atanhf.c: Likewise.
52415         * math/w_atanhl.c: Likewise.
52416         * math/w_cosh.c: Likewise.
52417         * math/w_coshf.c: Likewise.
52418         * math/w_coshl.c: Likewise.
52419         * math/w_dremf.c: Likewise.
52420         * math/w_exp10.c: Likewise.
52421         * math/w_exp10f.c: Likewise.
52422         * math/w_exp10l.c: Likewise.
52423         * math/w_exp2.c: Likewise.
52424         * math/w_exp2f.c: Likewise.
52425         * math/w_fmod.c: Likewise.
52426         * math/w_fmodf.c: Likewise.
52427         * math/w_fmodl.c: Likewise.
52428         * math/w_hypot.c: Likewise.
52429         * math/w_hypotf.c: Likewise.
52430         * math/w_hypotl.c: Likewise.
52431         * math/w_j0.c: Likewise.
52432         * math/w_j0f.c: Likewise.
52433         * math/w_j0l.c: Likewise.
52434         * math/w_j1.c: Likewise.
52435         * math/w_j1f.c: Likewise.
52436         * math/w_j1l.c: Likewise.
52437         * math/w_jn.c: Likewise.
52438         * math/w_jnf.c: Likewise.
52439         * math/w_jnl.c: Likewise.
52440         * math/w_lgamma.c: Likewise.
52441         * math/w_lgamma_r.c: Likewise.
52442         * math/w_lgammaf.c: Likewise.
52443         * math/w_lgammaf_r.c: Likewise.
52444         * math/w_lgammal.c: Likewise.
52445         * math/w_lgammal_r.c: Likewise.
52446         * math/w_log.c: Likewise.
52447         * math/w_log10.c: Likewise.
52448         * math/w_log10f.c: Likewise.
52449         * math/w_log10l.c: Likewise.
52450         * math/w_log2.c: Likewise.
52451         * math/w_log2f.c: Likewise.
52452         * math/w_log2l.c: Likewise.
52453         * math/w_logf.c: Likewise.
52454         * math/w_logl.c: Likewise.
52455         * math/w_pow.c: Likewise.
52456         * math/w_powf.c: Likewise.
52457         * math/w_powl.c: Likewise.
52458         * math/w_remainder.c: Likewise.
52459         * math/w_remainderf.c: Likewise.
52460         * math/w_remainderl.c: Likewise.
52461         * math/w_scalb.c: Likewise.
52462         * math/w_scalbf.c: Likewise.
52463         * math/w_scalbl.c: Likewise.
52464         * math/w_sinh.c: Likewise.
52465         * math/w_sinhf.c: Likewise.
52466         * math/w_sinhl.c: Likewise.
52467         * math/w_sqrt.c: Likewise.
52468         * math/w_sqrtf.c: Likewise.
52469         * math/w_sqrtl.c: Likewise.
52470         * math/w_tgamma.c: Likewise.
52471         * math/w_tgammaf.c: Likewise.
52472         * math/w_tgammal.c: Likewise.
52474         * po/ja.po: Update from translation team.
52476 2011-09-29  Andreas Jaeger  <aj@suse.de>
52478         [BZ #13179]
52479         * sunrpc/netname.c (netname2host): Fix logic.
52481         [BZ #6779]
52482         [BZ #6783]
52483         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52484         correctly.
52485         * math/w_remainder.c (__remainder): Likewise.
52486         * math/w_remainderf.c (__remainderf): Likewise.
52487         * math/libm-test.inc (remainder_test): Add test cases.
52489 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52491         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
52492         sdiv_qrnnd.
52494 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52496         * string/test-memcmp.c: Avoid unncessary #defines.
52497         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52499 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52501         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52502         Use new sse2 version for core i3 - i7 as it's faster
52503         than sse42 version.
52504         (bit_Prefer_PMINUB_for_stringop): New.
52505         * sysdeps/x86_64/rawmemchr.S: Update.
52506         Replace with faster SSE2 version.
52507         * sysdeps/x86_64/memrchr.S: New file.
52508         * sysdeps/x86_64/memchr.S: Update.
52509         Replace with faster SSE2 version.
52511 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
52513         * elf/dl-load.c (lose): Add cast to avoid warning.
52515 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52517         * po/ca.po: Update from translation team.
52519         * inet/getnetgrent_r.c: Hook up nscd.
52520         * nscd/Makefile (routines): Add nscd_netgroup.
52521         (nscd-modules): Add netgroupcache.
52522         (CFLAGS-netgroupcache.c): Define.
52523         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52524         (cache_search): Add const to second parameter.
52525         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52526         INNETGR.
52527         (dbs): Add netgrdb entry.
52528         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52529         (verify_persistent_db): Handle netgrdb.
52530         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52531         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52532         GETFDNETGR.
52533         (netgroup_response_header): Define.
52534         (innetgroup_response_header): Define.
52535         (datahead): Add netgroup_response_header and innetgroup_response_header
52536         elements.
52537         * nscd/nscd.conf: Add entries for netgroup cache.
52538         * nscd/nscd.h (dbtype): Add netgrdb.
52539         (_PATH_NSCD_NETGROUP_DB): Define.
52540         (netgroup_iov_disabled): Declare.
52541         (xmalloc, xcalloc, xrealloc): Move declarations here.
52542         (cache_search): Adjust prototype.
52543         Add netgroup-related prototypes.
52544         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52545         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52546         (__nscd_innetgr): Declare.
52547         * nscd/selinux.c (perms): Use access_vector_t as element type and
52548         add netgroup-related initializers.
52549         * nscd/netgroupcache.c: New file.
52550         * nscd/nscd_netgroup.c: New file.
52551         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52552         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52553         For four parameters use innetgr.
52554         * nss/nss_files/files-init.c: Add definition and callback for netgr.
52555         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52556         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52557         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52559         * nscd/connections.c (register_traced_file): Don't register file
52560         for disabled databases.
52562 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
52564         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52566         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52567         from tree and freeing node.
52569 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
52571         * nss/nsswitch.c (__nss_database_lookup): Handle
52572         nss_parse_service_list out of memory case.
52574 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
52576         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52577         out of memory case.
52579 2011-10-04  Andreas Schwab  <schwab@redhat.com>
52581         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52582         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52583         pass it down.
52584         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52585         elf_machine_rela, elf_machine_lazy_rel.
52586         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52587         (ELF_DYNAMIC_DO_REL): Likewise.
52588         (ELF_DYNAMIC_DO_RELA): Likewise.
52589         (ELF_DYNAMIC_RELOCATE): Likewise.
52590         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52591         to ELF_DYNAMIC_DO_REL.
52592         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52593         (dl_main): In trace mode always set __RTLD_NOIFUNC.
52594         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52595         elf_machine_rela.
52596         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52597         skip_ifunc, don't call ifunc function if non-zero.
52598         (elf_machine_rela): Likewise.
52599         (elf_machine_lazy_rel): Likewise.
52600         (elf_machine_lazy_rela): Likewise.
52601         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52602         (elf_machine_lazy_rel): Likewise.
52603         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52604         Likewise.
52605         (elf_machine_lazy_rel): Likewise.
52606         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52607         Likewise.
52608         (elf_machine_lazy_rel): Likewise.
52609         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52610         (elf_machine_lazy_rel): Likewise.
52611         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52612         (elf_machine_lazy_rel): Likewise.
52613         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52614         (elf_machine_lazy_rel): Likewise.
52615         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52616         (elf_machine_lazy_rel): Likewise.
52617         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52618         (elf_machine_lazy_rel): Likewise.
52619         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52620         (elf_machine_lazy_rel): Likewise.
52622 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
52624         * nss/nss_files/files-init.c (_nss_files_init): Use static
52625         initialization for all the *_traced_file variables.
52627 2011-09-28  Andreas Schwab  <schwab@redhat.com>
52629         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52631 2011-09-27  Roland McGrath  <roland@hack.frob.com>
52633         [BZ #13226]
52634         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52636 2011-09-27  Andreas Schwab  <schwab@redhat.com>
52638         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52639         Reread the line before reparsing it.
52641 2011-09-26  Andreas Schwab  <schwab@redhat.com>
52643         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52645 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
52646             Maxim Kuvyrkov  <maxim@codesourcery.com>
52647             Joseph Myers  <joseph@codesourcery.com>
52649         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52650         if needed for __stack_chk_guard.
52652 2011-09-19  Roland McGrath  <roland@hack.frob.com>
52654         * sysdeps/posix/spawni.c (script_execute): Always define it.
52655         It will be optimized away if unused.
52656         (maybe_script_execute): New function.
52657         (__spawni): Call it.
52659         * Makerules: Don't include tls.make.
52660         (config-tls): Always set to thread.
52661         * tls.make.c: File removed.
52663 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
52665         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52666         * config.make.in (CPPFLAGS-config): New substituted variable.
52668 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52670         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52672         [BZ #13192]
52673         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52674         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52676 2011-09-15  Roland McGrath  <roland@hack.frob.com>
52678         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52679         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52680         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52681         (CALL_FAIL): Likewise.
52682         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52683         (CALL_FAIL): Macro removed.
52684         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52686 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52688         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52689         for __FINITE_MATH_ONLY__ == 1.
52691 2011-09-15  Andreas Schwab  <schwab@redhat.com>
52693         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52694         __ieee754_sqrt instead of sqrt.
52695         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52696         __ieee754_sqrtf instead of sqrtf.
52697         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52698         __floorf instead of floorf.
52699         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52700         __floorf, __truncf instead of floorf, truncf.
52702 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
52704         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52706         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52707         __extern_always_inline.
52708         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52709         32-bit.
52711 2011-09-14  Andreas Schwab  <schwab@redhat.com>
52713         * elf/rtld.c (dl_main): Also relocate in dependency order when
52714         doing symbol dependency testing.
52716 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
52718         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52719         Always define `refsym'.
52721 2011-09-13  Andreas Schwab  <schwab@redhat.com>
52723         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52724         (__FD_ELT): Renamed from __FDELT.
52725         * misc/bits/select2.h (__FD_ELT): Likewise.
52726         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52727         __FD_MASK instead of __FDELT, __FDMASK.
52728         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52729         Likewise.
52730         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52731         Likewise.
52733         * elf/Makefile (gen-ldd): Fix pattern.
52735         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52736         (init_tls): Likewise.
52738 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
52740         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52742 2011-09-12  Andreas Schwab  <schwab@redhat.com>
52744         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52745         `struct cmsghdr *' instead of `void *'.
52746         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52747         Likewise.
52749 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
52751         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52752         if non-absolute.
52753         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52754         ldd_rewrite_script.
52756 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
52758         * configure.in: Remove --with-tls option.
52759         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52760         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52761         out in case it is missing.
52762         * sysdeps/ia64/elf/configure.in: Likewise.
52763         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52764         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52765         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52766         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52767         * sysdeps/sh/elf/configure.in: Likewise.
52768         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52769         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52770         * sysdeps/x86_64/elf/configure.in: Likewise.
52771         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52772         * sysdeps/mach/hurd/tls.h: Likewise.
52774         [BZ #13067]
52775         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52777         [BZ #13090]
52778         * configure.in: Fix use of AC_INIT.
52780         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52782 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
52784         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52785         __set_errno.
52786         * malloc/hooks.c: Likewise.
52788         [BZ #11929]
52789         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
52790         variables statically.
52791         (narenas): Initialize.
52792         (list_lock): Initialize.
52793         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
52794         initializtion of main_arena and list_lock.  Small cleanups.
52795         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52796         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
52797         Add initializers to main_arena and mp_.
52798         (malloc_state): Remove pagesize member.  Change all users to use
52799         GLRO(dl_pagesize).
52801         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52802         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
52803         is always initialized.
52805         * malloc/malloc.c: Removed unused configurations and dead code.
52806         * malloc/arena.c: Likewise.
52807         * malloc/hooks.c: Likewise.
52808         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52810         * include/tls.h: Removed.  USE___THREAD must always be defined.
52811         * bits/libc-tsd.h: Don't handle !USE___THREAD.
52812         * elf/dl-libc.c: Likewise.
52813         * elf/dl-tsd.c: Likewise.
52814         * include/errno.h: Likewise.
52815         * include/netdb.h: Likewise.
52816         * include/resolv.h: Likewise.
52817         * inet/herrno-loc.c: Likewise.
52818         * inet/herrno.c: Likewise.
52819         * malloc/arena.c: Likewise.
52820         * malloc/hooks.c: Likewise.
52821         * malloc/malloc.c: Likewise.
52822         * resolv/res-state.c: Likewise.
52823         * resolv/res_libc.c: Likewise.
52824         * sysdeps/i386/dl-machine.h: Likewise.
52825         * sysdeps/ia64/dl-machine.h: Likewise.
52826         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52827         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52828         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52829         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52830         * sysdeps/sh/dl-machine.h: Likewise.
52831         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52832         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52833         * sysdeps/unix/i386/sysdep.S: Likewise.
52834         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52835         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52836         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52837         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52838         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52839         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52840         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52841         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52842         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52843         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52844         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52845         * sysdeps/x86_64/dl-machine.h: Likewise.
52846         * tls.make.c: Likewise.
52848         * configure.in: Remove --with-__thread option.  Make tests for
52849         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52850         tls_model attribute fail if no support is available.  Remove
52851         USE_IN_LIBIO.
52852         * Makeconfig: Adjust for dropped configure option.  All features are
52853         now mandatory.
52854         * Makerules: Likewise.
52855         * Versions.def: Likewise.
52856         * argp/argp-fmtstream.c: Likewise.
52857         * argp/argp-fmtstream.h: Likewise.
52858         * argp/argp-help.c: Likewise.
52859         * assert/assert.c: Likewise.
52860         * config.h.in: Likewise.
52861         * config.make.in: Likewise.
52862         * configure: Likewise.
52863         * configure.in: Likewise.
52864         * csu/Versions: Likewise.
52865         * csu/init.c: Likewise.
52866         * elf/tst-audit2.c: Likewise.
52867         * elf/tst-tls10.c: Likewise.
52868         * elf/tst-tls10.h: Likewise.
52869         * elf/tst-tls11.c: Likewise.
52870         * elf/tst-tls12.c: Likewise.
52871         * elf/tst-tls14.c: Likewise.
52872         * elf/tst-tlsmod11.c: Likewise.
52873         * elf/tst-tlsmod12.c: Likewise.
52874         * elf/tst-tlsmod13.c: Likewise.
52875         * elf/tst-tlsmod13a.c: Likewise.
52876         * elf/tst-tlsmod14a.c: Likewise.
52877         * elf/tst-tlsmod15b.c: Likewise.
52878         * elf/tst-tlsmod16a.c: Likewise.
52879         * elf/tst-tlsmod16b.c: Likewise.
52880         * elf/tst-tlsmod7.c: Likewise.
52881         * elf/tst-tlsmod8.c: Likewise.
52882         * elf/tst-tlsmod9.c: Likewise.
52883         * gmon/gmon.c: Likewise.
52884         * grp/fgetgrent_r.c: Likewise.
52885         * grp/putgrent.c: Likewise.
52886         * hurd/fopenport.c: Likewise.
52887         * include/libc-symbols.h: Likewise.
52888         * include/tls.h: Likewise.
52889         * intl/gettextP.h: Likewise.
52890         * intl/loadinfo.h: Likewise.
52891         * locale/global-locale.c: Likewise.
52892         * locale/localeinfo.h: Likewise.
52893         * mach/devstream.c: Likewise.
52894         * malloc/arena.c: Likewise.
52895         * malloc/set-freeres.c: Likewise.
52896         * misc/err.c: Likewise.
52897         * misc/getttyent.c: Likewise.
52898         * misc/mntent_r.c: Likewise.
52899         * posix/getopt.c: Likewise.
52900         * posix/wordexp.c: Likewise.
52901         * pwd/fgetpwent_r.c: Likewise.
52902         * resolv/Versions: Likewise.
52903         * resolv/res_hconf.c: Likewise.
52904         * shadow/fgetspent_r.c: Likewise.
52905         * shadow/putspent.c: Likewise.
52906         * stdio-common/printf_fphex.c: Likewise.
52907         * stdio-common/tmpfile.c: Likewise.
52908         * stdlib/abort.c: Likewise.
52909         * stdlib/fmtmsg.c: Likewise.
52910         * sunrpc/auth_unix.c: Likewise.
52911         * sunrpc/clnt_perr.c: Likewise.
52912         * sunrpc/clnt_tcp.c: Likewise.
52913         * sunrpc/clnt_udp.c: Likewise.
52914         * sunrpc/clnt_unix.c: Likewise.
52915         * sunrpc/openchild.c: Likewise.
52916         * sunrpc/svc_simple.c: Likewise.
52917         * sunrpc/svc_tcp.c: Likewise.
52918         * sunrpc/svc_udp.c: Likewise.
52919         * sunrpc/svc_unix.c: Likewise.
52920         * sunrpc/xdr.c: Likewise.
52921         * sunrpc/xdr_array.c: Likewise.
52922         * sunrpc/xdr_rec.c: Likewise.
52923         * sunrpc/xdr_ref.c: Likewise.
52924         * sunrpc/xdr_stdio.c: Likewise.
52926 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52928         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52930 2011-07-03  Andreas Jaeger  <aj@suse.de>
52932         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52933         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52934         regenerate with gen-libm-tests.pl.
52936 2010-05-12  Petr Baudis  <pasky@suse.cz>
52938         [BZ #11589]
52939         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52940         around j0() zero points by switching to j1().
52941         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52942         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52943         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52944         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52946 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52948         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52949         instead of 0.
52950         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52951         instead of 0.
52952         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52953         Patch in part by Pavel Roskin <proski@gnu.org>.
52955         [BZ #13138]
52956         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52957         realloc.
52958         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
52959         Free memory block if necessary.
52961         [BZ #12847]
52962         * libio/genops.c (INTDEF): For string streams the _lock pointer can
52963         be NULL.  Don't lock in this case.
52965 2011-09-09  Roland McGrath  <roland@hack.frob.com>
52967         * elf/elf.h (ELFOSABI_GNU): New macro.
52968         (ELFOSABI_LINUX): Define to that.
52970 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
52972         * string/strncat.c (strncat): Undef the symbol in case it has been
52973         defined in bits/string.h.
52975 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52977         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52979         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52980         link map.
52982 2011-08-17  Andreas Jaeger  <aj@suse.de>
52984         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52986 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52987             Ian Lance Taylor  <iant@google.com>
52989         * math/libm-test.inc (lround_test): New testcase.
52990         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52992 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
52994         * Makefile: Remove support for automatic cvs check-ins.
52995         * Makerules: Likewise.
52996         * config.make.in: Likewise.
52997         * configure.in: Likewise.
52998         * intl/Makefile: Likewise.
52999         * locale/Makefile: Likewise.
53000         * po/Makefile: Likewise.
53001         * posix/Makefile: Likewise.
53002         * sysdeps/gnu/Makefile: Likewise.
53003         * sysdeps/mach/hurd/Makefile: Likewise.
53004         * sysdeps/sparc/sparc32/Makefile: Likewise.
53006         [BZ #13118]
53007         * posix/Makefile (bug-regex32-ENV): Define.
53008         Patch by John Stanley <jpsinthemix@verizon.net>.
53010         * misc/Makefile (headers): Add bits/select2.h.
53011         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53012         * misc/bits/select2.h: New file.
53013         * include/bits/select2.h: New file.
53014         * debug/Makefile (routines): Add fdelt_chk.
53015         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53016         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53017         FD_ISSET.
53018         * debug/fdelt_chk.c: New file.
53020         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
53021         * wcsmbs/test-wmemcmp.c: Likewise.
53022         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53023         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53025 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53027         * string/Makefile (strop-tests): Add memcmp.
53028         * string/test-wmemcmp.c: New file.
53029         * string/test-memcmp.c: Add wmemcmp support.
53031 2011-09-08  Roland McGrath  <roland@hack.frob.com>
53033         [BZ #13153]
53034         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53035         2011-07-19 change.
53037         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53038         garbage value in a __mach_port_mod_refs call in the cases of the
53039         task-self and thread-self ports.
53041 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53043         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53045 2011-09-08  Andreas Schwab  <schwab@redhat.com>
53047         * elf/dl-load.c (lose): Check for non-null L.
53049 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53051         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53053         * elf/dl-libc.c (dlerror_run): Pass back error code from
53054         dl_catch_error.
53056         [BZ #13123]
53057         * elf/dl-load.c (lose): Free l_origin if it is valid.
53059         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53060         names.
53061         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53062         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53063         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53064         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53065         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53066         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53068 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53070         * sysdeps/powerpc/fpu/e_hypot.c: New file.
53071         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53072         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53073         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53074         * sysdeps/powerpc/fpu/k_cosf.c: New file.
53075         * sysdeps/powerpc/fpu/k_sinf.c: New file.
53076         * sysdeps/powerpc/fpu/s_cosf.c: New file.
53077         * sysdeps/powerpc/fpu/s_sinf.c: New file.
53078         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53079         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53081 2011-08-15  Alan Modra  <amodra@gmail.com>
53083         [BZ #13092]
53084         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53085         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53086         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
53087         ppc_mcount to static-only-routines.
53088         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53089         __mcount_internal.
53090         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53091         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
53093 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
53095         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53096         for finite and infinity parameters.
53098 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53100         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53101         and add nop instructions for throughput optimization.
53102         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53104 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
53106         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53107         aligned copy for power7 with vector-scalar instructions.
53108         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53110 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
53112         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53113         AVX check.
53115 2011-09-07  Andreas Schwab  <schwab@redhat.com>
53117         [BZ #13144]
53118         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53119         last change.
53121 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53123         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53124         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53125         syscall wrapper around clock_gettime in __vdso_clock_gettime.
53126         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53127         clock_gettime.
53129 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53131         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53132         Forgot to demangle the pointer.
53134         * sysdeps/i386/sysdep.h: Define atom_text_section.
53135         * sysdeps/x86_64/sysdep.h: Likewise.
53136         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53137         section with atom_text_section.
53138         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53139         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53140         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53141         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53142         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53144         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53145         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53146         already be defined.  Change to take two parameters and don't assign
53147         result to variable.  Adjust all users.
53148         Define INTERNAL_GETTIME if not already defined.
53149         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53150         call.
53151         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53152         HAVE_CLOCK_GETTIME_VSYSCALL.
53153         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53155         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53156         gettimeofday vsyscall, just use time.
53158 2011-09-06  Andreas Schwab  <schwab@redhat.com>
53160         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53161         <errno.h>.
53163 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53165         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53166         syscall on x86-64.
53167         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53168         syscall.
53169         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53170         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53171         syscall if possible.
53173 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53175         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53176         e_ident.  Don't pass to find_mapsXX.
53177         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53179 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53182         strchr-sse2-no-bsf strrchr-sse2-no-bsf
53183         * sysdeps/x86_64/multiarch/strchr.S: Update.
53184         Check bit_slow_BSF bit.
53185         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53186         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53187         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53189 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53191         [BZ #13134]
53192         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53193         before glibc 2.15.
53194         (tryshell): Define.
53195         (__spawni): Change last parameter to be flag.  Test
53196         SPAWN_XFLAGS_USE_PATH flag to use path or not.
53197         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53198         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53199         * posix/spawni.c: Likewise.
53200         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53201         * posix/spawnp.c: Likewise.  Change normal version to use
53202         SPAWN_XFLAGS_USE_PATH.
53203         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53204         SPAWN_XFLAGS_TRY_SHELL.
53206         [BZ #13150]
53207         * posix/glob.h: Remove gcc 1.x support.
53209         [BZ #13068]
53210         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53212 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53214         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53215         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53216         strrchr-sse2-bsf
53217         * sysdeps/i386/i686/multiarch/strchr.S: New file.
53218         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53219         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53220         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53221         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53222         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53224 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53226         * sysdeps/x86_64/wcscmp.S: New file.
53228         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53229         wcscmp-c wcscmp-sse2
53230         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53231         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53232         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53233         * wcsmbs/wcscmp.c: Allow renaming.
53235 2011-09-05  David S. Miller  <davem@davemloft.net>
53237         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53238         stack slot, rather than the struct return pointer slot.
53239         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53240         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53242         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53244 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53246         * po/ja.po: Update from translation team.
53248         [BZ #13144]
53249         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53250         kernel in 64-bit binaries.
53252 2011-09-01  David S. Miller  <davem@davemloft.net>
53254         * elf/elf.h (HWCAP_SPARC_*): Move to..
53255         * sysdeps/sparc/sysdep.h: this new file and add new values.
53256         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53257         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53258         _DL_HWCAP_COUNT to 24.
53259         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53260         entries.
53261         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53262         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53263         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53264         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53265         instead of magic constants.
53266         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53268 2011-08-31  David S. Miller  <davem@davemloft.net>
53270         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53271         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53272         Reimplement to do errno handling inline.
53273         (SYSCALL_ERROR_HANDLER): New macro.
53274         (__SYSCALL_STRING): Do not do errno handling in asm.
53275         (__CLONE_SYSCALL_STRING): Delete.
53276         (__INTERNAL_SYSCALL_STRING): Delete.
53277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53278         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53279         (PSEUDO): Reimplement to do errno handling inline.
53280         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53281         (SYSCALL_ERROR_HANDLER): New macro.
53282         (__SYSCALL_STRING): Do not do errno handling in asm.
53283         (__CLONE_SYSCALL_STRING): Delete.
53284         (__INTERNAL_SYSCALL_STRING): Delete.
53285         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53286         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53287         i386.
53288         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53289         (inline_syscall*): Add 'err' argument.
53290         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53291         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53292         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53293         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53295         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53296         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53298 2011-08-30  Andreas Schwab  <schwab@redhat.com>
53300         * elf/rtld.c (dl_main): Relocate objects in dependency order.
53302 2011-08-29  Jiri Olsa <jolsa@redhat.com>
53304         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53305         directive.
53307 2011-08-24  David S. Miller  <davem@davemloft.net>
53309         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53311 2011-08-24  Andreas Schwab  <schwab@redhat.com>
53313         * elf/Makefile: Add rules to build and run unload8 test.
53314         * elf/unload8.c: New file.
53315         * elf/unload8mod1.c: New file.
53316         * elf/unload8mod1x.c: New file.
53317         * elf/unload8mod2.c: New file.
53318         * elf/unload8mod3.c: New file.
53320         * elf/dl-close.c (_dl_close_worker): Reset private search list if
53321         it wasn't used.
53323 2011-08-23  David S. Miller  <davem@davemloft.net>
53325         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53326         subtract stack bias.
53327         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53328         %sp not %fp in calculations.
53329         (_JMPBUF_UNWINDS_ADJ): Likewise.
53331         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53332         (aio_suspend): Call it to force an exception region around the
53333         AIO_MISC_WAIT() invocation.
53335 2011-08-23  Andreas Schwab  <schwab@redhat.com>
53337         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53338         backslash.
53340 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
53342         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53343         protection macro.
53344         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53345         and <dl-machine.h>.
53346         (Elf64_FuncDesc): Remove.
53348 2011-08-22  David S. Miller  <davem@davemloft.net>
53350         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53351         sigaltstack check, add missing cfi directives.
53352         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53353         missing cfi directives, and sigaltstack handling.
53355 2011-08-16  Andreas Schwab  <schwab@redhat.com>
53357         [BZ #11724]
53358         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53359         object is seen twice.
53360         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53362         * elf/Makefile (distribute): Add tst-initorder2.c.
53363         (tests): Add tst-initorder2.
53364         (modules-names): Add tst-initorder2a tst-initorder2b
53365         tst-initorder2c tst-initorder2d.  Add rules to build them.
53366         ($(objpfx)tst-initorder2.out): New rule.
53367         * elf/tst-initorder2.c: New file.
53368         * elf/tst-initorder2.exp: New file.
53370 2011-08-22  Andreas Schwab  <schwab@redhat.com>
53372         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53374         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53375         dependencies back to end of function.
53377         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53378         $(elfobjdir)/ld.so.
53380 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
53382         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53383         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53384         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53385         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53386         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53387         of __vdso_gettimeofday.
53388         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53389         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
53390         attribute_hidden.
53391         (_libc_vdso_platform_setup): Remove initialization of
53392         __vdso_gettimeofday and __vdso_time.
53394 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
53396         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53397         and fgetc_unlocked.
53398         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53399         getc_unlocked.
53401         * elf/dl-open.c (add_to_global): Report additions to the global scope
53402         for LD_DEBUG=scopes.
53403         (dl_open_worker): Also print scope of newly loaded dependencies.
53404         (_dl_show_scope): Indicate if there is no scope.
53406         [BZ #13114]
53407         * stdio-common/Makefile (tests): Add bug24.
53408         * stdio-common/bug24.c: New file.
53410 2011-08-19  Andreas Jaeger  <aj@suse.de>
53412         [BZ #13114]
53413         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53414         non-existant file when using close-on-exec mode.
53416 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
53418         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53419         the very first instruction.
53421         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53422         the CFI state in the end.
53423         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53424         inclusion of dl-trampoline.h.
53425         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53427 2011-08-19  Andreas Schwab  <schwab@redhat.com>
53429         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53430         expectations for long double.
53432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53433         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53435 2011-08-14  David S. Miller  <davem@davemloft.net>
53437         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53438         artificual limit depends upon the system page size.
53440 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
53442         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53443         * resolv/Makefile: Define CFLAGS-libresolv.
53445 2011-08-17  Andreas Schwab  <schwab@redhat.com>
53447         * nss/makedb.c (compute_tables): Make variables used in nested
53448         function static.
53450 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
53452         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53453         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53454         if buffer was too small.
53456         * elf/pldd.c (main): Attach to all threads in the process.
53457         Rewrite /proc handling to use *at functions.
53459 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
53461         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53462         specifies first scope to show.
53463         (dl_open_worker): Update callers.  Move printing scope of new
53464         object to before the relocation.
53465         * elf/rtld.c (dl_main): Update _dl_show_scope call.
53466         * sysdeps/generic/ldsodefs.h: Update declaration.
53468         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53469         string for the scope number.
53471 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
53473         * nscd/servicescache.c (cache_addserv): Make sure written is always
53474         initialized.
53476 2011-08-14  Roland McGrath  <roland@hack.frob.com>
53478         * sysdeps/i386/i486/bits/atomic.h
53479         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53480         statement expression, so as to suppress "set but not used" warning.
53481         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53483         * string/strncat.c (STRNCAT): Use prototype definition.
53485         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53486         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53487         -Iprograms here.
53488         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53489         (localedef-modules): Add localedef.
53490         (locale-modules): Add locale.
53492         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53493         * elf/rtld.c (dl_main): Invert order of assignment in last change,
53494         to avoid a warning.
53496 2011-08-14  David S. Miller  <davem@davemloft.net>
53498         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53499         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53501 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
53503         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53504         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53505         * elf/rtld.c (dl_main): Set l_name of vDSO.
53506         Call _dl_show_scope when DL_DEBUG_SCOPES.
53507         (process_dl_debug): Recognize scopes flag and also set it for all.
53508         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53509         Declare _dl_show_scope.
53511         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53512         (do_dlopen): Pass caller_dlopen to dl_open.
53513         (__libc_dlopen_mode): Initialize caller_dlopen.
53515         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53516         of libc.  Make tolower call locale-independent.  Optimize a bit by
53517         using isdigit instead of isalnum.
53518         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53520 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
53522         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53523         was a dependency or dynamically loaded.
53525 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
53527         * intl/l10nflist.c: Allow architecture-specific pop function.
53528         * sysdeps/x86_64/l10nflist.c: New file.
53530         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53531         classification.
53533 2011-08-10  Andreas Schwab  <schwab@redhat.com>
53535         * include/dirent.h: Add libc_hidden_proto for scandirat and
53536         scandirat64.  Don't declare __scandirat64.
53537         * dirent/scandirat.c: Add libc_hidden_def.
53538         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53539         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53541 2011-08-10  David S. Miller  <davem@davemloft.net>
53543         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53544         enum.
53545         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53546         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53547         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53549 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
53551         * Versions.def [libc]: Add GLIBC_2.15.
53552         * dirent/Makefile (routines): Add scandirat and scandirat64.
53553         * dirent/Versions [libc]: Export scandirat and scandirat64 for
53554         GLIBC_2.15.
53555         * dirent/dirent.h: Declare scandirat and scandirat64.
53556         * dirent/scandirat.c: New file.
53557         * dirent/scandirat64.c: New file.
53558         * sysdeps/wordsize-64/scandirat.c: New file.
53559         * sysdeps/wordsize-64/scandirat64.c: New file.
53560         * dirent/opendir.c: Define opendirat.
53561         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
53562         using scandirat.
53563         * dirent/scandir64.c: Adjust for scandir.c change.
53564         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
53565         __scandirat64, and __scandir_cancel_handler.
53566         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
53567         additional parameter and use openat instead of open (outside of ld.so).
53568         Add new __opendir as wrapper around __opendirat.
53569         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53570         here without requiring old scandirat implementation.
53572 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
53574         * dirent/scandir.c (cancel_handler): Renamed to
53575         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
53576         defined.  Adjust users.
53577         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53578         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53580 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
53582         * string/test-string.h (IMPL): Use __STRING to expand name and then
53583         stringify it.
53585         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
53586         of cleanups.
53588 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53590         * string/Makefile: Update.
53591         (strop-tests): Append strncat.
53592         * string/test-wcscmp.c: New file.
53593         New comprehensive test for wcscmp.
53594         * string/test-strcmp.c: Update.
53595         (WIDE): New define.
53597 2011-07-22  Andreas Schwab  <schwab@redhat.com>
53599         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53600         line.
53602 2011-07-26  Andreas Schwab  <schwab@redhat.com>
53604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53605         encoding to ACE if AI_IDN.
53607 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
53609         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53610         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53612 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53614         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53615         Fix overflow bug in strncat.
53616         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53618         * string/test-strncat.c: Update.
53619         Add new tests for checking overflow bugs.
53621 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53623         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53624         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53625         * sysdeps/i386/i686/multiarch/strcat.S: New file.
53626         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53627         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53628         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53629         * sysdeps/i386/i686/multiarch/strncat.S: New file.
53630         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53631         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53633         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53634         (USE_AS_STRCAT): Define.
53635         Add strcat and strncat support.
53636         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53638 2011-07-25  Andreas Schwab  <schwab@redhat.com>
53640         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53641         __n bigger than INT_MAX+1.
53642         (__strncmp_g): Likewise.
53644 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
53646         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53647         * libio/stido.h: Likewise.
53649         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53650         (AF_NFC): Define.
53651         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53652         (AF_NFC): Define.
53654         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53655         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53656         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53657         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53658         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53660         [BZ #13021]
53661         * scripts/test-installation.pl: Don't expect libnss_test1 to be
53662         installed.
53664         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53665         typo.
53666         (_dl_x86_64_save_sse): Likewise.
53668 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
53670         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53671         OSXSAVE.
53672         (_dl_x86_64_save_sse): Likewise.
53674         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53676         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53678 2011-07-21  Andreas Schwab  <schwab@redhat.com>
53680         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53681         change.
53682         (_dl_x86_64_save_sse): Use correct AVX check.
53684 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53686         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53687         bug in strncpy/strncat.
53688         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53690 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
53692         * string/tester.c (test_strcat): Add tests for different alignments
53693         of source and destination.
53694         (test_strncat): Likewise.
53696 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53698         [BZ #12852]
53699         * posix/glob.c (glob): Check passed in values before using them in
53700         expressions to avoid some overflows.
53701         (glob_in_dir): Likewise.
53703         [BZ #13007]
53704         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53705         check for AVX enablement so that we don't crash with old kernels and
53706         new hardware.
53707         * elf/tst-audit4.c: Add same checks here.
53708         * elf/tst-audit6.c: Likewise.
53710         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53712 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
53714         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53716 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53718         * po/cs.po: Update from translation team.
53719         * po/bg.po: Likewise.
53721 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
53723         * misc/sys/cdefs.h: Add support for const attribute.
53724         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53725         to gnu_dev_{major,minor,makedev} functions.
53727 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
53729         * intl/dcigettext.c (get_output_charset): Add missing bracket.
53731 2011-07-20  Andreas Schwab  <schwab@redhat.com>
53733         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53734         strlen results.
53736 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53738         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53739         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53740         register in order to avoid conflicts with the soft frame pointer
53741         being held in r11 when necessary.
53742         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53743         (INTERNAL_VSYSCALL_NCS): Likewise.
53745 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
53747         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53748         * elf/dl-fini.c (_dl_fini): Adjust caller.
53749         * elf/dl-close.c (_dl_close_worker): Likewise.
53750         * sysdeps/generic/ldsodefs.h: Adjust declaration.
53752 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53754         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53755         "aux_cache->nlibs < 0".
53757         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53758         in the reload-count case.
53760 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53762         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53763         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53764         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53765         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53766         * sysdeps/x86_64/multiarch/strcat.S: New file.
53767         * sysdeps/x86_64/multiarch/strncat.S: New file.
53768         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53769         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53770         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53771         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53772         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53773         (USE_AS_STRCAT): Define.
53774         Add strcat and strncat support.
53775         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53776         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53777         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53778         * string/strncat.c: Update.
53779         (USE_AS_STRNCAT): Define.
53780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53781         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53782         and i7.
53783         * sysdeps/x86_64/multiarch/init-arch.h
53784         (bit_Prefer_PMINUB_for_stringop): New.
53785         (index_Prefer_PMINUB_for_stringop): Likewise.
53786         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53787         bit_Prefer_PMINUB_for_stringop.
53789 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53791         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53792         buffer64.
53793         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53794         of casting of buffer.
53795         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53796         buffer32 and buffer64.
53797         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53798         writes instead of casting of buffer.
53799         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53800         buffer32.
53801         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53802         casting of buffer.
53804 2011-07-19  Andreas Schwab  <schwab@redhat.com>
53806         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53808 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53810         * nscd/nscd.c (termination_handler): Don't do anything for a database
53811         if it has not yet been initialized.
53813 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53815         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53817 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53819         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53821 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53823         * po/nl.po: Update from translation team.
53824         * po/sv.po: Likewise.
53826 2011-07-16  Roland McGrath  <roland@hack.frob.com>
53828         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53829         now disallowed by GCC.
53831         * configure.in (use-default-link): Default to yes if a test -shared
53832         link meets our qualifications.
53833         * configure: Regenerated.
53835         * config.make.in (output-format): New variable.
53836         * configure.in: Check for ld --print-output-format support.
53837         * configure: Regenerated.
53838         * Makerules ($(common-objpfx)format.lds)
53839         [$(output-format) != unknown]: Just use $(output-format),
53840         instead of the linker-script munging.
53842 2011-07-14  Roland McGrath  <roland@hack.frob.com>
53844         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53845         of $(common-objpfx)shlib.lds.
53846         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53848         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53849         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53851         * configure.in (-z relro check): Adjust test code to add a large
53852         writable data section after it.
53853         * configure: Regenerated.
53855 2011-07-11  Roland McGrath  <roland@hack.frob.com>
53857         * configure.in (-z relro check): Fix test code to make the variable
53858         truly const.
53859         * configure: Regenerated.
53861 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
53863         * nscd/nscd.h (struct traced_file): Define.
53864         (struct database_dyn): Remove inotify_descr, reset_res, and filename
53865         elements.  Add traced_files.
53866         (inotify_fd): Declare.
53867         (register_traced_file): Declare.
53868         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53869         (inotify_fd): Export.
53870         (resolv_conf_descr): Remove.
53871         (nscd_init): Move inotify descriptor creation to main.
53872         Don't register files for notification here.
53873         (register_traced_file): New function.
53874         (invalidate_cache): Don't use reset_res to determine whether to call
53875         res_init, go through the list of registered files.
53876         (main_loop_poll): The inotify descriptors are now stored in the
53877         structures for the traced files.
53878         (main_loop_epoll): Likewise
53879         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
53880         to __nss_disable_nscd.
53881         * nscd/cache.c (prune_cache): There is no single inotify descriptor
53882         for a database anymore.  Check the records for all the registered
53883         files instead.
53884         * nss/Makefile (libnss_files-routines): Add files-init.
53885         (libnss_db-routines): Add db-init.
53886         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53887         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53888         * nss/nss_db/db-init.c: New file.
53889         * nss/nss_files/files-init.c: New file.
53890         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
53891         __nss_lookup_function.
53892         (__nss_lookup_function): Call nss_load_library.
53893         (nss_load_all_libraries): New function.
53894         (__nss_disable_nscd): Take parameter with callback function for files
53895         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
53896         used for the cached services.
53897         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53898         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53899         options for features to all the files in nscd.
53901         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53903 2011-07-10  Roland McGrath  <roland@hack.frob.com>
53905         * csu/elf-init.c (__libc_csu_init): Comment typo.
53907 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
53909         * po/pl.po: Update from translation team.
53910         * po/ja.po: Likewise.
53911         * po/ru.po: Likewise.
53912         * po/ko.po: Likewise.
53913         * po/fr.po: Likewise.
53915 2011-07-09  Roland McGrath  <roland@hack.frob.com>
53917         * configure.in (.ctors/.dtors header and trailer check):
53918         Use an empirical test on a built program.
53919         * configure: Regenerated.
53921         * configure.in (-z relro check): Use an empirical test on a built DSO.
53922         Detect, but do not require, on ia64.
53923         * configure: Regenerated.
53925         * configure.in (READELF): Find it with AC_CHECK_TOOL.
53926         Update tests that use readelf to use $READELF instead.
53927         * configure: Regenerated.
53929 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
53931         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53932         if the result is not used.
53934 2011-07-05  Andreas Jaeger  <aj@suse.de>
53936         [BZ#9696]
53937         * stdlib/tst-strtod.c: Add testcase.
53939 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
53941         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53942         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53943         The latter has a higher limit.  Take additional parameter to pass to
53944         the new function.
53945         (__pathconf): Pass file to __statfs_link_max.
53946         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53947         __statfs_link_max.
53948         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53949         __statfs_link_max.
53951         [BZ #12868]
53952         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53953         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53954         Handle Lustre.
53955         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53956         (__statfs_filesize_max): Likewise.
53957         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53959 2011-07-05  Andreas Jaeger  <aj@suse.de>
53961         * resolv/res_comp.c (dn_skipname): Remove unused variable.
53963 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
53965         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53966         `status' variable.
53967         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53968         Likewise.
53970 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
53972         * Makefile (strop-tests): Add strncat.
53973         * string/test-strncat.c: New file.
53975 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
53977         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53979 2011-06-21  Andreas Jaeger  <aj@suse.de>
53981         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53982         Copy rule from iconvdata/Makefile.
53984 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53986         [BZ #12922]
53987         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53988         but no long options are defined, just return 'W'.
53990 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
53992         [BZ #9696]
53993         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53995 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53997         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53998         netgroups to read.
53999         (innetgr): Likewise.
54001 2011-07-05  Roland McGrath  <roland@hack.frob.com>
54003         * config.make.in (install_root): Default to $(DESTDIR).
54005 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
54007         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54009 2011-07-02  Roland McGrath  <roland@hack.frob.com>
54011         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54013         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54014         containing directory rather than embedding absolute directory names.
54016         * scripts/check-local-headers.sh: Rewritten using awk.
54017         Match by word, not by line.  Print error messages for matches.
54018         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54020         * Makerules [shlib-lds-flags empty]:
54021         ($(common-objpfx)libc_pic.opts): New target.
54022         ($(common-objpfx)libc_pic.os.clean): New target.
54023         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54025         * config.make.in (OBJCOPY): New variable.
54026         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54027         * configure: Regenerated.
54029         * config.make.in (use-default-link): New variable.
54030         * configure.in (use_default_link): Grok --with-default-link to set it.
54031         * configure: Regenerated.
54032         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54033         (shlib-lds, shlib-lds-flags): Define to empty.
54035         * Makerules (shlib-lds): New variable.
54036         (shlib-lds-flags): New variable.
54037         (build-shlib, build-moduile, build-module-asneeded): Use it.
54038         ($(common-objpfx)libc.so): Use $(shlib-lds).
54039         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54040         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54042         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54043         DT_FLAGS/DT_FLAGS_1 with zero flags.
54045         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54046         linker script munging.
54048 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
54050         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54051         as 128-bit value.
54052         * crypt/sha512.c (sha512_process_block): Perform total addition using
54053         128-bit if possible.
54054         (__sha512_finish_ctx): Likewise.
54055         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54056         as 64-bit value.
54057         * crypt/sha256.c (SWAP64): Define.
54058         (sha256_process_block): Perform total addition using 64-bit if
54059         possible.
54060         (__sha256_finish_ctx): Likewise.
54062 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
54064         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
54065         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54066         * nscd/hstcache.c (cache_addhst): Likewise.
54067         * nscd/grpcache.c (cache_addgr): Likewise.
54068         * nscd/aicache.c (addhstaiX): Likewise
54069         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54071 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
54073         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54074         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54075         * nscd/hstcache.c (cache_addhst): Likewise.
54076         * nscd/grpcache.c (cache_addgr): Likewise.
54077         * nscd/aicache.c (addhstaiX): Likewise
54079 2011-07-01  Andreas Schwab  <schwab@redhat.com>
54081         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54082         domain only when needed.
54084 2011-06-30  Andreas Schwab  <schwab@redhat.com>
54086         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54087         is always restored.
54089 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
54091         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54092         are re-adding the entry.
54093         * nscd/servicescache.c (cache_addserv): Likewise.
54095 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
54097         * sysdeps/generic/dl-irel.h: fix protection against multiple
54098         inclusions.
54099         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54101 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
54103         [BZ #12935]
54104         * malloc/memusage.sh: Fix quoting in message.
54105         * debug/xtrace.sh: Likewise.
54107         * configure.in: Remove support for --experimental-malloc option, make
54108         it the default.
54109         * config.make.in: Likewise.
54110         * malloc/Makefile: Likewise.
54112 2011-06-27  Andreas Schwab  <schwab@redhat.com>
54114         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54115         two-byte characters.
54117 2011-06-27  Roland McGrath  <roland@hack.frob.com>
54119         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54120         AC_CACHE_CHECK invocation.
54121         * configure: Regenerated.
54123         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54125 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
54127         [BZ #12350]
54128         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
54129         bit from old_res_options.
54131         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54133         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54134         value type for setfct.
54136 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
54138         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54139         __gettimeofday instead of gettimeofday.
54141 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
54143         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54145 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
54147         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54149         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54150         info.
54152 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54155         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54156         strcpy-sse2-unaligned strncpy-sse2-unaligned
54157         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54158         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54159         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54160         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54161         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54162         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54163         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54164         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54165         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54166         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54167         (STRCPY): Support SSE2 and SSSE3 versions.
54169 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
54171         [BZ #12874]
54172         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54173         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54174         kernels which artificially limit size of requests.
54176 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54178         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54179         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54180         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54181         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54182         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54183         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54184         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54185         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54186         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54187         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54188         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54189         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54190         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54191         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54192         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54193         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54194         Enable unaligned load optimization for Intel Core i3, i5 and i7
54195         processors.
54196         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54197         Define.
54198         (index_Fast_Unaligned_Load): Define.
54199         (HAS_FAST_UNALIGNED_LOAD): Define.
54201 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
54203         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54205 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54207         [BZ #12907]
54208         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54209         until it is clear that the information is realy needed.
54210         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54212 2011-06-22  Andreas Schwab  <schwab@redhat.com>
54214         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54216 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54218         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54219         /sys/devices/system/cpu/online if it is usable.
54221         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54222         reading the information from the /proc filesystem to once a second.
54224 2011-06-21  Andreas Jaeger  <aj@suse.de>
54226         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54227         NULL after inclusion of kernel headers.
54229 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
54231         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54232         calls to internal_setent.
54234         [BZ #12885]
54235         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54236         addresses using gethostbyname4_r ignore IPv4 addresses.
54238         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54239         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
54241         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54243 2011-06-20  David S. Miller  <davem@davemloft.net>
54245         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54246         inclusions.
54247         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54249         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54250         (elf_irel): Use it.
54251         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54252         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54253         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54254         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54255         * sysdeps/x86_64/dl-irel.h: Likewise.
54257         * elf/dl-runtime.c: Use elf_ifunc_invoke.
54258         * elf/dl-sym.c: Likewise.
54260 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
54262         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
54263         need to dereference resplen2.
54265 2011-06-14  Andreas Schwab  <schwab@redhat.com>
54267         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54269 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
54271         * Makeconfig: Define vardbdir and inst_vardbdir.
54272         * nss/Makefile: Add rules to install db-Makefile.
54274         * nss/nss_db/db-XXX.c: Cleanup.
54276         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54277         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54278         GLIBC_PRIVATE.
54279         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54280         * nss/makedb.c: Implement -g option to specify that value strings
54281         are generated and should not be added to table iterated over for
54282         get*ent calls.
54283         * nss/nss_db/db-initgroups.c: New file.
54285         * nss/getent.c: Add support for initgroups lookups through getgrouplist
54286         interface.
54288         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54289         (internal_getgrouplist): Adjust to name change.
54290         Update use_initgroups_entry if this is not the first call.
54291         * nss/databases.def: Add initgroups entry.
54293         * nss/makedb.c (compute_tables): Check result of multiple hash table
54294         sizes to minimize maximum chain length.
54296 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
54298         * Versions.def: Add entry for libnss_db.
54299         * shlib-versions: Likewise.
54300         * nss/Makefile: Add rules to build libnss_db.
54301         * nss/Versions: Add libnss_db information.  Organize libnss_files
54302         entries better.
54303         * nss/db-Makefile: Add gshadow support.  Change rules for the new
54304         makedb progra.  Some minor improvements to generate smaller files.
54305         * nss/nss_db/nss_db.h: Move NSS database header data structures to
54306         here from...
54307         * nss/makedb.c: ...here.
54308         Improve database format to be smaller and require less memory at
54309         runtime.
54310         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
54311         db anymore.
54312         * nss/nss_db/db-netgrp.c: Likewise.
54313         * nss/nss_db/db-open.c: Likewise.
54314         * nss/nss_files/flies-XXX.x: Adjust comments.
54315         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54316         * nss/nss_files/files-grp.c: Likewise.
54317         * nss/nss_files/files-hosts.c: Likewise.
54318         * nss/nss_files/files-network.c: Likewise.
54319         * nss/nss_files/files-proto.c: Likewise.
54320         * nss/nss_files/files-pwd.c: Likewise.
54321         * nss/nss_files/files-rpc.c: Likewise.
54322         * nss/nss_files/files-service.c: Likewise.
54323         * nss/nss_files/files-sgrp.c: Likewise.
54324         * nss/nss_files/files-spwd.c: Likewise.
54325         * nss/nss_db/db-alias.c: Removed.
54326         * nss/nss_db/dummy-db.h: Removed.
54328 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
54330         * nss/makedb.c: Rewritten to not use database library.
54331         * nss/Makefile: Update to build new makedb program.
54333 2011-06-14  Andreas Jaeger  <aj@suse.de>
54335         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54336         memset declaration.
54338 2011-06-10  Andreas Schwab  <schwab@redhat.com>
54340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54341         tmpbuf.
54343 2011-06-10  Roland McGrath  <roland@hack.frob.com>
54345         * Makerules (shlib.lds): Fail if the linker script comes out empty.
54346         * elf/Makefile ($(objpfx)ld.so): Likewise.
54348         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54349         Don't list ld.so twice in dependencies.
54351         * posix/bug-regex31.c: Include <stdlib.h>.
54353         * nscd/hstcache.c (cache_addhst): Remove unused variable.
54355         * nis/nss_compat/compat-spwd.c
54356         (getspent_next_nss_netgr): Remove unused variable.
54357         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54359         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54360         nonmembers" output to use the right array.
54362         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54364         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54366         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54367         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54368         * catgets/gencat.c (read_input_file): Likewise.
54369         * locale/programs/locarchive.c (enlarge_archive): Likewise.
54371         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54372         variable definition inside #if's controlling its use.
54374         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54376         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54378         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54380         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54381         unreachable code.
54383         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54385         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54386         * configure: Regenerated.
54388         * Makerules: Revert last change.
54389         * elf/Makefile: Likewise.
54391 2011-06-09  Roland McGrath  <roland@hack.frob.com>
54393         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54394         * elf/Makefile ($(objpfx)librtld.os): Likewise.
54395         (reloc-link): Likewise.
54397 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
54399         * elf/Makefile: Add rules to build pldd.
54400         * elf/pldd.c: New file.
54401         * elf/pldd-xx.c: New file.
54403 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
54405         * version.h: Update for 2.15 development version.
54407 2011-06-07  David S. Miller  <davem@davemloft.net>
54409         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54410         ifuncs.
54411         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54412         elf_machine_lazy_rel): Likewise.
54413         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54414         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54415         elf_machine_lazy_rel): Likewise.
54416         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54417         dl_hwcap via passed in argument.
54418         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54419         Likewise.
54421 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54423         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
54425 2011-06-06  Roland McGrath  <roland@hack.frob.com>
54427         [BZ #12849]
54428         * manual/fdl-1.1.texi: New file, verbatim from:
54429         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54430         * manual/lgpl-2.1.texi: New file, verbatim from:
54431         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54432         * manual/Makefile (licenses): New variable, list those new file names.
54433         (texis): Use it.
54434         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54436         * manual/fdl.texi: File removed.
54437         * manual/lesser.texi: File removed.
54438         * manual/libc.texinfo (Copying, Documentation License):
54439         Use new @include file names, put @appendix directive before @include.
54441 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
54443         [BZ #12841]
54444         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54445         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54446         (mq_open): Add __NTH.
54448 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
54450         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54451         Assume Intel Core i3/i5/i7 processor if AVX is available.
54453 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54455         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54456         typo.
54458 2011-05-31  Andreas Schwab  <schwab@redhat.com>
54460         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54461         memory.  Use alloca_account.  Fix memory leak when retrying.
54463 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54465         * version.h (RELEASE): Bump for 2.14 release.
54466         * include/features.h (__GLIBC_MINOR__): Bump to 14.
54468         * config.make.in (RANLIB): Remove entry.
54470 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
54472         * po/Makefile (po-sed-cmd): Add ksh to extensions.
54473         (libc.pot): Work around missing support for .ksh extension in xgettext.
54475         [BZ #12684]
54476         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54477         if both request failed.
54478         (send_dg): In case of server errors clear resplen or *resplen2.
54480         [BZ #12454]
54481         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54482         when there are multiple maps.
54483         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54484         (_dl_fini): Remove test here.
54486         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54488 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
54490         [BZ #12350]
54491         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54492         bit from old_res_options.
54493         (gaih_inet): Likewise.
54495         [BZ #11099]
54496         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54497         as signed.
54499         * resolv/res_init.c (res_setoptions): Make the code more compact.
54501         [BZ #11558]
54502         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54503         set RES_USEVC.
54505         [BZ #11634]
54506         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54508         * malloc/malloc.h: Mark malloc hook variables as deprecated.
54510         [BZ #11781]
54511         * malloc/malloc.h: Declare malloc hook variables as volatile.
54513         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54514         in last patch.
54516         [BZ #11799]
54517         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54518         raise in the comment.
54519         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54520         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54521         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54523 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
54525         [BZ #12811]
54526         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54527         grow the buffers more if it already has to be sufficient.
54528         (build_wcs_upper_buffer): Likewise.
54529         * posix/regexec.c (check_matching): Likewise.
54530         (clean_state_log_if_needed): Likewise.
54531         (extend_buffers): Don't enlarge buffers beyond size of the input
54532         buffer.
54533         Patches mostly by Emil Wojak <emil@wojak.eu>.
54534         * posix/bug-regex32.c: New file.
54535         * posix/Makefile (tests): Add bug-regex32.
54537         * locale/findlocale.c (_nl_find_locale): Return right away if
54538         _nl_explode_name failed.
54539         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54541         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54543         * debug/xtrace.sh: Unify messages.
54544         * malloc/memusage.sh: Likewise.
54546         [BZ #12813]
54547         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54548         time symbol from vDSO.  Substitute with vsyscall if not available.
54549         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54550         __vdso_time.
54552         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54553         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54554         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54555         Add sendmmsg and internal_sendmmsg.
54556         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54557         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54558         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54560         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54561         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54562         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54564 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
54566         [BZ #12813]
54567         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54568         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
54569         available.
54570         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54571         __vdso_getcpu.
54573         [BZ #12814]
54574         * iconvdata/Makefile (tests): Add bug-iconv9.
54575         * iconvdata/bug-iconv9.c: New file.
54577 2011-05-27  Andreas Schwab  <schwab@redhat.com>
54579         [BZ #12814]
54580         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54582 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
54584         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54585         (struct user_regs_struct): Change intcs field back to cs.
54587 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
54589         * po/ja.po: Update from translation team.
54591 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
54593         [BZ #12795]
54594         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54595         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54597 2011-05-20  Andreas Schwab  <schwab@redhat.com>
54599         * stdlib/longlong.h: Update from GCC.
54601 2011-05-23  Andreas Schwab  <schwab@redhat.com>
54603         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54604         parameter name.
54605         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54606         Add parameter name.
54607         (__sysconf): Pass it down.
54609 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
54611         [BZ #12671]
54612         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54613         some situations.
54614         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54615         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54616         add in in __libc_use_alloca calls.  Adjust callers.
54617         (glob): Use malloc in some situations.
54619         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54620         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54621         pltexit.
54623 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
54625         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54626         and CLOCK_BOOTTIME_ALARM.
54628         [BZ #12782]
54629         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54630         is returned.
54632         * string/_strerror.c (__strerror_r): Print negative errors as signed
54633         numbers.
54635         [BZ #12777]
54636         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54637         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54638         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54640         * configure.in: Fix typo in redirection and correct removal of test
54641         files in two cases.
54643         [BZ #12788]
54644         * locale/setlocale.c (new_composite_name): Fix test to check for
54645         identical name of all categories.
54647         [BZ #12792]
54648         * libio/filedoalloc.c (local_isatty): New function.
54649         (_IO_file_doallocate): Use local_isatty.
54650         * stdio-common/perror.c (perror): In case a new stream is used
54651         forward the stream error.
54652         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54653         error flag.
54655 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
54657         [BZ #11869]
54658         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54659         alloca.
54660         * include/alloca.h (extend_alloca_account): Define.
54662         [BZ #11857]
54663         * posix/regex.h: Fix comments with documentation of user-accessible
54664         fields after compilation and describe correct free'ing of pattern
54665         after re_compile_pattern.
54666         Patch by Reuben Thomas <rrt@sc3d.org>.
54668 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
54670         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54671         and -mno-altivec to prevent the compiler from using Altivec and/or
54672         VSX instructions when the corresponding registers are not available.
54674 2011-05-19  Andreas Schwab  <schwab@redhat.com>
54676         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54678 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
54680         * libio/freopen.c (freopen): Use __dup2, not dup2.
54681         * libio/freopen64.c (freopen64): Likewise.
54683 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54685         [BZ #12775]
54686         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54687         * math/Makefile (tests): Add test-powl.
54688         (CFLAGS-test-powl.c): Define.
54689         * math/test-powl.c: New file.
54691 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54693         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54695 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
54697         [BZ #11837]
54698         * iconvdata/gb18030.c: Update to GB18020-2005.
54700 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
54702         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54703         RE_SYNTAX_POSIX_AWK): Update to match recent development.
54704         Patch by Aharon Robbins <arnold@skeeve.com>.
54706         [BZ #11892]
54707         * stdlib/putenv.c (putenv): Don't always create copy of the variable
54708         on the stack.
54710         [BZ #11895]
54711         * misc/pselect.c (__pselect): Handle timeout value errors hidden
54712         through underflows.
54714         [BZ #12766]
54715         * misc/error.c (error_at_line): Ensure file_name and old_file_name
54716         point to strings before performing equality test for error_one_per_line
54717         mode.
54719         [BZ #11697]
54720         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54722         [BZ #11820]
54723         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54724         (struct user_fpregs_struct): Avoid __uint*_t types.
54726         [BZ #6420]
54727         * malloc/mtrace.c (tr_where): Add additional parameter to point to
54728         symbol info.  Use it instead of calling _dl_addr locally.
54729         (lock_and_info): New function.
54730         (tr_freehook): Call lock_and_info and pass symbol info as additional
54731         parameter to tr_where.
54732         (tr_mallochook): Likewise.
54733         (tr_reallochook): Likewise.
54734         (tr_memalignhook): Likewise.
54736         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
54737         used and couldn't be at all thread-safe.
54739 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
54741         * libio/freopen.c (freopen): Don't close old file descriptor
54742         before the new one is opened.  Instead dup the new file descriptor
54743         to the old one after the new stream is created.
54744         * libio/freopen64.c (freopen64): Likewise.
54745         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54746         * libio/fileops.c (_IO_new_file_close_it): Handle new
54747         _IO_FLAGS2_NOCLOSE flag.
54748         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54749         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54750         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54751         _IO_FLAGS2_NOCLOSE flag.
54752         * include/unistd.h: Add hidden_proto for dup3.
54753         Define __have_dup3.
54754         * io/dup3.c: Define hidden symbol.
54755         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54757         [BZ #7101]
54758         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54759         when an incomplete long option is used.
54760         * posix/tst-getopt_long1.c: New file.
54761         * posix/Makefile (tests): Add tst-getopt_long1.
54763         [BZ #10138]
54764         * scripts/config.guess: Update from autoconf-2.68.
54765         * scripts/config.sub: Likewise.
54767         [BZ #10157]
54768         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54769         tests into ...
54770         (has_cpuclock): ...this.  New function.
54771         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54772         macro here based on has_cpuclock code.
54774         [BZ #10149]
54775         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54776         First byte (not low byte) is now always NUL.
54777         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54779         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54780         Use non-cancelable interfaces.
54782         [BZ #9809]
54783         * locale/iso-639.def: Add entry for Sorani.
54785         [BZ #11901]
54786         * include/stdlib.h: Move include protection to the right place.
54787         Define abort_msg_s.  Declare __abort_msg with it.
54788         * stdlib/abort.c (__abort_msg): Adjust type.
54789         * assert/assert.c (__assert_fail_base): New function.  Majority
54790         of code from __assert_fail.  Allocate memory for __abort_msg with
54791         mmap.
54792         (__assert_fail): Now call __assert_fail_base.
54793         * assert/assert-perr.c: Remove bulk of implementation.  Use
54794         __assert_fail_base.
54795         * include/assert.hL Declare __assert_fail_base.
54796         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54797         mmap.
54798         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54800 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
54802         [BZ #11952]
54803         [BZ #12453]
54804         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54805         until all modules are registered in the DTV.
54806         * elf/Makefile: Add rules to build and run tst-tls19.
54807         * elf/tst-tls19.c: New file.
54808         * elf/tst-tls19mod1.c: New file.
54809         * elf/tst-tls19mod2.c: New file.
54810         * elf/tst-tls19mod3.c: New file.
54811         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54813         [BZ #12083]
54814         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54815         correctly.
54817         [BZ #12601]
54818         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54819         two-byte sequence errors.
54820         * iconvdata/Makefile (tests): Add bug-iconv8.
54821         * iconvdata/bug-iconv8.c: New file.
54823         [BZ #12626]
54824         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54825         buf2 definition.
54827         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54829         [BZ #12432]
54830         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54831         (dummy_getcfa): New function.
54832         (init): Get _Unwind_GetCFA address, use dummy if not found.
54833         (backtrace_helper): In recursion check, also check whether CFA changes.
54834         (__backtrace): Completely initialize arg.
54836         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54837         storing incomplete byte sequence in state object.  Avoid testing for
54838         guaranteed too small input if we know there is enough data available.
54840 2011-05-11  Andreas Schwab  <schwab@redhat.com>
54842         * Makeconfig (+link-pie): Indent.
54843         * Rules (binaries-pie): Define if $(have-fpie) and
54844         $(build-shared).
54845         (binaries-shared): Also filter out $(binaries-pie).
54846         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54847         * nscd/Makefile (others-pie): Add nscd.
54848         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54849         ($(objpfx)nscd): Remove command override.
54850         * login/Makefile (others-pie): Add pt_chown.
54851         ($(objpfx)pt_chown): Remove command override.
54852         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54853         remove command overrides.
54855 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
54857         * libio/tst_putwc.c: Fix error messages.
54859         [BZ #12724]
54860         * libio/fileops.c (_IO_new_file_close_it): Always flush when
54861         currently writing and seek to current position when not.
54862         * libio/Makefile (tests): Add bug-fclose1.
54863         * libio/bug-fclose1.c: New file.
54865 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
54867         [BZ #12511]
54868         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54869         don't set DF_1_NODELETE here.
54870         (do_lookup_x): When entering new entry test for copy relocation
54871         and if necessary set DF_1_NODELETE flag.
54872         * elf/tst-unique4.cc: New file.
54873         * elf/tst-unique4.h: New file.
54874         * elf/tst-unique4lib.cc: New file.
54875         * elf/Makefile: Add rules to build and run tst-unique4.
54876         Patch by Piotr Bury <pbury@goahead.com>.
54878 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
54880         [BZ #12052]
54881         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54883         [BZ #12625]
54884         * misc/mntent_r.c (addmntent): Flush the stream after the output
54886         [BZ #12393]
54887         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54888         (is_trusted_path_normalize): Skip initial colon.  Append slash
54889         to empty buffer.  Duplicate is_trusted_path code but allow
54890         constructed patch to be prefix.
54891         (is_dst): Allow $ORIGIN followed by /.
54892         (_dl_dst_substitute): Correct clearing of check_for_trusted.
54893         Correct testing of result of is_trusted_path_normalize
54894         (decompose_rpath): Fix warning.
54896 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
54898         [BZ #11257]
54899         * grp/initgroups.c (internal_getgrouplist): When we found the service
54900         list through the initgroups entry in nsswitch.conf do not always
54901         continue on a successful lookup.  Don't always use the
54902         __nss_group_database value if it is set.
54903         * nss/nsswitch.conf (initgroups): Change action for successful db
54904         lookup to continue for compatibility.
54906 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
54908         [BZ #11532]
54909         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54910         and CP774 modules.
54911         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54912         and CP774 modules.
54913         * iconvdata/tst-tables.sh: Likewise.
54914         * iconvdata/cp770.c: New file.
54915         * iconvdata/cp771.c: New file.
54916         * iconvdata/cp772.c: New file.
54917         * iconvdata/cp773.c: New file.
54918         * iconvdata/cp774.c: New file.
54919         * iconvdata/testdata/CP770: New file.
54920         * iconvdata/testdata/CP770..UTF8: New file.
54921         * iconvdata/testdata/CP771: New file.
54922         * iconvdata/testdata/CP771..UTF8: New file.
54923         * iconvdata/testdata/CP772: New file.
54924         * iconvdata/testdata/CP772..UTF8: New file.
54925         * iconvdata/testdata/CP773: New file.
54926         * iconvdata/testdata/CP773..UTF8: New file.
54927         * iconvdata/testdata/CP774: New file.
54928         * iconvdata/testdata/CP774..UTF8: New file.
54930         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54931         END CHARMAP line.
54932         * iconvdata/gen-8bit-gap.sh: Likewise.
54933         * iconvdata/gen-8bit.sh: Likewise.
54935         * locale/iso-639.def: Add ary entry.
54937         [BZ #11258]
54938         * locale/C-translit.h.in: Add U20A1 transliteration.
54940         [BZ #12178]
54941         * locale/iso-639.def: Add wae entry.
54942         Patch by Kevin Bortis <bortis@translate-wae.ch>.
54944         [BZ #12545]
54945         * locale/programs/localedef.c (construct_output_path): Use ssize_t
54946         for n.
54948         [BZ #12711]
54949         * locale/C-translit.h.in: Add entry for U20B9.
54950         Patch by pravin.d.s@gmail.com.
54952 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
54954         [BZ #12713]
54955         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54956         ENAMETOOLONG use generic getcwd.
54957         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
54958         in rtld.  Use *stat64.
54959         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54960         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54961         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54962         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54963         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54964         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54965         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54966         __fstatat64 macros.
54967         * include/dirent.h: Add libc_hidden_proto for rewinddir.
54968         * dirent/rewinddir.c: Add libc_hidden_def.
54969         * sysdeps/mach/hurd/rewinddir.c: Likewise.
54970         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
54972         * include/dirent.h (__alloc_dir): Add flags parameter.
54973         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54974         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54975         __alloc_dir.
54976         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
54977         from fdopendir if O_CLOEXEC is already set.
54979 2011-03-15  Alan Modra  <amodra@gmail.com>
54981         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54982         l_tls_firstbyte_offset non-zero.  Save padding offset in
54983         l_tls_firstbyte_offset for later use.
54984         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54985         freeing static tls block.
54987 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
54989         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54990         where #ifdef was intended.  The intent is to prevent ARG_MAX from
54991         being defined by the kernel headers.
54993 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
54995         [BZ #12734]
54996         * resolv/resolv.h: Define RES_NOTLDQUERY.
54997         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54998         no-tld-query and set RES_NOTLDQUERY.
54999         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55000         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55001         modern BIND to search name as TLD unless forbidden.
55003 2011-05-07  Petr Baudis  <pasky@suse.cz>
55004             Ulrich Drepper  <drepper@gmail.com>
55006         [BZ #12393]
55007         * elf/dl-load.c (fillin_rpath): Move trusted path check...
55008         (is_trusted_path): ...to here.
55009         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55010         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55011         using is_trusted_path_normalize() in setuid scripts.
55013 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55015         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55016         __BEGIN/__END_DECLS.
55018 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
55020         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55021         NSS_STATUS_NOTFOUND if no record was found.
55023 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55025         * sunrpc/Makefile (headers): Add rpc/netdb.h.
55026         (headers-not-in-tirpc): Remove rpc/netdb.h
55027         * resolv/netdb.h: Revert last change.
55029 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55031         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55032         circular dependency between libgcc.a and libc.a.
55034 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55036         * resolv/netdb.h: Don't include <rpc/netdb.h>.
55037         * nis/Makefile: Don't install rpcsvc/*.
55038         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55039         instead of <rpc/types.h>.
55040         (MAXHOSTNAMELEN): Define.
55042 2011-05-03  Andreas Schwab  <schwab@redhat.com>
55044         * elf/ldconfig.c (add_dir): Don't crash on empty path.
55046 2011-04-28  Maciej Babinski  <mbabinski@google.com>
55048         [BZ #12714]
55049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55050         gethostbyname4_r when IPv6 results are possible.
55052 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
55054         [BZ #12723]
55055         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55056         _PC_PIPE_BUF handling.
55058 2011-04-30  Bruno Haible  <bruno@clisp.org>
55060         [BZ #12717]
55061         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55062         * resolv/netdb.h (getnameinfo): Change type of flags parameter
55063         to 'int'.
55064         * inet/getnameinfo.c (getnameinfo): Likewise.
55066 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
55068         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55069         to groups setting in database lookup.
55070         * nss/nsswitch.conf: Add initgroups entry.
55072 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
55074         [BZ #12685]
55075         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55076         mode string.
55077         Patch by Eric Blake <eblake@redhat.com>.
55079 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
55081         * sunrpc/Makefile (need-export-routines): Add svc_run.
55082         (routines): Remove svc_run.
55083         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55084         * sunrpc/clnt_perr.c (clnt_perrno): Export.
55085         * sunrpc/svc_run.c (svc_run): Likewise.
55086         * sunrpc/svc_udp.c (svcudp_create): Likewise.
55088 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
55090         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55091         problem in reallocation in last patch.
55093 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
55095         * sunrpc/Makefile: Move inclusion of Rules.
55097 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55099         * nss/nss_files/files-initgroups.c: New file.
55100         * nss/Makefile (libnss_files-routines): Add files-initgroups.
55101         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55102         _nss_files_initgroups_dyn.
55104 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
55106         * elf/elf.h (R_ARM_IRELATIVE): Define.
55108 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55110         * po/ru.po: Update from translation team.
55112 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55114         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55115         dependencies.
55117 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
55119         [BZ #12653]
55120         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55121         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55122         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55123         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55124         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55126 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
55128         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55129         differing bytes.
55130         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55131         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55132         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55134 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55136         [BZ #12420]
55137         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55138         storing it.
55139         * stdlib/bug-getcontext.c: New file.
55140         * stdlib/Makefile: Add rules to build and run bug-getcontext.
55142 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55144         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55145         instructions into .machine "z9-109".
55146         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55147         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55149 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55151         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55152         between environment variables and auxiliary vector.
55154 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
55156         * Makefile: Add rules to build linkobj/libc.so.
55157         * include/libc-symbols.h: Define libc_hidden_nolink.
55158         * include/rpc/auth.h: Mark functions which are to be hidden.
55159         * include/rpc/auth_des.h: Likewise.
55160         * include/rpc/auth_unix.h: Likewise.
55161         * include/rpc/clnt.h: Likewise.
55162         * include/rpc/des_crypt.h: Likewise.
55163         * include/rpc/key_prot.h: Likewise.
55164         * include/rpc/pmap_clnt.h: Likewise.
55165         * include/rpc/pmap_prot.h: Likewise.
55166         * include/rpc/pmap_rmt.h: Likewise.
55167         * include/rpc/rpc_msg.h: Likewise.
55168         * include/rpc/svc.h: Likewise.
55169         * include/rpc/svc_auth.h: Likewise.
55170         * include/rpc/xdr.h: Likewise.
55171         * nis/Makefile: Link all DSOs against linkobj/libc.so.
55172         * nss/Makefile: Likewise.
55173         * sunrpc/Makefile: Don't install headers.  Build library with normal
55174         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
55175         * sunrpc/auth_des.c: Hide exported symbols by default, export some
55176         for the compat linking library.  Remove use of INTDEF/INTUSE.
55177         * sunrpc/auth_none.c: Likewise.
55178         * sunrpc/auth_unix.c: Likewise.
55179         * sunrpc/authdes_prot.c: Likewise.
55180         * sunrpc/authuxprot.c: Likewise.
55181         * sunrpc/clnt_gen.c: Likewise.
55182         * sunrpc/clnt_perr.c: Likewise.
55183         * sunrpc/clnt_raw.c: Likewise.
55184         * sunrpc/clnt_simp.c: Likewise.
55185         * sunrpc/clnt_tcp.c: Likewise.
55186         * sunrpc/clnt_udp.c: Likewise.
55187         * sunrpc/clnt_unix.c: Likewise.
55188         * sunrpc/des_crypt.c: Likewise.
55189         * sunrpc/des_soft.c: Likewise.
55190         * sunrpc/get_myaddr.c: Likewise.
55191         * sunrpc/key_call.c: Likewise.
55192         * sunrpc/key_prot.c: Likewise.
55193         * sunrpc/netname.c: Likewise.
55194         * sunrpc/pm_getmaps.c: Likewise.
55195         * sunrpc/pm_getport.c: Likewise.
55196         * sunrpc/pmap_clnt.c: Likewise.
55197         * sunrpc/pmap_prot.c: Likewise.
55198         * sunrpc/pmap_prot2.c: Likewise.
55199         * sunrpc/pmap_rmt.c: Likewise.
55200         * sunrpc/publickey.c: Likewise.
55201         * sunrpc/rpc_cmsg.c: Likewise.
55202         * sunrpc/rpc_common.c: Likewise.
55203         * sunrpc/rpc_dtable.c: Likewise.
55204         * sunrpc/rpc_prot.c: Likewise.
55205         * sunrpc/rpc_thread.c: Likewise.
55206         * sunrpc/rtime.c: Likewise.
55207         * sunrpc/svc.c: Likewise.
55208         * sunrpc/svc_auth.c: Likewise.
55209         * sunrpc/svc_authux.c: Likewise.
55210         * sunrpc/svc_raw.c: Likewise.
55211         * sunrpc/svc_run.c: Likewise.
55212         * sunrpc/svc_simple.c: Likewise.
55213         * sunrpc/svc_tcp.c: Likewise.
55214         * sunrpc/svc_udp.c: Likewise.
55215         * sunrpc/svc_unix.c: Likewise.
55216         * sunrpc/svcauth_des.c: Likewise.
55217         * sunrpc/xcrypt.c: Likewise.
55218         * sunrpc/xdr.c: Likewise.
55219         * sunrpc/xdr_array.c: Likewise.
55220         * sunrpc/xdr_float.c: Likewise.
55221         * sunrpc/xdr_intXX_t.c: Likewise.
55222         * sunrpc/xdr_mem.c: Likewise.
55223         * sunrpc/xdr_rec.c: Likewise.
55224         * sunrpc/xdr_ref.c: Likewise.
55225         * sunrpc/xdr_sizeof.c: Likewise.
55226         * sunrpc/xdr_stdio.c: Likewise.
55228 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
55230         [BZ #12650]
55231         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55232         * sysdeps/ia64/dl-tls.h: Likewise.
55233         * sysdeps/powerpc/dl-tls.h: Likewise.
55234         * sysdeps/s390/dl-tls.h: Likewise.
55235         * sysdeps/sh/dl-tls.h: Likewise.
55236         * sysdeps/sparc/dl-tls.h: Likewise.
55237         * sysdeps/x86_64/dl-tls.h: Likewise.
55238         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55240 2011-03-14  Andreas Schwab  <schwab@redhat.com>
55242         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55243         rpath element also skip the following colon.
55244         (expand_dynamic_string_token): Add is_path parameter and pass
55245         down to DL_DST_REQUIRED and _dl_dst_substitute.
55246         (decompose_rpath): Call expand_dynamic_string_token with
55247         non-zero is_path.  Ignore empty rpaths.
55248         (_dl_map_object_from_fd): Call expand_dynamic_string_token
55249         with zero is_path.
55251 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
55253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55254         Make cancelable.
55256 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
55258         [BZ #12655]
55259         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55260         Patch by Filipe David Manana <fdmanana@apache.org>.
55262 2011-04-07  Andreas Schwab  <schwab@redhat.com>
55264         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55265         Maintain aligned stack.
55266         (CHECK_RSP): Remove unused macro.
55268 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
55270         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55271         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55273 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
55275         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55277         * include/features.h: Mention __USE_XOPEN2K8 in comment.
55279 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
55281         [BZ #12518]
55282         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55283         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55284         * sysdeps/x86_64/memmove.c: New file.
55285         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55286         (memcpy): Renamed to ...
55287         (__new_memcpy): This.
55288         (memcpy): Provide GLIBC_2_14 memcpy.
55289         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55290         (memcpy): Provide GLIBC_2_2_5 memcpy.
55292 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55294         [BZ #12631]
55295         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55297 2011-03-30  Andreas Schwab  <schwab@redhat.com>
55299         * misc/syncfs.c: New file.
55300         * misc/Makefile (routines): Add syncfs.
55301         * posix/unistd.h: Declare syncfs.
55302         * sysdeps/unix/syscalls.list: Add syncfs.
55304 2011-04-01  Andreas Schwab  <schwab@redhat.com>
55306         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55307         open_by_handle_at.
55308         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55309         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55310         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55311         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55313         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55314         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55316 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55318         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55319         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55320         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55321         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55322         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55323         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55324         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55326         * io/Makefile: Compile fallocate.c, fallocate64.c, and
55327         sync_file_range.c with -fexceptions.
55328         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55329         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55330         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55331         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55332         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55333         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55334         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55335         sync_file_range as cancellation point
55336         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
55337         now a wrapper around __call_sync_file_range with cancellation handling.
55338         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55339         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
55340         function name to __call_sync_file_range.
55341         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55342         Add call_sync_file_range.
55344 2011-04-01  Andreas Schwab  <schwab@redhat.com>
55346         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55347         bits/timex.h.
55349 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55351         * iconv/iconv.h: Fix typo in comment.
55352         * io/fcntl.h: Likewise.
55353         * libio/stdio.h: Likewise.
55354         * posix/spawn.h: Likewise.
55355         * posix/unistd.h: Likewise.
55356         * stdlib/stdlib.h: Likewise.
55357         * time/time.h: Likewise.
55358         * wcsmbs/wchar.h: Likewise.
55360         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55361         open_by_handle): Add.
55362         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55363         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
55364         Augment a few comments.
55365         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55366         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55367         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55368         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55369         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55370         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55371         open_by_handle.
55373         * io/fcntl.h (AT_EMPTY_PATH): Define.
55375 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
55377         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55378         * sysdeps/unix/sysv/linux/bits/time.h: New file.
55379         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55380         to...
55381         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
55382         * Versions.def: Add GLIBC_2.14.
55383         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55384         Export.
55386 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
55388         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55389         round counter.
55390         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55392 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
55394         [BZ #12597]
55395         * string/test-strncmp.c (do_page_test): New function.
55396         (check2): Likewise.
55397         (test_main): Call check2.
55398         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55400 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
55402         [BZ #12587]
55403         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55404         Handle cache information in CPU leaf 4.
55405         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55407 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
55409         [BZ #12583]
55410         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55411         character representation.
55412         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55414 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
55416         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55417         END(__isnan) to END(__isnanf) to match function entry point/label
55418         EALIGN(__isnanf,...).
55420 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
55422         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55424 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
55426         [BZ #12510]
55427         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55428         copy from the symbol referenced in the relocation to initialize the
55429         used variable.
55430         Patch by Piotr Bury <pbury@goahead.com>.
55431         * elf/Makefile: Add rules to build and tst-unique3.
55432         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55433         * elf/tst-unique3.cc: New file.
55434         * elf/tst-unique3.h: New file.
55435         * elf/tst-unique3lib.cc: New file.
55436         * elf/tst-unique3lib2.cc: New file.
55438         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55440 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
55442         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55443         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
55444         to _start.
55446 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
55448         * elf/dl-load.c (_dl_map_object): If we are looking for the first
55449         to-be-loaded object along a path to loader is ld.so.
55451 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55452             Ulrich Drepper  <drepper@gmail.com>
55454         * sysdeps/x86_64/memset.S: After aligning destination, code
55455         branches to different locations depending on the value of
55456         misalignment, when multiarch is enabled. Fix this.
55458 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55460         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55461         Set _x86_64_preferred_memory_instruction for AMD processsors.
55462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55463         Set bit_Prefer_SSE_for_memop for AMD processors.
55465 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
55467         * libio/fmemopen.c (fmemopen): Optimize a bit.
55469 2011-03-03  Andreas Schwab  <schwab@redhat.com>
55471         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55473 2011-03-03  Roland McGrath  <roland@redhat.com>
55475         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55477 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
55479         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55480         __bzero_ultra1 instead of __memset_ultra1.
55482 2011-02-23  Andreas Schwab  <schwab@redhat.com>
55483             Ulrich Drepper  <drepper@gmail.com>
55485         [BZ #12509]
55486         * include/link.h (struct link_map): Add l_orig_initfini.
55487         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55488         returning unsuccessfully.
55489         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55490         close of a file loaded at startup, restore the original l_initfini
55491         list.
55492         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55493         list, store the pointer.
55494         * elf/Makefile ($(objpfx)noload-mem): New rule.
55495         (noload-ENV): Define.
55496         (tests): Add $(objpfx)noload-mem.
55497         * elf/noload.c: Include <memcheck.h>.
55498         (main): Call mtrace.  Close all opened handles.
55500 2011-02-17  Andreas Schwab  <schwab@redhat.com>
55502         [BZ #12454]
55503         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55504         dependencies are missing.
55506 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55508         Fix __if_freereq crash: Unlike the generic version which uses free,
55509         Hurd needs munmap.
55510         * sysdeps/mach/hurd/ifreq.h: New file.
55512 2011-01-27  Petr Baudis  <pasky@suse.cz>
55513             Ulrich Drepper  <drepper@gmail.com>
55515         [BZ 12445]#
55516         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55517         to extend_alloca().
55518         * stdio-common/bug23.c: New file.
55519         * stdio-common/Makefile (tests): Add bug23.
55521 2010-09-28  Andreas Schwab  <schwab@redhat.com>
55522             Ulrich Drepper  <drepper@gmail.com>
55524         [BZ #12489]
55525         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55526         before performing relro protection.  At old place add assertion
55527         to make sure nothing changed.
55529 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
55530             Glauber de Oliveira Costa  <glommer@gmail.com>
55532         * elf/elf.h: Add new ARM TLS relocs.
55534 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
55536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55537         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55538         cast from r3.
55539         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
55540         'tests' variable.
55541         * sysdeps/wordsize-64/tst-writev.c: New file.
55543 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
55545         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55546         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55547         insns in _dl_start to prevent a TOC reference before relocs are
55548         resolved.
55550 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
55552         [BZ #12469]
55553         * Makeconfig: Remove RANLIB definition.
55554         * Makerules: Don't use RANLIB.
55555         * aclocal.m4: Remove ranlib test.
55556         * configure.in: No need to check for ranlib.
55557         * elf/rtld-Rules: Don't use RANLIB.
55559 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55561         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55562         protection macro.
55563         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55564         inclusion protection macro.
55566         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55567         SIGRTMIN and SIGRTMAX and print information in that case only when
55568         SIGRTMIN is defined.
55570 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
55572         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55573         arginfo fn returning -1.
55575         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55576         and thousands string is zero terminated.
55578 2011-02-03  Andreas Schwab  <schwab@redhat.com>
55580         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55581         sysdeps/unix/sysv/linux/bits/socket.h.
55583 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55585         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55586         (__CPU_COUNT): Remove old macros.
55587         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55588         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55589         (__CPU_ALLOC, __CPU_FREE): Add macros.
55590         (__sched_cpualloc, __sched_cpufree): Add declarations.
55592 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
55594         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55595         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55596         * nscd/aicache.c (addhstaiX): Return timeout of added value.
55597         (readdhstai): Return value of addhstaiX call.
55598         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55599         (addgrbyX): Return value returned by cache_addgr.
55600         (readdgrbyname): Return value returned by addgrbyX.
55601         (readdgrbygid): Likewise.
55602         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55603         (addpwbyX): Return value returned by cache_addpw.
55604         (readdpwbyname): Return value returned by addhstbyX.
55605         (readdpwbyuid): Likewise.
55606         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55607         (addservbyX): Return value returned by cache_addserv.
55608         (readdservbyname): Return value returned by addservbyX:
55609         (readdservbyport): Likewise.
55610         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55611         (addhstbyX): Return value returned by cache_addhst.
55612         (readdhstbyname): Return value returned by addhstbyX.
55613         (readdhstbyaddr): Likewise.
55614         (readdhstbynamev6): Likewise.
55615         (readdhstbyaddrv6): Likewise.
55616         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55617         (readdinitgroups): Return value returned by addinitgroupsX.
55618         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55619         (prune_cache): Keep track of timeout value of re-added entries.
55620         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55621         * nscd/nscd.h: Adjust prototypes of readd* functions.
55623 2011-02-04  Roland McGrath  <roland@redhat.com>
55625         * nis/nis_server.c (nis_servstate): Use the right name for 0.
55626         (nis_stats): Likewise.
55627         * nis/nis_modify.c (nis_modify): Likewise.
55628         * nis/nis_remove.c (nis_remove): Likewise.
55629         * nis/nis_add.c (nis_add): Likewise.
55631         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55633         * posix/fnmatch_loop.c: Add some consts.
55635         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55637 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
55639         [BZ #12460]
55640         * config.make.in (config-cflags-novzeroupper): Define.
55641         * configure.in: Substitute libc_cv_cc_novzeroupper.
55642         * elf/Makefile (AVX-CFLAGS): Define.
55643         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55644         (CFLAGS-tst-auditmod4a.c): Likewise.
55645         (CFLAGS-tst-auditmod4b.c): Likewise.
55646         (CFLAGS-tst-auditmod6b.c): Likewise.
55647         (CFLAGS-tst-auditmod6c.c): Likewise.
55648         (CFLAGS-tst-auditmod7b.c): Likewise.
55649         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55651 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
55653         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55654         function to the callback.
55655         Patch partly by Jiri Olsa <jolsa@redhat.com>.
55657 2011-02-02  Andreas Schwab  <schwab@redhat.com>
55659         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55660         of errno.
55662 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
55664         [BZ #11724]
55665         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55666         of constructors.
55667         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55668         of destructors.
55669         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55671         [BZ #11724]
55672         * elf/Makefile: Add rules to build and run new test.
55673         * elf/tst-initorder.c: New file.
55674         * elf/tst-initorder.exp: New file.
55675         * elf/tst-initordera1.c: New file.
55676         * elf/tst-initordera2.c: New file.
55677         * elf/tst-initordera3.c: New file.
55678         * elf/tst-initordera4.c: New file.
55679         * elf/tst-initorderb1.c: New file.
55680         * elf/tst-initorderb2.c: New file.
55681         * elf/tst-order-a1.c: New file.
55682         * elf/tst-order-a2.c: New file.
55683         * elf/tst-order-a3.c: New file.
55684         * elf/tst-order-a4.c: New file.
55685         * elf/tst-order-b1.c: New file.
55686         * elf/tst-order-b2.c: New file.
55687         * elf/tst-order-main.c: New file.
55688         New test case by George Gensure <werkt0@gmail.com>.
55690 2010-10-01  Andreas Schwab  <schwab@redhat.com>
55692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55693         decoding ACE if AI_CANONIDN.
55695 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
55697         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55699 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
55701         * version.h (RELEASE): Bump for 2.13 release.
55702         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55704         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55706         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55707         MADV_NOHUGEPAGE.
55708         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55709         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55710         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55711         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55712         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55713         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55715         * posix/getconf.c: Update copyright year.
55716         * catgets/gencat.c: Likewise.
55717         * csu/version.c: Likewise.
55718         * debug/catchsegv.sh: Likewise.
55719         * debug/xtrace.sh: Likewise.
55720         * elf/ldconfig.c: Likewise.
55721         * elf/ldd.bash.in: Likewise.
55722         * elf/sprof.c (print_version): Likewise.
55723         * iconv/iconv_prog.c: Likewise.
55724         * iconv/iconvconfig.c: Likewise.
55725         * locale/programs/locale.c: Likewise.
55726         * locale/programs/localedef.c: Likewise.
55727         * malloc/memusage.sh: Likewise.
55728         * malloc/mtrace.pl: Likewise.
55729         * nscd/nscd.c (print_version): Likewise.
55730         * nss/getent.c: Likewise.
55732         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55733         PF_CAIF, and PF_ALG.
55734         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55736 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
55738         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55739         (modules-names): Use them.
55740         (ifunc-test-modules, ifunc-pie-tests): Define.
55741         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55742         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55743         (test-extras): Likewise.
55744         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55745         $(compile-command.c).
55746         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55747         (all-built-dso): Define.
55748         (check-textrel.out, check-execstack.out): Depend on it.
55750         * configure.in: Don't override --enable-multi-arch.
55752 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
55754         [BZ #6812]
55755         * nscd/hstcache.c (tryagain): Define.
55756         (cache_addhst): Return tryagain not notfound for temporary errors.
55757         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55758         failed.
55760 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
55762         [BZ #10563]
55763         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55764         to make the syscall.
55765         * sysdeps/unix/sysv/linux/setgroups.c: New file.
55767         [BZ #12378]
55768         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55769         and fall back to matching as normal character if the string ends before
55770         the matching ']' is found.  This is what POSIX requires.
55771         * posix/testfnm.c: Adjust test result.
55772         * posix/globtest.sh: Adjust test result.  Add new test.
55773         * posix/tst-fnmatch.input: Likewise.
55774         * posix/tst-fnmatch2.c: Add new test.
55776 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
55778         * elf/Makefile (check-execstack): Revert last change.  Depend on
55779         check-execstack.h.
55780         (check-execstack.h): New target.
55781         (generated): Add check-execstack.h.
55782         * elf/check-execstack.c: Include "check-execstack.h".
55783         (main): Revert last change.
55784         (handle_file): Return zero if GNU_STACK is absent and
55785         DEFAULT_STACK_PERMS doesn't include PF_X.
55787 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
55789         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55790         in child fails because the descriptor is already closed.
55791         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55792         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55793         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55795         [BZ #12397]
55796         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55797         syscall.
55799         [BZ #10484]
55800         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55801         temporary buffer used to handle multi lookups locally.
55802         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55804 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55806         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55807         loader is ld.so.
55809 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
55811         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55812         alignment for SSE2.
55814 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55816         [BZ #12394]
55817         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55818         characters.  When rounding increased number of integer digits recompute
55819         number of groups.
55820         * stdio-common/tst-grouping.c: New file.
55821         * stdio-common/Makefile: Add rules to build and run tst-grouping.
55823 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
55825         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55826         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
55828         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55829         void.
55830         * bits/select.h: Likewise.
55832 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
55834         * po/ja.po: Update from translation team.
55836 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
55838         [BZ #11155]
55839         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55840         implementation just like for lxstat, fxstatat, et al.
55842 2010-12-27  Jim Meyering  <meyering@redhat.com>
55844         [BZ #12348]
55845         * posix/regexec.c (build_trtable): Return failure indication upon
55846         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
55848 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
55850         [BZ #12201]
55851         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55852         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55853         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55854         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55856         [BZ #12207]
55857         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55859         [BZ #12204]
55860         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55861         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55863 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
55865         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55866         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55867         script has SORT_BY_INIT_PRIORITY.
55868         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55869         NO_CTORS_DTORS_SECTIONS is defined.
55870         * elf/soinit.c: Likewise.
55871         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55872         NO_CTORS_DTORS_SECTIONS is defined.
55873         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55874         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55875         * sysdeps/sh/init-first.c: Likewise.
55876         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55878 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
55880         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55881         always use the slow path.
55883 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
55885         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55886         similar rule which adds the sysdep directories to the header search in
55887         order to pick up the correct platform stackinfo.h.
55888         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55889         perform test if it is, otherwise return successfully without testing.
55890         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55891         DEFAULT_STACK_PERMS define in stackinfo.h.
55892         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55893         defined in stackinfo.h.
55894         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55895         DEFAULT_STACK_PERMS defined in stackinfo.h.
55896         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55897         * sysdeps/ia64/stackinfo.h: Likewise.
55898         * sysdeps/s390/stackinfo.h: Likewise.
55899         * sysdeps/sh/stackinfo.h: Likewise.
55900         * sysdeps/sparc/stackinfo.h: Likewise.
55901         * sysdeps/x86_64/stackinfo.h: Likewise.
55902         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55903         PF_X for powerpc64.  Retain PF_X for powerpc32.
55905 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
55907         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55908         accurately.
55909         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55910         GETDENTS_64BIT_ALIGNED.
55912 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
55914         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55916 2010-12-10  Andreas Schwab  <schwab@redhat.com>
55918         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55919         _GNU_SOURCE.
55921         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55922         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55923         Remove __restrict.
55924         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55925         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55927 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
55929         [BZ #11655]
55930         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55931         are initialized.
55933 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
55935         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55937 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
55939         * po/it.po: Update from translation team.
55941 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
55943         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55944         unused codes.
55946 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
55948         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55950 2010-11-24  Andreas Schwab  <schwab@redhat.com>
55952         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55953         specially.
55954         (gaih_getanswer_slice): Likewise.
55956 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
55958         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55960 2010-05-31  Petr Baudis  <pasky@suse.cz>
55962         [BZ #11149]
55963         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55964         silently even in the chroot mode.
55966 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
55968         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55969         last patch a bit.  Pretty printing
55971 2010-05-31  Petr Baudis <pasky@suse.cz>
55973         [BZ #10085]
55974         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55975         initialization of skip_initgroups_dyn.
55977 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
55979         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55980         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55982 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55984         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55986 2010-11-11  Andreas Schwab  <schwab@redhat.com>
55988         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55989         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55990         (tst-fnmatch-ENV): Set MALLOC_TRACE.
55991         ($(objpfx)tst-fnmatch-mem): New rule.
55992         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55993         * posix/tst-fnmatch.c (main): Call mtrace.
55995 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
55997         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55998         Support Intel processor model 6 and model 0x2c.
56000 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
56002         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56003           signed comparison.
56005 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
56007         [BZ #12205]
56008         * string/test-strncasecmp.c (check_result): New function.
56009         (do_one_test): Use it.
56010         (check1): New function.
56011         (test_main): Use it.
56012         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56013         Support strcasecmp and strncasecmp.
56015 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
56017         [BZ #12194]
56018         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56019         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56021 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56023         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56024         IFUNC support.
56025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56026         memset-x86-64.
56027         * sysdeps/x86_64/multiarch/bzero.S: New file.
56028         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56029         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56030         * sysdeps/x86_64/multiarch/memset.S: New file.
56031         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56033         Set bit_Prefer_SSE_for_memop for Intel processors.
56034         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56035         Define.
56036         (index_Prefer_SSE_for_memop): Define.
56037         (HAS_PREFER_SSE_FOR_MEMOP): Define.
56039 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
56041         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56042         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56044 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
56046         [BZ #12191]
56047         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56048         (__x86_64_raw_data_cache_size_half): Likewise.
56049         (__x86_64_raw_shared_cache_size): Likewise.
56050         (__x86_64_raw_shared_cache_size_half): Likewise.
56052         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56053         (__x86_64_raw_data_cache_size_half): Likewise.
56054         (__x86_64_raw_shared_cache_size): Likewise.
56055         (__x86_64_raw_shared_cache_size_half): Likewise.
56056         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56057         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56058         and __x86_64_raw_shared_cache_size_half.  Round
56059         __x86_64_data_cache_size_half, __x86_64_data_cache_size
56060         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56061         to multiple of 256 bytes.
56063 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
56065         [BZ #12167]
56066         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56067         of inacessible symlinks.  Verify result of symlink before returning it.
56068         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56069         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56071 2010-10-28  Erich Ritz  <erichritz@gmail.com>
56073         * math/math.h (isinf): Fix typo in comment.
56075 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
56077         * po/da.po: Update from translation team.
56079 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
56081         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56082         is added to the list.
56084 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56085             Ulrich Drepper  <drepper@gmail.com>
56087         * elf/dl-object.c (_dl_new_object): Don't append the new object to
56088         the global list here.  Move code to...
56089         (_dl_add_to_namespace_list): ...here.  New function.
56090         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56091         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56092         * elf/dl-load.c (lose): Don't remove the element from the list.
56093         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56094         (_dl_map_object): Likewise.
56096 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
56098         [BZ #12159]
56099         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56100         into all bytes of SSE register.
56101         Patch by Richard Li <richardpku@gmail.com>.
56103 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
56105         [BZ #12140]
56106         * malloc/malloc.c (_int_free): Fill correct number of bytes when
56107         perturbing.
56109 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
56111         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56112         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56113         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56114         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56116         submachine.
56117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56119 2010-10-22  Andreas Schwab  <schwab@redhat.com>
56121         * include/dlfcn.h (__RTLD_SECURE): Define.
56122         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
56123         mode & __RTLD_SECURE instead.
56124         (open_path): Rename preloaded parameter to secure.
56125         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56126         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56127         * elf/dl-deps.c (openaux): Likewise.
56128         * elf/rtld.c (struct map_args): Remove is_preloaded.
56129         (map_doit): Don't use it.
56130         (dl_main): Likewise.
56131         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56132         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56134 2010-09-09  Andreas Schwab  <schwab@redhat.com>
56136         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56137         (sysd-rules-targets): Remove duplicates.
56138         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56139         rtld-%.$o dependency.
56141 2010-10-18  Andreas Schwab  <schwab@redhat.com>
56143         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56144         _dl_map_object do it.
56146 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
56148         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56149         fast fma builtins, define the macros in the C99 standard.
56150         (FP_FAST_FMAF): Likewise.
56151         (FP_FAST_FMAL): Likewise.
56152         * sysdeps/x86_64/bits/mathdef.h: Likewise.
56154         * bits/mathdef.h: Update copyright year.
56155         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56157 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
56159         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56160         builtins, define the macros in the C99 standard.
56161         (FP_FAST_FMAF): Likewise.
56162         (FP_FAST_FMAL): Likewise.
56163         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56164         multiply/add.
56165         (FP_FAST_FMAF): Likewise.
56167 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
56169         [BZ #3268]
56170         * math/libm-test.inc (fma_test): Some new testcases.
56171         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56172         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56173         y and infinite z.  Do multiplication by C already in long double.
56174         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56175         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56176         y and infinite z.  Do bitwise or of inexact bit into u.d.
56177         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56178         * sysdeps/i386/fpu/s_fmaf.S: Removed.
56179         * sysdeps/i386/fpu/s_fma.S: Removed.
56180         * sysdeps/i386/fpu/s_fmal.S: Removed.
56182 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
56184         [BZ #3268]
56185         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56186         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56187         computation is not scheduled after fetestexcept.  Fix value
56188         of minimum denormal long double.
56190 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
56192         [BZ #3268]
56193         * math/libm-test.inc (fma_test): Add some more tests.
56194         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56195         correctly.
56197 2010-10-15  Andreas Schwab  <schwab@redhat.com>
56199         * scripts/data/localplt-s390-linux-gnu.data: New file.
56200         * scripts/data/localplt-s390x-linux-gnu.data: New file.
56202 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
56204         [BZ #3268]
56205         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56206         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56207         instead of dbl-64.
56208         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56209         inlines.
56210         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56212         if one of x and y is very large and the other is subnormal.
56213         * sysdeps/s390/fpu/s_fmaf.c: New file.
56214         * sysdeps/s390/fpu/s_fma.c: New file.
56215         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56216         * sysdeps/powerpc/fpu/s_fma.S: New file.
56217         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56218         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56219         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56221 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
56223         [BZ #3268]
56224         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56225         fma tests.
56226         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56227         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56228         * sysdeps/i386/i686/multiarch/s_fma.c: Include
56229         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56230         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56231         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56232         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56234 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
56236         [BZ #12078]
56237         * posix/regcomp.c (parse_branch): One more memory leak plugged.
56238         * posix/bug-regex31.input: Add test case.
56240 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
56242         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56243         * posix/bug-regex31.input: New file.
56245         [BZ #12078]
56246         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56247         (parse_sub_exp): Fix last change, use postorder.
56249         * posix/bug-regex31.c: New file.
56250         * posix/Makefile: Add rules to build and run bug-regex31.
56252         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56254         [BZ #12078]
56255         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56257         [BZ #12108]
56258         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56259         to have entries in sys_siglist.
56261         [BZ #12093]
56262         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56263         be NULL.
56265 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
56267         [BZ #3268]
56268         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56269         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56270         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56271         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56272         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56273         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56274         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56275         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56276         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56277         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56278         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56279         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56280         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56281         * math/ftestexcept.c (fetestexcept): Likewise.
56282         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56283         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56284         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56285         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56286         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56287         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56288         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56290 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
56292         [BZ #12107]
56293         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56294         newline.
56296 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
56298         * string/bug-strstr1.c: New file.
56299         * string/Makefile: Add rules to build and run bug-strstr1.
56301 2010-10-05  Eric Blake  <eblake@redhat.com>
56303         [BZ #12092]
56304         * string/str-two-way.h (two_way_long_needle): Always clear memory
56305         when skipping input due to the shift table.
56307 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
56309         [BZ #12005]
56310         * malloc/mcheck.c: Handle large requests.
56312         [BZ #12077]
56313         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56314         for strncmp and strncasecmp.
56315         * string/stratcliff.c: Add tests for strcmp and strncmp.
56316         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56318 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56320         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56321         __set_fpscr.
56323 2010-09-30  Andreas Jaeger  <aj@suse.de>
56325         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56326         (CGROUP_SUPER_MAGIC): Define.
56327         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56328         Handle btrfs and cgroup file systems.
56329         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56330         Likewise.
56332 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
56334         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56335         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56337 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56339         [BZ #12067]
56340         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56341         trying to locate the ELF header.
56343 2010-09-27  Andreas Schwab  <schwab@redhat.com>
56345         [BZ #11611]
56346         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56347         Mask out sign-bit copies when constructing f_fsid.
56349 2010-09-24  Petr Baudis <pasky@suse.cz>
56351         * debug/stack_chk_fail_local.c: Add missing licence exception.
56352         * debug/warning-nop.c: Likewise.
56354 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
56356         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56357         implementing getdents64 using getdents syscall, set d_type if
56358         __ASSUME_GETDENTS32_D_TYPE.
56360 2010-09-16  Andreas Schwab  <schwab@redhat.com>
56362         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56363         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56365 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
56367         [BZ #12037]
56368         * posix/unistd.h: Undo change of feature selection for ftruncate from
56369         2010-01-11.
56371 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
56373         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56374         detection.
56376 2010-09-20  Andreas Schwab  <schwab@redhat.com>
56378         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56379         fanotify_mark.
56380         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56382 2010-09-14  Andreas Schwab  <schwab@redhat.com>
56384         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56385         variables after CHECK_SP call.
56386         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56388 2010-09-13  Andreas Schwab  <schwab@redhat.com>
56389             Ulrich Drepper  <drepper@redhat.com>
56391         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56392         re-relocationg ld.so.
56393         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56394         _dl_init_paths call.
56395         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
56396         here anymore.
56398 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
56400         * resolv/res_init.c (__res_vinit): Count the default server we added.
56402 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
56403             Ulrich Drepper  <drepper@redhat.com>
56405         [BZ #11968]
56406         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56407         (____longjmp_chk): Use %ebx for saving value across system call.
56408         Add unwind info.
56410 2010-09-06  Andreas Schwab  <schwab@redhat.com>
56412         * manual/Makefile: Don't mix pattern rules with normal rules.
56414 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56416         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56417         operation.
56418         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56419         * libio/iofopncook.c (_IO_cookie_init): Likewise.
56420         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56421         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56422         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56423         Likewise.
56425 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
56427         [BZ #11979]
56428         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56429         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56431 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
56433         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56434         * sysdeps/x86_64/addmul_1.S: Likewise.
56435         * sysdeps/x86_64/lshift.S: Likewise.
56436         * sysdeps/x86_64/mul_1.S: Likewise.
56437         * sysdeps/x86_64/rshift.S: Likewise.
56438         * sysdeps/x86_64/sub_n.S: Likewise.
56439         * sysdeps/x86_64/submul_1.S: Likewise.
56441 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56443         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56444         Define __sched_param instead of SCHED_* and sched_param when
56445         <bits/sched.h> is included with __need_schedparam defined.
56446         * bits/sched.h [__need_schedparam]
56447         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56448         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56449         (__defined_schedparam): Define to 1.
56450         (__sched_param): New structure, identical to sched_param.
56451         (__need_schedparam): Undefine.
56453 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
56455         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56456         (epoll_create1): Declare.
56458         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56460 2010-08-31  Andreas Schwab  <schwab@redhat.com>
56462         [BZ #7066]
56463         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56464         shifting retval into place.
56466 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
56468         * nis/rpcsvc/nis.h: Update copyright notice.
56469         * nis/rpcsvc/nis.x: Likewise.
56470         * nis/rpcsvc/nis_callback.h: Likewise.
56471         * nis/rpcsvc/nis_callback.x: Likewise.
56472         * nis/rpcsvc/nis_object.x: Likewise.
56473         * nis/rpcsvc/nis_tags.h: Likewise.
56474         * nis/rpcsvc/yp.h: Likewise.
56475         * nis/rpcsvc/yp.x: Likewise.
56476         * nis/rpcsvc/ypupd.h: Likewise.
56477         * nis/yp_xdr.c: Likewise.
56478         * nis/ypupdate_xdr.c: Likewise.
56480         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
56481         mainly the body of pmap_getport.  Add parameters to specify timeouts.
56482         (pmap_getport): Use __libc_rpc_getport.
56483         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56484         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56485         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56487 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
56489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56490         fanotify_mark.
56492 2010-08-27  Roland McGrath  <roland@redhat.com>
56494         * sysdeps/i386/i686/multiarch/Makefile
56495         (CFLAGS-varshift.c): New variable.
56497 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
56499         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56500         * sysdeps/i386/i686/multiarch/varshift.c: New file.
56502         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56504         * sysdeps/x86_64/strlen.S: Minimal code improvement.
56506 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
56508         * sysdeps/x86_64/strlen.S: Unroll the loop.
56509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56510         strlen-sse2 strlen-sse2-bsf.
56511         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56512         __strlen_no_bsf if bit_Slow_BSF is set.
56513         (__strlen_sse42): Removed.
56514         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56515         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56517 2010-08-25  Roland McGrath  <roland@redhat.com>
56519         * sysdeps/x86_64/multiarch/varshift.S: File removed.
56520         * sysdeps/x86_64/multiarch/varshift.c: New file.
56521         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56522         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56523         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56524         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56526 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
56528         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56529         strlen-sse2 strlen-sse2-bsf.
56530         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56531         __strlen_sse2_bsf if bit_Slow_BSF is unset.
56532         (__strlen_sse2): Removed.
56533         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56534         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56535         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56536         bit_Slow_BSF for Atom.
56537         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56538         (index_Slow_BSF): Define.
56539         (HAS_SLOW_BSF): Define.
56541 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
56543         [BZ #10851]
56544         * resolv/res_init.c (__res_vinit): When no server address at all
56545         is given default to loopback.
56547 2010-08-24  Roland McGrath  <roland@redhat.com>
56549         * configure.in: Remove config-name.h generation.
56550         * configure: Regenerated.
56551         * config-name.in: File removed.
56552         * scripts/config-uname.sh: New file.
56553         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56554         ($(objdir)config-name.h): New target.
56556         * sunrpc/rpc_parse.h: Avoid nested comment.
56558 2010-08-24  Richard Henderson  <rth@redhat.com>
56559             Ulrich Drepper  <drepper@redhat.com>
56560             H.J. Lu  <hongjiu.lu@intel.com>
56562         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56564         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56565         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
56566         _mm_alignr_epi8 with _mm_loadu_si128.
56567         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56568         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56569         (__m128i_shift_right): Removed.
56570         * sysdeps/i386/i686/multiarch/varshift.h: New file.
56571         * sysdeps/i386/i686/multiarch/varshift.S: New file.
56572         * sysdeps/x86_64/multiarch/varshift.h: New file.
56573         * sysdeps/x86_64/multiarch/varshift.S: New file.
56575 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
56577         * configure.in: Move assembler checks to before sysdep dir checking.
56579 2010-08-20  Petr Baudis  <pasky@suse.cz>
56581         * LICENSES: Sync the sunrpc license.
56583 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
56585         * sunrpc/auth_des.c: Update copyright notice once again.
56586         * sunrpc/auth_none.c: Likewise.
56587         * sunrpc/auth_unix.c: Likewise.
56588         * sunrpc/authdes_prot.c: Likewise.
56589         * sunrpc/authuxprot.c: Likewise.
56590         * sunrpc/bindrsvprt.c: Likewise.
56591         * sunrpc/clnt_gen.c: Likewise.
56592         * sunrpc/clnt_perr.c: Likewise.
56593         * sunrpc/clnt_raw.c: Likewise.
56594         * sunrpc/clnt_simp.c: Likewise.
56595         * sunrpc/clnt_tcp.c: Likewise.
56596         * sunrpc/clnt_udp.c: Likewise.
56597         * sunrpc/clnt_unix.c: Likewise.
56598         * sunrpc/des_crypt.c: Likewise.
56599         * sunrpc/des_soft.c: Likewise.
56600         * sunrpc/get_myaddr.c: Likewise.
56601         * sunrpc/getrpcport.c: Likewise.
56602         * sunrpc/key_call.c: Likewise.
56603         * sunrpc/key_prot.c: Likewise.
56604         * sunrpc/openchild.c: Likewise.
56605         * sunrpc/pm_getmaps.c: Likewise.
56606         * sunrpc/pm_getport.c: Likewise.
56607         * sunrpc/pmap_clnt.c: Likewise.
56608         * sunrpc/pmap_prot.c: Likewise.
56609         * sunrpc/pmap_prot2.c: Likewise.
56610         * sunrpc/pmap_rmt.c: Likewise.
56611         * sunrpc/rpc/auth.h: Likewise.
56612         * sunrpc/rpc/auth_unix.h: Likewise.
56613         * sunrpc/rpc/clnt.h: Likewise.
56614         * sunrpc/rpc/des_crypt.h: Likewise.
56615         * sunrpc/rpc/key_prot.h: Likewise.
56616         * sunrpc/rpc/netdb.h: Likewise.
56617         * sunrpc/rpc/pmap_clnt.h: Likewise.
56618         * sunrpc/rpc/pmap_prot.h: Likewise.
56619         * sunrpc/rpc/pmap_rmt.h: Likewise.
56620         * sunrpc/rpc/rpc.h: Likewise.
56621         * sunrpc/rpc/rpc_des.h: Likewise.
56622         * sunrpc/rpc/rpc_msg.h: Likewise.
56623         * sunrpc/rpc/svc.h: Likewise.
56624         * sunrpc/rpc/svc_auth.h: Likewise.
56625         * sunrpc/rpc/types.h: Likewise.
56626         * sunrpc/rpc/xdr.h: Likewise.
56627         * sunrpc/rpc_clntout.c: Likewise.
56628         * sunrpc/rpc_cmsg.c: Likewise.
56629         * sunrpc/rpc_common.c: Likewise.
56630         * sunrpc/rpc_cout.c: Likewise.
56631         * sunrpc/rpc_dtable.c: Likewise.
56632         * sunrpc/rpc_hout.c: Likewise.
56633         * sunrpc/rpc_main.c: Likewise.
56634         * sunrpc/rpc_parse.c: Likewise.
56635         * sunrpc/rpc_parse.h: Likewise.
56636         * sunrpc/rpc_prot.c: Likewise.
56637         * sunrpc/rpc_sample.c: Likewise.
56638         * sunrpc/rpc_scan.c: Likewise.
56639         * sunrpc/rpc_scan.h: Likewise.
56640         * sunrpc/rpc_svcout.c: Likewise.
56641         * sunrpc/rpc_tblout.c: Likewise.
56642         * sunrpc/rpc_util.c: Likewise.
56643         * sunrpc/rpc_util.h: Likewise.
56644         * sunrpc/rpcinfo.c: Likewise.
56645         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56646         * sunrpc/rpcsvc/key_prot.x: Likewise.
56647         * sunrpc/rpcsvc/klm_prot.x: Likewise.
56648         * sunrpc/rpcsvc/mount.x: Likewise.
56649         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56650         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56651         * sunrpc/rpcsvc/rex.x: Likewise.
56652         * sunrpc/rpcsvc/rstat.x: Likewise.
56653         * sunrpc/rpcsvc/rusers.x: Likewise.
56654         * sunrpc/rpcsvc/sm_inter.x: Likewise.
56655         * sunrpc/rpcsvc/spray.x: Likewise.
56656         * sunrpc/rpcsvc/yppasswd.x: Likewise.
56657         * sunrpc/rtime.c: Likewise.
56658         * sunrpc/svc.c: Likewise.
56659         * sunrpc/svc_auth.c: Likewise.
56660         * sunrpc/svc_authux.c: Likewise.
56661         * sunrpc/svc_raw.c: Likewise.
56662         * sunrpc/svc_run.c: Likewise.
56663         * sunrpc/svc_simple.c: Likewise.
56664         * sunrpc/svc_tcp.c: Likewise.
56665         * sunrpc/svc_udp.c: Likewise.
56666         * sunrpc/svc_unix.c: Likewise.
56667         * sunrpc/svcauth_des.c: Likewise.
56668         * sunrpc/xcrypt.c: Likewise.
56669         * sunrpc/xdr.c: Likewise.
56670         * sunrpc/xdr_array.c: Likewise.
56671         * sunrpc/xdr_float.c: Likewise.
56672         * sunrpc/xdr_mem.c: Likewise.
56673         * sunrpc/xdr_rec.c: Likewise.
56674         * sunrpc/xdr_ref.c: Likewise.
56675         * sunrpc/xdr_sizeof.c: Likewise.
56676         * sunrpc/xdr_stdio.c: Likewise.
56678         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56679         handling.
56681 2010-08-19  Andreas Schwab  <schwab@redhat.com>
56683         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56685 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
56687         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56688         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56689         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56690         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56691         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56692         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56693         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56694         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56695         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56696         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56697         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56698         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56699         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56700         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56702 2010-07-26  Anton Blanchard  <anton@samba.org>
56704         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56705         * malloc/arena.c (heap_trim): Likewise.
56707 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
56709         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56710         here.  Not...
56711         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56712         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56714 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
56716         * sysdeps/i386/elf/Makefile: New file.
56718 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56720         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56721         from fanotify_init.
56722         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56723         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56725 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
56727         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56728         of strncasecmp_l.
56729         * sysdeps/multiarch/strcmp.S: Likewise.
56731 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
56733         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56734         strncase_l-nonascii.
56735         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56736         Add strncase_l-ssse3.
56737         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56738         * sysdeps/x86_64/strcmp.S: Likewise.
56739         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56740         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56741         * sysdeps/x86_64/strncase.S: New file.
56742         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56743         * sysdeps/x86_64/strncase_l.S: New file.
56744         * string/Makefile (strop-tests): Add strncasecmp.
56745         * string/test-strncasecmp.c: New file.
56747         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56748         warning.
56750         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56751         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56753 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56755         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56757 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
56759         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56760         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56761         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56763 2010-05-01  Alan Modra  <amodra@gmail.com>
56765         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56766         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56767         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56768         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56769         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56770         tidying.  Don't tail-call __sigjmp_save for static lib.
56771         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56772         save location.
56773         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56774         (CALL_MCOUNT): Add eh info, and nop after bl.
56775         (TAIL_CALL_SYSCALL_ERROR): New macro.
56776         (PSEUDO_RET): Use it.
56777         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56778         Correct save location of integer regs and cr.
56779         (_dl_profile_resolve): Correct cr save location.  Delete nops
56780         after bl when SHARED.  Reduce cfi size a little by better
56781         placement of cfi directives.
56782         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56783         make a stack frame.  Instead use parm save area as a temp.
56784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56785         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
56786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56787         Don't make a stack frame for parent, use parm save area.
56788         Increase child stack frame to 112 bytes.  Don't save unused reg,
56789         and adjust reg usage.  Set up cfi on error recovery and
56790         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56792         (__makecontext): Add dummy nop after jump to exit.
56793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56794         Use correct parm save area and cr save, reduce stack frame.
56795         Correct cfi for possible PSEUDO_RET frame setup.
56796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56797         Branch to local label emitted by PSEUDO_RET rather than
56798         __syscall_error.
56800 2010-08-12  Andreas Schwab  <schwab@redhat.com>
56802         [BZ #11904]
56803         * locale/programs/locale.c (print_assignment): New function.
56804         (show_locale_vars): Use it.
56806 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
56808         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56809         field.
56810         (struct statfs64): Likewise.
56811         (_STATFS_F_FLAGS): Define.
56812         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56813         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56814         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56815         (ST_VALID): Define locally.
56816         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56817         __statvfs_getflags, use the provided value.
56818         * sysdeps/unix/sysv/linux/kernel-features.h: Define
56819         __ASSUME_STATFS_F_FLAGS.
56821         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56823         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56824         Add sys/fanotify.h.
56825         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56826         fanotify_mask for GLIBC_2.13.
56827         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56828         fanotify_init and fanotify_mark.
56829         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56830         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56832         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56833         Add prlimit.
56834         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56835         prlimit64 for GLIBC_2.13.
56836         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56837         prlimit64.
56838         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56839         syscall.
56840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56841         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56842         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56843         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56844         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
56845         add prlimit alias.
56846         * sysdeps/unix/sysv/linux/prlimit.c: New file.
56848         [BZ #11903]
56849         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56850         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56852         * nss/Makefile: Add rules to build and run tst-nss-test1.
56853         * shlib-versions: Add entry for libnss_test1.
56854         * nss/nss_test1.c: New file.
56855         * nss/tst-nss-test1.c: New file.
56857         * nss/nsswitch.c (__nss_database_custom): Define new variable.
56858         (__nss_configure_lookup): Set appropriate entry in
56859         __nss_configure_lookup to true.
56860         * nss/nsswitch.h: Define enum with indeces of databases in
56861         databases and __nss_database_custom arrays.  Declare
56862         __nss_database_custom.
56863         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56864         to avoid using nscd when custom rules are installed.
56865         * nss/getXXbyYY_r.c: Likewise.
56866         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56868         * nss/nss_files/files-parse.c: Whitespace fixes.
56870 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
56872         [BZ #11883]
56873         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56874         * posix/fnmatch_loop.c: Likewise.
56876 2010-07-17  Andi Kleen  <ak@linux.intel.com>
56878         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56879         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56880         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56881         * Versions.def [GLIBC_2.13]: Add.
56883 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
56885         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56886         Also fail if tpwd after pwuid call is NULL.
56888 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56890         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56891         when converting to ms.
56893 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56895         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56896         EOPNOTSUPP errors with ENOTTY.
56897         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56898         EOPNOTSUPP errors with ENOTTY.
56900 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
56902         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56903         Add strcasecmp_l-ssse3.
56904         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56905         strcasecmp.
56906         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56907         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56908         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56910 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
56912         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56914         * string/Makefile (strop-tests): Add strcasecmp.
56915         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56916         strcasecmp_l-nonascii.
56917         (gen-as-const-headers): Add locale-defines.sym.
56918         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56919         * sysdeps/x86_64/strcasecmp.S: New file.
56920         * sysdeps/x86_64/strcasecmp_l.S: New file.
56921         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56922         * sysdeps/x86_64/locale-defines.sym: New file.
56923         * string/test-strcasecmp.c: New file.
56925         * string/test-strcasestr.c: Test both ends of the range of characters.
56926         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56928 2010-07-29  Roland McGrath  <roland@redhat.com>
56930         [BZ #11856]
56931         * manual/locale.texi (Yes-or-No Questions): Fix example code.
56933 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
56935         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56936         for ld.so.
56938 2010-07-27  Andreas Schwab  <schwab@redhat.com>
56940         * manual/memory.texi (Malloc Tunable Parameters): Document
56941         M_PERTURB.
56943 2010-07-26  Roland McGrath  <roland@redhat.com>
56945         [BZ #11840]
56946         * configure.in (-fgnu89-inline check): Set and substitute
56947         gnu89_inline, not libc_cv_gnu89_inline.
56948         * configure: Regenerated.
56949         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56951 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
56953         * string/test-strnlen.c: New file.
56954         * string/Makefile (strop-tests): Add strnlen.
56955         * string/tester.c (test_strnlen): Add a few more test cases.
56956         * string/tst-strlen.c: Better error reporting.
56958         * sysdeps/x86_64/strnlen.S: New file.
56960 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
56962         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56963         lower-latency instructions.
56965 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
56967         * string/test-strcasestr.c: New file.
56968         * string/test-strstr.c: New file.
56969         * string/Makefile (strop-tests): Add strstr and strcasestr.
56970         * string/str-two-way.h: Don't undefine MAX.
56971         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56973 2010-07-21  Andreas Schwab  <schwab@redhat.com>
56975         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56976         strcasestr-nonascii.
56977         (CFLAGS-strcasestr-nonascii.c): Define.
56978         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56979         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56980         Remove unused attribute.
56982 2010-07-20  Roland McGrath  <roland@redhat.com>
56984         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56985         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
56986         ld.so.cache was broken.  With it, there is no way to disable dsocaps
56987         like LD_HWCAP_MASK can disable hwcaps.
56989 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56991         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56993 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
56995         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56996         call in strcasestr.
56997         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56998         __strcasestr_sse42_nonascii.
56999         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57000         strcasestr-nonascii.c.
57001         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57003 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
57005         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57006         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57007         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57008         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57010 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
57012         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57013         fcntl.
57015 2010-07-06  Andreas Schwab  <schwab@redhat.com>
57017         [BZ #11577]
57018         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57019         dl_signal_cerror.
57021 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
57023         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57024         _PC_PIPE_BUF using F_GETPIPE_SZ.
57026 2010-07-05  Roland McGrath  <roland@redhat.com>
57028         * manual/arith.texi (Rounding Functions): Fix rint description
57029         implicit in round description.
57031 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
57033         * elf/Makefile: Fix linking for a few tests to make recent linker
57034         happy.
57036 2010-06-30  Andreas Schwab  <schwab@redhat.com>
57038         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57039         $(common-objpfx)libc_nonshared.a.
57041 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
57043         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57044         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57045         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57046         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57047         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57048         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57049         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57050         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57065         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57066         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57067         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57068         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57069         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57070         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57071         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57072         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57073         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57074         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57075         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57076         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57092 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
57094         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57095         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
57096         * string/memmove.c (memmove): Renamed to ...
57097         (MEMMOVE): ...this.  Default to memmove.
57098         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57099         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57100         (END_CHK): Define.
57101         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57102         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57103         mempcpy-ssse3-back memmove-ssse3-back.
57104         * sysdeps/x86_64/multiarch/bcopy.S: New file .
57105         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57106         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57107         * sysdeps/x86_64/multiarch/memcpy.S: New file.
57108         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57109         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57110         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57111         * sysdeps/x86_64/multiarch/memmove.c: New file.
57112         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57113         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57114         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57115         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57116         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57117         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57118         Define.
57119         (index_Fast_Copy_Backward): Define.
57120         (HAS_ARCH_FEATURE): Define.
57121         (HAS_FAST_REP_STRING): Define.
57122         (HAS_FAST_COPY_BACKWARD): Define.
57124 2010-06-21  Andreas Schwab  <schwab@redhat.com>
57126         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57127         Restore proper fallback handling.
57129 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
57131         [BZ #11701]
57132         * posix/group_member.c (__group_member): Correct checking loop.
57134         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57135         OOM in getpwuid_r correctly.  Return error number when the caller
57136         should return, otherwise -1.
57137         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57138         call returning > 0 value.
57139         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57141 2010-06-07  Andreas Schwab  <schwab@redhat.com>
57143         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57144         libc_nonshared.a from targets in modules-names.
57146 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
57148         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57149         requires it.
57151 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
57153         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57154         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57155         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57156         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57158 2010-06-02  Andreas Schwab  <schwab@redhat.com>
57160         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57162 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
57164         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57165         and F_GETPIPE_SZ.
57166         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57167         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57168         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57169         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57170         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57171         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57173 2010-06-14  Roland McGrath  <roland@redhat.com>
57175         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57177 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
57179         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57180         __REDIRECT followed by __THROW.
57181         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57182         * posix/getopt.h (getopt): Likewise.
57184 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57186         * hurd/lookup-at.c (__file_name_lookup_at): Accept
57187         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
57188         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57189         in AT_FLAGS.
57190         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57191         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57193 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
57195         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57197 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
57199         [BZ #11640]
57200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57201         Properly check family and model.
57203 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
57205         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57207 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
57209         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57211 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
57213         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57214         symbol reference.
57216 2010-05-19  Andreas Schwab  <schwab@redhat.com>
57218         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57219         symbol reference.
57221 2010-05-21  Andreas Schwab  <schwab@redhat.com>
57223         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57224         and internal_recvmmsg.
57225         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57226         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57227         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57228         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57230         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57231         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57232         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57234 2010-05-20  Andreas Schwab  <schwab@redhat.com>
57236         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57238 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
57240         POWER7 optimizations.
57241         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57242         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57244 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
57246         * version.h: Update for 2.13 development version.
57248 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
57250         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57251         exceptions.  Return 0.
57253 2010-05-07  Roland McGrath  <roland@redhat.com>
57255         * elf/ldconfig.c (main): Add a const.
57257 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
57259         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57260         (args_options): Add no-idn option.
57261         (ahosts_keys_int): Add idn_flags to ai_flags.
57262         (parse_option): Handle 'i' option to clear idn_flags.
57264         * malloc/malloc.c (_int_free): Possible race in the most recently
57265         added check.  Only act on the data if no current modification
57266         happened.
57268 See ChangeLog.17 for earlier changes.